ports/62138: [New Port] mail/hashcash

David Bremner bremner at unb.ca
Sat Jan 31 00:40:17 UTC 2004


>Number:         62138
>Category:       ports
>Synopsis:       [New Port] mail/hashcash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 16:40:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Bremner
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
U. New Brunswick
>Environment:
System: FreeBSD convex.cs.unb.ca 5.2-RELEASE FreeBSD 5.2-RELEASE #10: Tue Jan 13 15:08:03 AST 2004 bremner at convex.cs.unb.ca:/usr/obj/usr/src/sys/CONVEX2 i386


	
>Description:
	Hashcash is used to sign email with a token guaranteeing that
	it took some computation to send.	
	
>How-To-Repeat:
	
>Fix:

	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hashcash
#	hashcash/files
#	hashcash/files/patch-Makefile
#	hashcash/files/patch-hashcash-h
#	hashcash/Makefile
#	hashcash/distinfo
#	hashcash/pkg-descr
#	hashcash/pkg-plist
#
echo c - hashcash
mkdir -p hashcash > /dev/null 2>&1
echo c - hashcash/files
mkdir -p hashcash/files > /dev/null 2>&1
echo x - hashcash/files/patch-Makefile
sed 's/^X//' >hashcash/files/patch-Makefile << 'END-of-hashcash/files/patch-Makefile'
X*** Makefile~	Fri Sep 26 02:28:03 2003
X--- Makefile	Fri Jan 30 14:16:37 2004
X***************
X*** 1,6 ****
X  HC_VERS = 0.28
X! INSTALL_PATH = /usr/local/bin
X! MAN_INSTALL_PATH = /usr/share/man/man1
X  MAKEDEPEND = makedepend
X  COPT = -O3
X  LDFLAGS = $(CARCH)
X--- 1,6 ----
X  HC_VERS = 0.28
X! INSTALL_PATH = ${PREFIX}/bin
X! MAN_INSTALL_PATH = ${PREFIX}/man/man1
X  MAKEDEPEND = makedepend
X  COPT = -O3
X  LDFLAGS = $(CARCH)
END-of-hashcash/files/patch-Makefile
echo x - hashcash/files/patch-hashcash-h
sed 's/^X//' >hashcash/files/patch-hashcash-h << 'END-of-hashcash/files/patch-hashcash-h'
X*** hashcash.h~	Fri Sep 26 02:28:03 2003
X--- hashcash.h	Fri Jan 30 14:13:22 2004
X***************
X*** 130,136 ****
X  /* simple function calling hashcash_parse, hashcash_count for convenience */
X  
X  int hashcash_check( const char* token, const char* resource, time_t now_time, 
X! 		    time_t validity_period, long grace_period, 
X  		    int required_bits );
X  
X  /* return how many tries per second the machine can do */
X--- 130,136 ----
X  /* simple function calling hashcash_parse, hashcash_count for convenience */
X  
X  int hashcash_check( const char* token, const char* resource, time_t now_time, 
X! 		    time_t validity_period, time_t grace_period, 
X  		    int required_bits );
X  
X  /* return how many tries per second the machine can do */
END-of-hashcash/files/patch-hashcash-h
echo x - hashcash/Makefile
sed 's/^X//' >hashcash/Makefile << 'END-of-hashcash/Makefile'
X# New ports collection makefile for:   hashcash
X# Date created:        Jan 30, 2003
X# Whom:                bremner at unb.ca
X#
X# $FreeBSD$
X#
X
XPORTNAME=      	hashcash
XPORTVERSION=   	0.28
XCATEGORIES=    	mail
XMASTER_SITES=  	http://www.cypherspace.org/hashcash/source/
XEXTRACT_SUFX=.tgz
X
XMAINTAINER=    	bremner at unb.ca
XCOMMENT= 	Anti-spam / denial of service counter-measure tool
X
XMAN1=hashcash.1 sha1.1
X
X.include <bsd.port.mk>
END-of-hashcash/Makefile
echo x - hashcash/distinfo
sed 's/^X//' >hashcash/distinfo << 'END-of-hashcash/distinfo'
XMD5 (hashcash-0.28.tgz) = 8c929d963fcb6240af251cca5990d741
END-of-hashcash/distinfo
echo x - hashcash/pkg-descr
sed 's/^X//' >hashcash/pkg-descr << 'END-of-hashcash/pkg-descr'
XThe hashcash tool allows you to create hashcash tokens to attach to
Xemails you send, and to verify hashcash tokens attached to emails you
Xreceive. A hashcash token constitutes a proof-of-work which takes a
Xparameterizable amount of work to compute for the sender.  
END-of-hashcash/pkg-descr
echo x - hashcash/pkg-plist
sed 's/^X//' >hashcash/pkg-plist << 'END-of-hashcash/pkg-plist'
Xbin/hashcash
Xbin/sha1
END-of-hashcash/pkg-plist
exit




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list