diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2005-04-02 23:01:46 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2005-04-02 23:01:46 +0000 |
commit | 018634567eddc960cb88a0f5e01981f532ca98a9 (patch) | |
tree | 95e0c9ec0757fabf32969b2728f58a5923b6ec84 /mail | |
parent | * Update to 2.10.1 (diff) |
Update to 1.17.
Among other things, this version fixes a format string vulnerability.
PR: ports/79434
Submitted by: David Bremner <bremner@unb.ca>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/hashcash/Makefile | 4 | ||||
-rw-r--r-- | mail/hashcash/distinfo | 4 | ||||
-rw-r--r-- | mail/hashcash/files/patch-Makefile | 34 |
3 files changed, 13 insertions, 29 deletions
diff --git a/mail/hashcash/Makefile b/mail/hashcash/Makefile index 46b0d9e3fde3..95b1ab947afa 100644 --- a/mail/hashcash/Makefile +++ b/mail/hashcash/Makefile @@ -6,7 +6,7 @@ # PORTNAME= hashcash -PORTVERSION= 1.02 +PORTVERSION= 1.17 CATEGORIES= mail MASTER_SITES= http://www.hashcash.org/source/ EXTRACT_SUFX= .tgz @@ -14,9 +14,11 @@ EXTRACT_SUFX= .tgz MAINTAINER= bremner@unb.ca COMMENT= Anti-spam / denial of service counter-measure tool + MAN1= hashcash.1 sha1-hashcash.1 PLIST_FILES= bin/hashcash bin/sha1 PORTDOCS= CHANGELOG LICENSE README +ALL_TARGET= generic .if defined(NOPORTDOCS) diff --git a/mail/hashcash/distinfo b/mail/hashcash/distinfo index 7733d80425a2..0621c4c7e62e 100644 --- a/mail/hashcash/distinfo +++ b/mail/hashcash/distinfo @@ -1,2 +1,2 @@ -MD5 (hashcash-1.02.tgz) = eef0ff5ab7387983ecc4074ae254a948 -SIZE (hashcash-1.02.tgz) = 136241 +MD5 (hashcash-1.17.tgz) = 9e5a8a35941c0cdccac93f41bd943593 +SIZE (hashcash-1.17.tgz) = 185522 diff --git a/mail/hashcash/files/patch-Makefile b/mail/hashcash/files/patch-Makefile index 8ddf79f93d08..7e880bc91343 100644 --- a/mail/hashcash/files/patch-Makefile +++ b/mail/hashcash/files/patch-Makefile @@ -1,7 +1,9 @@ ---- Makefile.orig Wed Aug 11 19:01:24 2004 -+++ Makefile Wed Sep 8 10:01:54 2004 -@@ -1,7 +1,7 @@ - HC_VERS = 1.02 +--- Makefile.orig Wed Mar 30 06:27:47 2005 ++++ Makefile Fri Apr 1 15:54:54 2005 +@@ -2,9 +2,9 @@ + CHANGEME1 = 1 # put PACKAGER = EBUILD|RPM etc here + CHANGEME2 = 2 + CHANGEME3 = 3 -INSTALL_PATH = /usr/bin -MAN_INSTALL_PATH = /usr/share/man/man1 -DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS) @@ -9,25 +11,5 @@ +MAN_INSTALL_PATH = ${PREFIX}/man/man1 +DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash MAKEDEPEND = makedepend - # add -DCHROMATIX for libfastmint integration - EXTRA_COPT = -O3 -funroll-loops -@@ -12,8 +12,8 @@ - # if no POSIX or BSD, disable, still have builtin basic wildcard support - # OPT = -O - LDFLAGS = $(CARCH) --CFLAGS = $(COPT) $(OPT) $(CWARN) $(CARCH) --EXES = hashcash sha1 sha1test fastmint_benchtest -+CFLAGS += $(COPT) $(OPT) $(CWARN) $(CARCH) -+EXES = hashcash sha1 sha1test - INSTALL = /usr/bin/install - POD2MAN = pod2man - POD2HTML = pod2html -@@ -31,7 +31,7 @@ - - DIST = ../dist.csh - --build: hashcash sha1 #fastmint_benchtest -+build: hashcash sha1 - - hashcash: $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) -o $@ + MSLIB = mslib + # here you can choose the regexp style your system has |