head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.34
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.32
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.30
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.28
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.26
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.24
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.22
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.20
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.18
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.16
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.14
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.12
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.10
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.8
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.6
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.4
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.2
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.1.0.12
	pkgsrc-2006Q1-base:1.1
	pkgsrc-2005Q4:1.1.0.10
	pkgsrc-2005Q4-base:1.1
	pkgsrc-2005Q3:1.1.0.8
	pkgsrc-2005Q3-base:1.1
	pkgsrc-2005Q2:1.1.0.6
	pkgsrc-2005Q2-base:1.1
	pkgsrc-2005Q1:1.1.0.4
	pkgsrc-2005Q1-base:1.1
	pkgsrc-2004Q4:1.1.0.2
	pkgsrc-2004Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2006.04.17.12.44.02;	author gdt;	state dead;
branches;
next	1.1;

1.1
date	2004.12.01.12.50.39;	author tv;	state Exp;
branches
	1.1.12.1;
next	;

1.1.12.1
date	2006.06.28.16.45.46;	author snj;	state dead;
branches;
next	;


desc
@@


1.2
log
@Update to 1.22.


hashcash-1.22 - 08-Apr-2006 - Adam Back <adam@@cypherspace.org>

[BUG FIXES]

hashcash-1.18 - 05-Jul-2005 - Adam Back <adam@@cypherspace.org>

	* add a simpler minting API to make it easier to mint stamps
	  from VB scripting

hashcash-1.17 - 30-Mar-2005 - Adam Back <adam@@cypherspace.org>

[BUG FIXES]

hashcash-1.15 - 12-Jan-2005 - Adam Back <adam@@cypherspace.org>

	* make "Hashcash:" be accepted as well as "X-Hashcash:"
	  suggestion by Simon Josefsson <jas@@extundo.com>.  This way
	  if/when the X- is dropped from hashcash headers we will not
	  have a backwards compatibility problem.  (Well not after
	  version 1.15).

	* implement the -Z option to compress stamps; in fact the
	  usage changed so -Z takes an argument: 0, 1 or 2.  0 = not
	  compressed, 1 = compressed but not so the counter + padding
	  is split, and 2 = very compressed, but slow.  (Due to a late
	  discovered bug 2 is the same as 1 for now until I can fix
	  that.)

	* added -O x -sv to request benchtest of core x only

	* make code work with -DOPENSSL, think this slipped during
	  integration of Jonathan's libfastmint as it uses some lower
	  level openssl APIs internally.  I fixed it but it might be
	  a bit openssl version specific, if they changed the state
	  fields at any point.  (This change coincidentally I think
	  should work around the linking with openssl problem that Hal
	  Finney <hal@@finney.org> reported).

	* add libhashcash.a intermediate target to make hashcash more
	  convenient to link into other software on linux.  (A
	  suggestion from Hal Finney who was trying to link to his
	  RPOW system.)


hashcash-1.14 - 14-Dec-2004 - Adam Back <adam@@cypherspace.org>

	* make hashcash -cX accept continuation lines starting with
	  space as well as tab

	* add library function to wrap lines and use it from hashcash
	  command line tool.

	* fix long vs time_t prototype mismatch that was giving
	  compile errors on BSD; also cleaned up some warnings that
	  can be obtained with gcc -Wall.
@
text
@$NetBSD: patch-ab,v 1.1 2004/12/01 12:50:39 tv Exp $

--- hashcash.c.orig	2004-12-01 07:49:23.000000000 -0500
+++ hashcash.c
@@@@ -117,7 +117,7 @@@@ typedef struct {
 
 void db_open( DB* db, const char* db_filename );
 void db_purge( DB* db, ARRAY* purge_resource, int purge_all, 
-	       long purge_period, time_t now_time, time_t real_time,
+	       long purge_period, time_t now_time, long validity_period,
 	       long grace_period );
 int db_in( DB* db, char* token, char *period );
 void db_add( DB* db, char* token, char *token_utime );
@


1.1
log
@Fix compilation error on LP64 due to a prototype mismatch.  (Arg changed
from time_t to long, but prototype wasn't updated to match.)
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.12.1
log
@Pullup ticket 1714 - requested by salo
security update for hashcash

Revisions pulled up:
- pkgsrc/security/hashcash/Makefile		1.9
- pkgsrc/security/hashcash/distinfo		1.7
- pkgsrc/security/hashcash/patches/patch-aa	removed
- pkgsrc/security/hashcash/patches/patch-ab	removed

   Module Name:    pkgsrc
   Committed By:   gdt
   Date:           Mon Apr 17 12:44:02 UTC 2006

   Modified Files:
           pkgsrc/security/hashcash: Makefile distinfo
   Removed Files:
           pkgsrc/security/hashcash/patches: patch-aa patch-ab

   Log Message:
   Update to 1.22.

   hashcash-1.22 - 08-Apr-2006 - Adam Back <adam@@cypherspace.org>

   [BUG FIXES]

   hashcash-1.18 - 05-Jul-2005 - Adam Back <adam@@cypherspace.org>

           * add a simpler minting API to make it easier to mint stamps
             from VB scripting
   hashcash-1.17 - 30-Mar-2005 - Adam Back <adam@@cypherspace.org>

   [BUG FIXES]

   hashcash-1.15 - 12-Jan-2005 - Adam Back <adam@@cypherspace.org>

           * make "Hashcash:" be accepted as well as "X-Hashcash:"
             suggestion by Simon Josefsson <jas@@extundo.com>.  This way
             if/when the X- is dropped from hashcash headers we will not
             have a backwards compatibility problem.  (Well not after
             version 1.15).

           * implement the -Z option to compress stamps; in fact the
             usage changed so -Z takes an argument: 0, 1 or 2.  0 =3D not
             compressed, 1 =3D compressed but not so the counter + padding
             is split, and 2 =3D very compressed, but slow.  (Due to a late
             discovered bug 2 is the same as 1 for now until I can fix
             that.)

           * added -O x -sv to request benchtest of core x only

           * make code work with -DOPENSSL, think this slipped during
             integration of Jonathan's libfastmint as it uses some lower
             level openssl APIs internally.  I fixed it but it might be
             a bit openssl version specific, if they changed the state
             fields at any point.  (This change coincidentally I think
             should work around the linking with openssl problem that Hal
             Finney <hal@@finney.org> reported).

           * add libhashcash.a intermediate target to make hashcash more
             convenient to link into other software on linux.  (A
             suggestion from Hal Finney who was trying to link to his
             RPOW system.)

   hashcash-1.14 - 14-Dec-2004 - Adam Back <adam@@cypherspace.org>

           * make hashcash -cX accept continuation lines starting with
             space as well as tab

           * add library function to wrap lines and use it from hashcash
             command line tool.

           * fix long vs time_t prototype mismatch that was giving
             compile errors on BSD; also cleaned up some warnings that
             can be obtained with gcc -Wall.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.1 2004/12/01 12:50:39 tv Exp $
@


