pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fdupes: Import fdupes-1.40 as wip/fdupes.



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Sat Nov 7 00:47:30 2015 +0100
Changeset:	6c2dd09fd759b3ad1f04928d8a6d378ae258bf3e

Modified Files:
	Makefile
Added Files:
	fdupes/DESCR
	fdupes/Makefile
	fdupes/PLIST
	fdupes/distinfo
	fdupes/patches/patch-aa
	fdupes/patches/patch-ab
	fdupes/patches/patch-ac

Log Message:
fdupes: Import fdupes-1.40 as wip/fdupes.

FDUPES is a program for identifying or deleting duplicate files residing
within specified directories.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6c2dd09fd759b3ad1f04928d8a6d378ae258bf3e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 fdupes/DESCR            |  2 ++
 fdupes/Makefile         | 20 ++++++++++++++++++++
 fdupes/PLIST            |  3 +++
 fdupes/distinfo         |  9 +++++++++
 fdupes/patches/patch-aa | 22 ++++++++++++++++++++++
 fdupes/patches/patch-ab | 21 +++++++++++++++++++++
 fdupes/patches/patch-ac | 15 +++++++++++++++
 8 files changed, 93 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index bc61276..e0b3e01 100644
--- a/Makefile
+++ b/Makefile
@@ -666,6 +666,7 @@ SUBDIR+=	fbpanel
 SUBDIR+=	fbsd2pkg
 SUBDIR+=	fceux
 SUBDIR+=	fcgiwrap
+SUBDIR+=	fdupes
 SUBDIR+=	feathercoin
 SUBDIR+=	felt
 SUBDIR+=	festvox-awb
