From owner-svn-ports-head@freebsd.org Mon Jul 16 12:56:57 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7CC5104F760; Mon, 16 Jul 2018 12:56:57 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 789098FC5F; Mon, 16 Jul 2018 12:56:57 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59A291CCE2; Mon, 16 Jul 2018 12:56:57 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6GCuvSq085347; Mon, 16 Jul 2018 12:56:57 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6GCuup6085344; Mon, 16 Jul 2018 12:56:56 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201807161256.w6GCuup6085344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Mon, 16 Jul 2018 12:56:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474735 - in head/sysutils/dupd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: in head/sysutils/dupd: . files X-SVN-Commit-Revision: 474735 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 12:56:58 -0000 Author: pizzamig Date: Mon Jul 16 12:56:56 2018 New Revision: 474735 URL: https://svnweb.freebsd.org/changeset/ports/474735 Log: sysutils/dupd: Update to version 1.6 PR: 226841 Submitted by: jyri@virkki.com Reviewed by: tom@hur.st (maintainer) Deleted: head/sysutils/dupd/files/patch-src_utils.h Modified: head/sysutils/dupd/Makefile head/sysutils/dupd/distinfo head/sysutils/dupd/files/patch-Makefile Modified: head/sysutils/dupd/Makefile ============================================================================== --- head/sysutils/dupd/Makefile Mon Jul 16 12:49:23 2018 (r474734) +++ head/sysutils/dupd/Makefile Mon Jul 16 12:56:56 2018 (r474735) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dupd -PORTVERSION= 1.4 +PORTVERSION= 1.6 CATEGORIES= sysutils MAINTAINER= tom@hur.st @@ -11,23 +11,21 @@ COMMENT= File duplicate detection CLI utility LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +NOT_FOR_ARCHS= arm armv6 armv7 i386 mips powerpc +NOT_FOR_ARCHS_REASON= test fails on large files on 32-bit + +USES= gmake perl5 ssl sqlite:3 +USE_PERL5= test + +TEST_DEPENDS+= bash:shells/bash + USE_GITHUB= yes GH_ACCOUNT= jvirkki -GH_PROJECT= libbloom:libbloom -GH_TAGNAME= v1.4:libbloom -USES= gmake ssl sqlite:3 -LLD_UNSAFE= yes +ALL_TARGET= dupd +TEST_TARGET= test PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz - -MAKE_ARGS= LIB="-L${PREFIX}/lib" INC="-I${WRKSRC_libbloom} -I${PREFIX}/include" \ - LIBBLOOM_LIB="${WRKSRC_libbloom}/build" USAGE="${WRKSRC}/build/usage.o" \ - DIRENT_HAS_TYPE=1 GITHASH=c25a635e1d27ebf5759875a7ff907d8eec7f5be9 - -do-build: - (cd ${WRKSRC_libbloom} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${WRKSRC_libbloom}/build/libbloom.a MM=-DGRR) - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin Modified: head/sysutils/dupd/distinfo ============================================================================== --- head/sysutils/dupd/distinfo Mon Jul 16 12:49:23 2018 (r474734) +++ head/sysutils/dupd/distinfo Mon Jul 16 12:56:56 2018 (r474735) @@ -1,5 +1,3 @@ -TIMESTAMP = 1491411043 -SHA256 (jvirkki-dupd-1.4_GH0.tar.gz) = be98c8fe60bdcc281898930b2604a1b97570de611fecc02732af4a81329438d3 -SIZE (jvirkki-dupd-1.4_GH0.tar.gz) = 953654 -SHA256 (jvirkki-libbloom-v1.4_GH0.tar.gz) = 3df57d14c56f4a16a26d04b83891df844caa4b06d9b19f822d10c3c26f31311b -SIZE (jvirkki-libbloom-v1.4_GH0.tar.gz) = 1209355 +TIMESTAMP = 1523215351 +SHA256 (jvirkki-dupd-1.6_GH0.tar.gz) = 68bce4d5ac0b8a00ac50da65634950eb46fb11a571e546fb543fc6c6bf6b79da +SIZE (jvirkki-dupd-1.6_GH0.tar.gz) = 973621 Modified: head/sysutils/dupd/files/patch-Makefile ============================================================================== --- head/sysutils/dupd/files/patch-Makefile Mon Jul 16 12:49:23 2018 (r474734) +++ head/sysutils/dupd/files/patch-Makefile Mon Jul 16 12:56:56 2018 (r474735) @@ -1,19 +1,39 @@ ---- Makefile.orig 2017-02-26 10:05:09 UTC +--- Makefile.orig 2018-03-21 18:56:42 UTC +++ Makefile -@@ -20,7 +20,6 @@ - TOP:=$(shell pwd) +@@ -21,7 +21,7 @@ TOP:=$(shell pwd) BUILD_OS:=$(shell uname) + BUILD_MACHINE:=$(shell uname -m) VERSION:=$(shell cat version) -GITHASH:=$(shell git rev-parse HEAD) ++GITHASH:= OPTGEN:=$(shell which optgen | head -c1) ifeq ($(LCOV_OUTPUT_DIR),) -@@ -98,7 +97,7 @@ $(BUILD)/%.o: src/%.c src/%.h - -c $< -o $@ +@@ -66,14 +66,12 @@ USAGE=$(BUILD)/usage.o + USAGE_ARCH=-O elf64-x86-64 -B i386 + endif - $(BUILD)/usage.o: man/dupd -- $(OBJCP) -I binary $(USAGE_ARCH) man/dupd $(BUILD)/usage.o -+ ld -r -b binary -o $(BUILD)/usage.o man/dupd +-ifeq ($(BUILD_OS),FreeBSD) +-INC+=-I/usr/local/include +-LIB+=-L/usr/local/lib ++INC+=-I${PREFIX}/include ++LIB+=-L${PREFIX}/lib + OBJCP=objcopy +-CFLAGS=-m64 -DDIRENT_HAS_TYPE +-USAGE=$(BUILD)/usage.o ++CFLAGS+=-DDIRENT_HAS_TYPE -D_FILE_OFFSET_BITS=64 ++USAGE= + USAGE_ARCH=-O elf64-x86-64 -B i386 +-endif - clean: - rm -f dupd + ifeq ($(BUILD_OS),SunOS) + CC=gcc +@@ -92,7 +90,7 @@ endif + ifeq ($(DEBUG),1) + OPT=-g $(DEBUGOPT) + else +-OPT=-O3 ++#OPT=-O3 + endif + +