Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
sysutils/fdupes/DESCR Normal file
View File

@@ -0,0 +1,2 @@
FDUPES is a program for identifying or deleting duplicate files residing
within specified directories.

20
sysutils/fdupes/Makefile Normal file
View File

@@ -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
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"

3
sysutils/fdupes/PLIST Normal file
View File

@@ -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

8
sysutils/fdupes/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2008/12/17 11:56:26 obache Exp $
SHA1 (fdupes-1.40.tar.gz) = e1bce9bdf50d7bf700dda3eb8a3d218b181b3931
RMD160 (fdupes-1.40.tar.gz) = 0abd2f0dfee38cb333c1069363a65f8ab37e18dd
Size (fdupes-1.40.tar.gz) = 16026 bytes
SHA1 (patch-aa) = c84138d46bef74db226e3ea1226de874e5a7e01a
SHA1 (patch-ab) = 8e988a6f42682b0393454b8564b6068e1fc70df9
SHA1 (patch-ac) = 833aaa5903efb59acaa1f3f505090f7b018903f8

View File

@@ -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);

View File

@@ -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] = {

View File

@@ -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)