diff options
Diffstat (limited to 'sysutils/filedupe')
-rw-r--r-- | sysutils/filedupe/Makefile | 20 | ||||
-rw-r--r-- | sysutils/filedupe/distinfo | 1 | ||||
-rw-r--r-- | sysutils/filedupe/files/patch-Makefile | 12 | ||||
-rw-r--r-- | sysutils/filedupe/files/patch-filedupe.c | 11 | ||||
-rw-r--r-- | sysutils/filedupe/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/filedupe/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/filedupe/pkg-plist | 1 |
7 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/filedupe/Makefile b/sysutils/filedupe/Makefile new file mode 100644 index 000000000000..5498b7dad8d8 --- /dev/null +++ b/sysutils/filedupe/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: filedupe +# Date created: Apr 10, 2001 +# Whom: Mark Pulford <mark@kyne.com.au> +# +# $FreeBSD$ +# + +PORTNAME= filedupe +PORTVERSION= 1.1 +CATEGORIES= sysutils +MASTER_SITES= http://sammy.net/~sammy/hacks/ + +MAINTAINER= mark@kyne.com.au + +LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm + +do-install: + $(INSTALL_PROGRAM) ${WRKSRC}/filedupe ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/sysutils/filedupe/distinfo b/sysutils/filedupe/distinfo new file mode 100644 index 000000000000..b92944e6c69c --- /dev/null +++ b/sysutils/filedupe/distinfo @@ -0,0 +1 @@ +MD5 (filedupe-1.1.tar.gz) = c6fa99329cb84fdf3dc583f59dec2efe diff --git a/sysutils/filedupe/files/patch-Makefile b/sysutils/filedupe/files/patch-Makefile new file mode 100644 index 000000000000..f5451561e2f4 --- /dev/null +++ b/sysutils/filedupe/files/patch-Makefile @@ -0,0 +1,12 @@ +--- Makefile.orig Wed Apr 11 00:25:08 2001 ++++ Makefile Wed Apr 11 00:26:11 2001 +@@ -1,8 +1,4 @@ +- +-CC=gcc -g +-LD=gcc -g +- + all: filedupe + + filedupe: md5.o filedupe.o +- $(LD) -o filedupe md5.o filedupe.o -lgdbm ++ $(CC) -o filedupe md5.o filedupe.o -L$(LOCALBASE)/lib -lgdbm diff --git a/sysutils/filedupe/files/patch-filedupe.c b/sysutils/filedupe/files/patch-filedupe.c new file mode 100644 index 000000000000..7a577cd74f86 --- /dev/null +++ b/sysutils/filedupe/files/patch-filedupe.c @@ -0,0 +1,11 @@ +--- filedupe.c.orig Wed Apr 11 00:27:15 2001 ++++ filedupe.c Wed Apr 11 00:27:32 2001 +@@ -8,7 +8,7 @@ + + #include "md5.h" + +-#define DBNAME "your_database" ++#define DBNAME "/var/db/filedupe.db" + + int lookup(void *md5sum, int size); + int addfile(void *md5sum, int size); diff --git a/sysutils/filedupe/pkg-comment b/sysutils/filedupe/pkg-comment new file mode 100644 index 000000000000..b9b62dd90bf5 --- /dev/null +++ b/sysutils/filedupe/pkg-comment @@ -0,0 +1 @@ +A utility for quickly finding duplicate files diff --git a/sysutils/filedupe/pkg-descr b/sysutils/filedupe/pkg-descr new file mode 100644 index 000000000000..3481917115ee --- /dev/null +++ b/sysutils/filedupe/pkg-descr @@ -0,0 +1,6 @@ +Filedupe is a utility to assist in finding any duplicates as you +accumulate files. It stores md5 hashes of all the files seen in a +system wide database (/var/db/filedupe.db) so it can quickly spot any +duplicates. + +WWW: http://sammy.net/~sammy/hacks/ diff --git a/sysutils/filedupe/pkg-plist b/sysutils/filedupe/pkg-plist new file mode 100644 index 000000000000..df364c5e5442 --- /dev/null +++ b/sysutils/filedupe/pkg-plist @@ -0,0 +1 @@ +bin/filedupe |