Date: Sun, 6 Sep 2009 23:30:59 +0200 (CEST) From: Alex de Kruijff <samesame@akruijff.dds.nl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Alex de Kruijff <samesame@akruijff.dds.nl> Subject: ports/138590: [MAINTAINER] sysutils/samesame update to 1.5 Message-ID: <200909062130.n86LUxOt006551@Server1.lan> Resent-Message-ID: <200909062140.n86Le2tu058550@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138590 >Category: ports >Synopsis: [MAINTAINER] sysutils/samesame update to 1.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Sep 06 21:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex de Kruijff >Release: >Organization: >Environment: >Description: -Tool samelink renamed to sameln -New tools samecp, samemv, samerm -Fixed regression test, added a patch file for if/when it fails. >How-To-Repeat: >Fix: --- Makefile.diff begins here --- --- Makefile.orig Sun Aug 23 22:07:11 2009 +++ Makefile Sun Sep 6 21:24:09 2009 @@ -5,7 +5,7 @@ # $FreeBSD: ports/sysutils/samesame/Makefile,v 1.9 2009/08/22 20:41:01 miwi Exp $ PORTNAME= samesame -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= sysutils MASTER_SITES= http://samesame.kruijff.org/ \ ${MASTER_SITE_LOCAL} @@ -16,12 +16,13 @@ CONFLICTS= samefile-[0-9]* -MAN1= samearchive.1 samearchive-lite.1 samefile.1 samelink.1 +MAN1= samesame.1 samearchive.1 samearchive-lite.1 samefile.1 sameln.1 \ + samecp.1 samemv.1 samerm.1 MANCOMPRESSED= no -PLIST_FILES= bin/samearchive bin/samefile \ - bin/samearchive-lite bin/samelink \ - etc/rc.d/samesame.sh +PLIST_FILES= bin/samearchive bin/samefile bin/samecp \ + bin/samearchive-lite bin/sameln bin/samemv \ + etc/rc.d/samesame.sh bin/samerm HAS_CONFIGURE= yes CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --prefix="${PREFIX}" \ @@ -47,10 +48,10 @@ CONFIGURE_ARGS+= --disable-logic .endif -test: build +regression-test: build @cd ${WRKSRC}; ${MAKE} check -pre-install: +post-build: .if defined(WITH_TEST) @cd ${WRKSRC}; ${MAKE} check .endif @@ -58,12 +59,17 @@ post-install: .if defined(WITHOUT_DEBUG) ${STRIP_CMD} ${PREFIX}/bin/samefile - ${STRIP_CMD} ${PREFIX}/bin/samelink ${STRIP_CMD} ${PREFIX}/bin/samearchive ${STRIP_CMD} ${PREFIX}/bin/samearchive-lite + ${STRIP_CMD} ${PREFIX}/bin/samecp + ${STRIP_CMD} ${PREFIX}/bin/sameln + ${STRIP_CMD} ${PREFIX}/bin/samemv + ${STRIP_CMD} ${PREFIX}/bin/samerm .endif ${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/ + @${ECHO} @${CAT} pkg-message + @${ECHO} .include <bsd.port.post.mk> --- Makefile.diff ends here --- --- distinfo begins here --- MD5 (samesame-1.5.tar.bz2) = 5443c04b1d9c624f4aff39b5acaa38ef SHA256 (samesame-1.5.tar.bz2) = e91a94d05a23b378269d6408d3f3102f3216a47a4d0408013ac124dc65796e54 SIZE (samesame-1.5.tar.bz2) = 109837 --- distinfo ends here --- --- pkg-descr.diff begins here --- --- pkg-descr.orig Sun Sep 6 23:12:19 2009 +++ pkg-descr Sun Sep 6 15:35:26 2009 @@ -1,4 +1,4 @@ -Samesame is a collection of tools that fall in to the category of file +SameSame is a collection of tools that fall in to the category of file management software. These tools will prevent that you need to delete files or buy more disk space. Instead they solve low disk space problems by linking identical files together and thus free up waisted disk space. @@ -7,17 +7,17 @@ Schweikhardt. The collection comes with its own version of samefile that is noticeable faster and is able to process a much larger file list. -This port contains the applications: samefile, samelink and samearchive. -The latter does the same as samefile but for file-based archives. The -port also contains a version that uses just 10% of the resources compared -to samearchive. The application samelink hard link identical files for you. +This port containt two set of application: the first are duplicate files +finder search for identical files and the second are duplicate file +removers perform some kind of action based on those results. -Typical usage would be: - - find / | samefile -i | samelink +Typical usage would be: find / | samefile -i | sameln This would search for identical files and clean up wasted disk space by -linking them together. Add the option -vn after samelink for a verbose -dry-run. +linking them together. If you prefer removing one of the identical file, +then you should replace sameln with samerm. You can add the option -vn +after both application for a verbose dry-run. + +Please see the man page samesame for a introduction to all applications. WWW: http://samesame.kruijff.org/ --- pkg-descr.diff ends here --- The following file is only for when the regression-test target fails: --- source_Makefile.diff begins here --- --- source/Makefile.am Sun Sep 6 16:05:11 2009 +++ source/Makefile.am.orig Sun Sep 6 16:05:00 2009 @@ -20 +20 @@ -TESTS_ENVIRONMENT = $(SHELL) +TESTS_ENVIRONMENT = $(SHELL) -x --- source_Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909062130.n86LUxOt006551>