diff --git a/fdupes/DESCR b/fdupes/DESCR
new file mode 100644
index 0000000..ad2b1c4
--- /dev/null
+++ b/fdupes/DESCR
@@ -0,0 +1,2 @@
+FDUPES is a program for identifying or deleting duplicate files residing
+within specified directories.
diff --git a/fdupes/Makefile b/fdupes/Makefile
new file mode 100644
index 0000000..8f1cc49
--- /dev/null
+++ b/fdupes/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.2 2012/10/23 19:51:01 asau Exp $
+
+DISTNAME=	fdupes-1.40
+CATEGORIES=	sysutils
+MASTER_SITES=	http://netdial.caribe.net/~adrian2/programs/
+
+MAINTAINER=	ef%math.uni-bonn.de@localhost
+HOMEPAGE=	http://netdial.caribe.net/~adrian2/fdupes.html
+COMMENT=	Program for identifying or deleting duplicate files
+
+USE_LANGUAGES=	c
+NO_CONFIGURE=	yes
+
+MAKE_FLAGS=	INSTALLDIR=${PREFIX}/bin MANPAGEDIR=${PREFIX}/${PKGMANDIR}
+
+BUILD_TARGET=		fdupes
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fdupes/PLIST b/fdupes/PLIST
new file mode 100644
index 0000000..05edbd1
--- /dev/null
+++ b/fdupes/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/17 11:56:26 obache Exp $
+bin/fdupes
+man/man1/fdupes.1
diff --git a/fdupes/distinfo b/fdupes/distinfo
new file mode 100644
index 0000000..c2c526e
--- /dev/null
+++ b/fdupes/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.2 2015/11/04 01:32:13 agc Exp $
+
+SHA1 (fdupes-1.40.tar.gz) = e1bce9bdf50d7bf700dda3eb8a3d218b181b3931
+RMD160 (fdupes-1.40.tar.gz) = 0abd2f0dfee38cb333c1069363a65f8ab37e18dd
+SHA512 (fdupes-1.40.tar.gz) = 800f281bd17cfbf3e007959e99ce2c74e8d7e23cbb272aab8373e7e6cb462275a5c52cf7455ed461b8cc442d73ba456b83c017df9d01d3d8fba60b8344f0ef99
+Size (fdupes-1.40.tar.gz) = 16026 bytes
+SHA1 (patch-aa) = c84138d46bef74db226e3ea1226de874e5a7e01a
+SHA1 (patch-ab) = 8e988a6f42682b0393454b8564b6068e1fc70df9
+SHA1 (patch-ac) = 833aaa5903efb59acaa1f3f505090f7b018903f8
diff --git a/fdupes/patches/patch-aa b/fdupes/patches/patch-aa
new file mode 100644
index 0000000..61943dd
--- /dev/null
+++ b/fdupes/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/17 11:56:26 obache Exp $
+
+--- fdupes.c.orig	2001-03-15 02:16:09.000000000 +0000
++++ fdupes.c
+@@ -588,7 +588,7 @@ void printmatches(file_t *files)
+   while (files != NULL) {
+     if (files->hasdupes) {
+       if (!ISFLAG(flags, F_OMITFIRST)) {
+-	if (ISFLAG(flags, F_SHOWSIZE)) printf("%ld byte%seach:\n", files->size,
++	if (ISFLAG(flags, F_SHOWSIZE)) printf("%ld byte%seach:\n", (long)files->size,
+ 	 (files->size != 1) ? "s " : " ");
+ 	if (ISFLAG(flags, F_DSAMELINE)) escapefilename("\\ ", &files->d_name);
+ 	printf("%s%c", files->d_name, ISFLAG(flags, F_DSAMELINE)?' ':'\n');
+@@ -676,7 +676,7 @@ void autodelete(file_t *files)
+       do {
+ 	printf("Set %d of %d, preserve files [1 - %d, all]", 
+           curgroup, groups, counter);
+-	if (ISFLAG(flags, F_SHOWSIZE)) printf(" (%ld byte%seach)", files->size,
++	if (ISFLAG(flags, F_SHOWSIZE)) printf(" (%ld byte%seach)", (long)files->size,
+ 	  (files->size != 1) ? "s " : " ");
+ 	printf(": ");
+ 	fflush(stdout);
diff --git a/fdupes/patches/patch-ab b/fdupes/patches/patch-ab
new file mode 100644
index 0000000..767fbe8
--- /dev/null
+++ b/fdupes/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/12/17 11:56:26 obache Exp $
+
+--- md5/md5.c.orig	1999-11-05 01:04:36.000000000 +0000
++++ md5/md5.c
+@@ -38,6 +38,8 @@
+   1999-05-03 lpd Original version.
+  */
+ 
++#include <string.h>
++
+ #include "md5.h"
+ 
+ #ifdef TEST
+@@ -46,7 +48,6 @@
+  * The test program should print out the same values as given in section
+  * A.5 of RFC 1321, reproduced below.
+  */
+-#include <string.h>
+ main()
+ {
+     static const char *const test[7] = {
diff --git a/fdupes/patches/patch-ac b/fdupes/patches/patch-ac
new file mode 100644
index 0000000..4b9cf1b
--- /dev/null
+++ b/fdupes/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/12/17 11:56:26 obache Exp $
+
+--- Makefile.orig	2001-03-15 02:49:11.000000000 +0000
++++ Makefile
+@@ -38,8 +38,8 @@ fdupes: fdupes.c md5/md5.c	
+ 	gcc fdupes.c md5/md5.c -Wall -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE)
+ 
+ install: fdupes
+-	cp fdupes $(INSTALLDIR)
+-	cp fdupes.1 $(MANPAGEDIR)/man1
++	${BSD_INSTALL_PROGRAM} fdupes ${DESTDIR}$(INSTALLDIR)
++	${BSD_INSTALL_MAN} fdupes.1 ${DESTDIR}$(MANPAGEDIR)/man1
+ 
+ tarball: clean
+ 	tar --directory=.. -c -z -v -f ../fdupes-$(VERSION).tar.gz fdupes-$(VERSION)


Home | Main Index | Thread Index | Old Index