ports/79434: Update of mail/hashcash to 1.17
David Bremner
bremner at unb.ca
Fri Apr 1 22:10:04 UTC 2005
>Number: 79434
>Category: ports
>Synopsis: Update of mail/hashcash to 1.17
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 01 22:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: David Bremner <bremner at unb.ca>
>Release: FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD convex.cs.unb.ca 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #23: Tue Mar 29 16:02:47 AST 2005 bremner at convex.cs.unb.ca:/usr/obj/usr/src/sys/CONVEX2 i386
>Description:
Among other things, this version apparently fixes a printf
vulnerability.
>How-To-Repeat:
<code/input/activities to reproduce the problem (multiple
lines)>
see
http://bugs.gentoo.org/show_bug.cgi?id=83541
and
hashcash CHANGELOG
>Fix:
diff -ur /usr/ports/mail/hashcash/Makefile hashcash/Makefile
--- /usr/ports/mail/hashcash/Makefile Wed Sep 15 23:33:27 2004
+++ hashcash/Makefile Fri Apr 1 17:44:39 2005
@@ -2,11 +2,11 @@
# Date created: Jan 30, 2003
# Whom: bremner at unb.ca
#
-# $FreeBSD: ports/mail/hashcash/Makefile,v 1.3 2004/09/16 02:33:27 leeym Exp $
+# $FreeBSD$
#
PORTNAME= hashcash
-PORTVERSION= 1.02
+PORTVERSION= 1.17
CATEGORIES= mail
MASTER_SITES= http://www.hashcash.org/source/
EXTRACT_SUFX= .tgz
@@ -14,9 +14,11 @@
MAINTAINER= bremner at 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 -ur /usr/ports/mail/hashcash/distinfo hashcash/distinfo
--- /usr/ports/mail/hashcash/distinfo Sat Aug 28 15:27:54 2004
+++ hashcash/distinfo Fri Apr 1 15:30:56 2005
@@ -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 -ur /usr/ports/mail/hashcash/files/patch-Makefile hashcash/files/patch-Makefile
--- /usr/ports/mail/hashcash/files/patch-Makefile Wed Sep 15 23:33:27 2004
+++ hashcash/files/patch-Makefile Fri Apr 1 17:47:00 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list