aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-07 13:29:31 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-07 13:29:31 +0000
commitc5d24f8a77a9e854b08ed1da317b7d590f9f4a3d (patch)
tree4b9d6cdbd5efbdb5d510d3572edb9a3135ea84fa /security
parent91154b32cb5e4f8ced24f69dad9c894467e07639 (diff)
downloadports-c5d24f8a77a9e854b08ed1da317b7d590f9f4a3d.tar.gz
ports-c5d24f8a77a9e854b08ed1da317b7d590f9f4a3d.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/pdfcrack/Makefile3
-rw-r--r--security/pdfcrack/files/patch-Makefile27
2 files changed, 29 insertions, 1 deletions
diff --git a/security/pdfcrack/Makefile b/security/pdfcrack/Makefile
index 7c358546f661..c34c55dcaac2 100644
--- a/security/pdfcrack/Makefile
+++ b/security/pdfcrack/Makefile
@@ -5,10 +5,11 @@
PORTNAME= pdfcrack
PORTVERSION= 0.9
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
-MAINTAINER= jadawin@tuxaco.net
+MAINTAINER= jadawin@FreeBSD.org
COMMENT= A command line, password recovery tool for PDF-files
USE_GMAKE= yes
diff --git a/security/pdfcrack/files/patch-Makefile b/security/pdfcrack/files/patch-Makefile
new file mode 100644
index 000000000000..a2dfc3b95843
--- /dev/null
+++ b/security/pdfcrack/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig 2006-10-27 08:52:08.000000000 -0400
++++ Makefile 2008-03-06 17:20:32.064287906 -0500
+@@ -1,13 +1,13 @@
+-CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
+- -Wconversion -Wmissing-noreturn -Wbad-function-cast \
+- -Wmissing-prototypes -Winline -Wredundant-decls -O3
++#CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
++# -Wconversion -Wmissing-noreturn -Wbad-function-cast \
++# -Wmissing-prototypes -Winline -Wredundant-decls -O3
+
+ all: pdfcrack
+
+ pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
+ benchmark.o
+- gcc $(CFLAGS) -o $@ $+
+- strip $@
++ ${CC} $(CFLAGS) -o $@ $+
++# strip $@
+
+ pdfreader: pdfparser.o pdfreader.o common.o
+ gcc $(CFLAGS) -o $@ $+
+@@ -17,4 +17,4 @@
+ rm -f pdfcrack pdfreader testreader *.o
+
+ %.o: %.c
+- gcc $(CFLAGS) -c -o $@ $+
++ ${CC} $(CFLAGS) -c -o $@ $+