Update from 1.21 to 1.22 for mail/hashcash. From the Changelog:

  * fix progress display bug reported by Phil Marek.  (When the
    progress reached 2^30 tests, it would reset the best seen).
    This involved multiple related bug fixes, complex thing to
    debug!
  
  * make percentage progress show more precision the larger the
    stamp, so progress is less boring.
  
  * remove some cruft from test.sh so it works again
  
  * change docs and code output to talk about partial hash
    preimages instead of partial collisions, as this is a more
    accurate description these days.

Please test and commit.

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/hashcash/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    25 Mar 2006 21:55:21 -0000      1.3
+++ Makefile    14 Apr 2007 08:10:46 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               "hashcash anti-spam / denial of service counter-measure 
tool"
 
-DISTNAME=              hashcash-1.21
+DISTNAME=              hashcash-1.22
 CATEGORIES=            mail
 
 HOMEPAGE=              http://www.hashcash.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/hashcash/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    25 Mar 2006 21:55:21 -0000      1.3
+++ distinfo    14 Apr 2007 08:10:46 -0000
@@ -1,4 +1,5 @@
-MD5 (hashcash-1.21.tgz) = 779230189d0a2ed181fc038c52373be6
-RMD160 (hashcash-1.21.tgz) = 983c4e8d786bc3d70ab39a20a7f560b28778c80f
-SHA1 (hashcash-1.21.tgz) = 173ebcfc1391d2c656c161139e7a6889d8c2608a
-SIZE (hashcash-1.21.tgz) = 193777
+MD5 (hashcash-1.22.tgz) = 31fae207061841dffc7b90ee18e3d0fa
+RMD160 (hashcash-1.22.tgz) = 60037d7feebb6ba3d57c900a811a46580bd567be
+SHA1 (hashcash-1.22.tgz) = 0fa03c9f266026e505c0ab7b671ad93aef9310de
+SHA256 (hashcash-1.22.tgz) = 
0192f12d41ce4848e60384398c5ff83579b55710601c7bffe6c88bc56b547896
+SIZE (hashcash-1.22.tgz) = 195193
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/mail/hashcash/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile      23 Dec 2005 12:55:05 -0000      1.2
+++ patches/patch-Makefile      14 Apr 2007 08:10:46 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Makefile,v 1.2 2005/12/23 12:55:05 steven Exp $
---- Makefile.orig      Tue Dec 20 22:54:48 2005
-+++ Makefile   Wed Dec 21 13:39:55 2005
-@@ -2,9 +2,9 @@ HC_VERS = 1.20
+--- Makefile.orig      Sun Apr  9 00:13:42 2006
++++ Makefile   Sat Apr 14 10:01:43 2007
+@@ -2,9 +2,9 @@ HC_VERS = 1.22
  CHANGEME1 = 1 # put PACKAGER = EBUILD|RPM etc here
  CHANGEME2 = 2
  CHANGEME3 = 3
@@ -17,7 +17,7 @@ $OpenBSD: patch-Makefile,v 1.2 2005/12/2
 @@ -16,9 +16,9 @@ MSLIB = mslib 
  #     REGEXP = 
  REGEXP=-DREGEXP_POSIX
- COPT_DEBUG = -g
+ COPT_DEBUG = -g -DDEBUG
 -COPT_GENERIC = -O3
 +COPT_GENERIC =
  COPT_GNU = -O3 -funroll-loops
@@ -26,7 +26,7 @@ $OpenBSD: patch-Makefile,v 1.2 2005/12/2
        -D_REENTRANT -D_THREAD_SAFE -fPIC
  COPT_MINGW = -O3 -funroll-loops -march=pentium-mmx -mmmx \
          -D_REENTRANT -D_THREAD_SAFE
-@@ -28,7 +28,7 @@ COPT_PPC_LINUX = -O3 -funroll-loops -fno
+@@ -28,7 +28,7 @@ COPT_PPC_LINUX = -O3 -funroll-loops -fno-inline -mcpu=
  LIB=.a
  # request static link of -lcrypto only
  LIBCRYPTO=/usr/lib/libcrypto.a

Reply via email to