From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 11 12:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64F22FA for ; Sun, 11 May 2014 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E765201A for ; Sun, 11 May 2014 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4BCo1ui008577 for ; Sun, 11 May 2014 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4BCo19t008576; Sun, 11 May 2014 12:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 11 May 2014 12:50:01 GMT Resent-Message-Id: <201405111250.s4BCo19t008576@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jens Schweikhardt Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3754DF65 for ; Sun, 11 May 2014 12:45:28 +0000 (UTC) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED447200A for ; Sun, 11 May 2014 12:45:27 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 5E50458002; Sun, 11 May 2014 14:45:24 +0200 (CEST) Received: from hal9k.schweikhardt.net (localhost [127.0.0.1]) by hal9k.schweikhardt.net (8.14.8/8.14.8) with ESMTP id s4BCjEHV029898 for ; Sun, 11 May 2014 14:45:14 +0200 (CEST) (envelope-from schweikh@hal9k.schweikhardt.net) Received: (from schweikh@localhost) by hal9k.schweikhardt.net (8.14.8/8.14.8/Submit) id s4BCjEwx029897; Sun, 11 May 2014 14:45:14 +0200 (CEST) (envelope-from schweikh) Message-Id: <201405111245.s4BCjEwx029897@hal9k.schweikhardt.net> Date: Sun, 11 May 2014 14:45:14 +0200 (CEST) From: Jens Schweikhardt Reply-To: Jens Schweikhardt To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/189662: Staging support for sysutils/samefile, shar inside X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 12:50:01 -0000 >Number: 189662 >Category: ports >Synopsis: Staging support for sysutils/samefile, shar inside >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 11 12:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jens Schweikhardt >Release: FreeBSD 10.0-STABLE amd64 >Organization: Digital Details >Environment: System: FreeBSD hal9k.schweikhardt.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r264981: Sat Apr 26 21:44:18 CEST 2014 toor@hal9k.schweikhardt.net:/home/root/FreeBSD/stable/10/obj/home/root/FreeBSD/stable/10/src/sys/HAL9000 amd64 >Description: Add staging support for sysutils/samefile. Tested with env DEVELOPER=yes make stage && make check-plist && make package Feel free to fix minor issues. If there's still a problem please let me know. Jens >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # samefile/Makefile # samefile/distinfo # samefile/pkg-descr # samefile/pkg-plist # echo x - samefile/Makefile sed 's/^X//' >samefile/Makefile << 'ffdf9b386d0c0e33a818bda6fc9202b8' X# $FreeBSD: head/sysutils/samefile/Makefile 340722 2014-01-22 17:00:46Z mat $ X XPORTNAME= samefile XPORTVERSION= 2.15 XCATEGORIES= sysutils XMASTER_SITES= http://www.schweikhardt.net/ X XMAINTAINER= schweikh@FreeBSD.org XCOMMENT= Find files with identical contents X XCONFLICTS= samesame-[0-9]* X XGNU_CONFIGURE= yes X XCFLAGS+= -ansi -pedantic -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long X Xpost-build: X @${ECHO_MSG} " >>>> <<<<" X @${ECHO_MSG} " >>>> Running the test suite <<<<" X @${ECHO_MSG} " >>>> <<<<" X cd ${WRKSRC}; ${MAKE} test X Xpost-install: X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/samefile X X.include ffdf9b386d0c0e33a818bda6fc9202b8 echo x - samefile/distinfo sed 's/^X//' >samefile/distinfo << 'b12c13f6248d56ed685659d1b421ca3b' XSHA256 (samefile-2.15.tar.gz) = 26d322e3445ff7273867332311c33a90c8ef037cbd6b19d9468e1742833ea4b6 XSIZE (samefile-2.15.tar.gz) = 66804 b12c13f6248d56ed685659d1b421ca3b echo x - samefile/pkg-descr sed 's/^X//' >samefile/pkg-descr << '6017e84f052586c11e41e3f24c5cb2d0' XThe samefile program finds files with identical contents (independent of Xfile name). Typical usage would be X X find / -print | samefile X Xturning up megabytes of wasted disk space due to duplicates. Try it, Xyou'll be baffled. X XWWW: http://www.schweikhardt.net/samefile/ 6017e84f052586c11e41e3f24c5cb2d0 echo x - samefile/pkg-plist sed 's/^X//' >samefile/pkg-plist << '9da93f5d321e9e6be2089315f7a8cfe3' Xbin/samefile Xman/man1/samefile.1.gz 9da93f5d321e9e6be2089315f7a8cfe3 exit >Release-Note: >Audit-Trail: >Unformatted: