pkgsrc-WIP-changes archive

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

pdfcrack: Update wip/pdfcrack to pdfcrack-0.15.



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Sep 26 17:19:23 2015 +0200
Changeset:	58266fbb748f687cf8db390cd3d4ee744d680c29

Modified Files:
	pdfcrack/Makefile
	pdfcrack/distinfo
Removed Files:
	pdfcrack/patches/patch-Makefile

Log Message:
pdfcrack: Update wip/pdfcrack to pdfcrack-0.15.

Changes:
2015-09-25  Henning Norén  <henning.noren%gmail.com@localhost> - 0.15
* Fix a few crashes found by "american fuzzy lop"
* Make the benchmark a bit more robust with volatile
* Fix a couple of undefined behaviours with left shift on int-type
* Fix GNU Make-isms in Makefile, thanks to Leonardo Taccari
* Fix various clang and cppchecker issues and warnings
* Bump version to 0.15

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

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

diffstat:
 pdfcrack/Makefile               | 10 ++--------
 pdfcrack/distinfo               |  7 +++----
 pdfcrack/patches/patch-Makefile | 28 ----------------------------
 3 files changed, 5 insertions(+), 40 deletions(-)

diffs:
diff --git a/pdfcrack/Makefile b/pdfcrack/Makefile
index f5ad655..3e83480 100644
--- a/pdfcrack/Makefile
+++ b/pdfcrack/Makefile
@@ -1,22 +1,16 @@
 # $NetBSD: Makefile,v 1.2 2015/03/10 23:33:26 leot1990 Exp $
 
-DISTNAME=	pdfcrack-0.14
+DISTNAME=	pdfcrack-0.15
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pdfcrack/}
 
-MAINTAINER=	leot1990%users.sourceforge.net@localhost
+MAINTAINER=	leot%NetBSD.org@localhost
 HOMEPAGE=	http://pdfcrack.sourceforge.net/
 COMMENT=	Password Recovery Tool for PDF-files
 LICENSE=	gnu-gpl-v2
 
 NO_CONFIGURE=	yes
 
-SUBST_CLASSES+=		makefile
-SUBST_STAGE.makefile=	pre-build
-SUBST_MESSAGE.makefile=	Fixing CFLAGS
-SUBST_FILES.makefile=	Makefile
-SUBST_SED.makefile+=	-e '/CFLAGS/ s/-O3 -g//'
-
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 do-install:
diff --git a/pdfcrack/distinfo b/pdfcrack/distinfo
index 58f07c5..ba35f12 100644
--- a/pdfcrack/distinfo
+++ b/pdfcrack/distinfo
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.2 2015/03/10 23:33:26 leot1990 Exp $
 
-SHA1 (pdfcrack-0.14.tar.gz) = 15d74431a06430b910c8e9ad2b1f5b8635c94181
-RMD160 (pdfcrack-0.14.tar.gz) = 95d19d885f2c9ff2cce22911841ecb21512a1c92
-Size (pdfcrack-0.14.tar.gz) = 33387 bytes
-SHA1 (patch-Makefile) = aae520e5a29bda32762e78cbddc9d821a7a879c7
+SHA1 (pdfcrack-0.15.tar.gz) = 1a6c788cc6acd526a1c6c6521322db198f27dc1b
+RMD160 (pdfcrack-0.15.tar.gz) = 94404c02a0cbc35034546a9220ba86b142b0ba3a
+Size (pdfcrack-0.15.tar.gz) = 34269 bytes
diff --git a/pdfcrack/patches/patch-Makefile b/pdfcrack/patches/patch-Makefile
deleted file mode 100644
index 8bc0f62..0000000
--- a/pdfcrack/patches/patch-Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2015/03/10 23:33:26 leot1990 Exp $
-
-Get rid of all GNU make-ism.
-
---- Makefile.orig	2014-08-30 22:57:00.000000000 +0000
-+++ Makefile
-@@ -1,13 +1,16 @@
- CFLAGS += -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O3 -g
- 
-+OBJS = main.o sha256.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
-+	benchmark.o
-+OBJS_PDFREADER = pdfparser.o pdfreader.o common.o
-+
- all: pdfcrack
- 
--pdfcrack: main.o sha256.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
--	benchmark.o
--	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $+
-+pdfcrack: $(OBJS)
-+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(OBJS)
- 
--pdfreader: pdfparser.o pdfreader.o common.o
--	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $+
-+pdfreader: $(OBJS_PDFREADER)
-+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(OBJS_PDFREADER)
- 
- clean:
- 	rm -f pdfcrack pdfreader testreader *.o


Home | Main Index | Thread Index | Old Index