aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/filedupe/files
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-11 03:51:45 +0800
committerwill <will@FreeBSD.org>2001-04-11 03:51:45 +0800
commitb8e4b9b777ad0e4b07917a495e1cc8ce408f6406 (patch)
treea4bfc275391ab4bb6fe15ba52e4cbb9370024ef6 /sysutils/filedupe/files
parent407fe531dabcd8f2dbe000237c1ca4ac87fead9c (diff)
downloadfreebsd-ports-graphics-b8e4b9b777ad0e4b07917a495e1cc8ce408f6406.tar.gz
freebsd-ports-graphics-b8e4b9b777ad0e4b07917a495e1cc8ce408f6406.tar.zst
freebsd-ports-graphics-b8e4b9b777ad0e4b07917a495e1cc8ce408f6406.zip
Add filedupe 1.1, a utility for quickly finding duplicate files.
PR: 26483 Submitted by: Mark Pulford <mark@kyne.com.au>
Diffstat (limited to 'sysutils/filedupe/files')
-rw-r--r--sysutils/filedupe/files/patch-Makefile12
-rw-r--r--sysutils/filedupe/files/patch-filedupe.c11
2 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/filedupe/files/patch-Makefile b/sysutils/filedupe/files/patch-Makefile
new file mode 100644
index 00000000000..f5451561e2f
--- /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 00000000000..7a577cd74f8
--- /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);