Date: Thu, 18 Jan 2001 14:54:14 +0000 (GMT) From: George Reid <greid@dogma.freebsd-uk.eu.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24432: New port: cryptopp: A free C++ class library of cryptographic schemes Message-ID: <Pine.BSF.4.21.0101181453300.73940-100000@sobek.openirc.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 24432 >Category: ports >Synopsis: New port: cryptopp: A free C++ class library of cryptographic schemes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 18 06:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: George Reid >Release: FreeBSD 5.0-CURRENT i386 >Organization: FreeBSD UKUG >Environment: n/a >Description: Crypto++ is a free C++ class library of cryptographic schemes. Includes: * A class hierarchy with an API defined by abstract base classes * Proposed AES (and RC6, MARS, Twofish, Serpent, CAST-256) * Symmetric block cipers: IDEA, DES/Triple DES,DESX, RC2, RC5, Blowfish, Diamond2, TEA, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square, Skipjack * Generic cipher modes: CBC padded/ciphertext stealing (CTS), CFB, OFB * Stream cipher: Panama, ARC4, SEAL, WAKE, Sapphire, BlumBlumShub * Public key: RSA, DSA, ElGamal, NR, BlumGoldwasser, Rabin/RW, LUC, LUCELG * Padding schemes for PK systems: PKCS#1 v2, OAEP, PSSR, IEEE P1363 EMSA2 * Key agreement schemes: DH, DH2, MQV, LUCDIF, XTR-DH * Elliptic curve cryptography: ECDSA, ENR, EIES, ECDHD, ECMQVC * One-way hash functions: SHA-1/2, MD2/5, HAVAL, RIPEMD-160, Tiger, Panama * Message authentication codes: MD5-MAC, HMAC, XOR-MAC, CBC-MAC, DMAC * Cipher constructions from hash functions: Luby-Rackoff, MD * Pseudorandom number generators: ANSI X9.17 appendix C, PGP's RandPool * Shamir's secret sharing scheme/Rabin's information dispersal algorithm (IDA) * gzip, DEFLATE and zlib format support * Fast multiprecision integer (bignum) and polynomial operations * Prime number generation/verification, base-64 and 32-bit CRC encoding * A high level interface for most of the above - George Reid greid@ukug.uk.freebsd.org >How-To-Repeat: n/a >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: # # cryptopp # cryptopp/Makefile # cryptopp/distinfo # cryptopp/files # cryptopp/files/patch-aa # cryptopp/pkg-plist # cryptopp/pkg-descr # cryptopp/pkg-comment # echo c - cryptopp mkdir -p cryptopp > /dev/null 2>&1 echo x - cryptopp/Makefile sed 's/^X//' >cryptopp/Makefile << 'END-of-cryptopp/Makefile' X# New ports collection makefile for: cryptopp X# Date created: 18 January 2001 X# Whom: George Reid <greid@ukug.uk.freebsd.org> X# X# $FreeBSD$ X# X XPORTNAME= cryptopp XPORTVERSION= 4.1 XCATEGORIES= security XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ X http://www.eskimo.com/~weidai/ XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= crypto${PORTVERSION:S/.//g} X XMAINTAINER= greid@ukug.uk.freebsd.org X XNO_WRKSUBDIR= yes XUSE_ZIP= yes XEXTRACT_BEFORE_ARGS= -aq XUSE_GMAKE= yes XMAKEFILE= GNUmakefile X XHEADERFILES= 3way.h adler32.h aes.h algebra.h arc4.h asn.h base64.h \ X bench.h blowfish.h blumgold.h blumshub.h cast.h cbc.h \ X cbcmac.h channels.h config.h crc.h cryptlib.h des.h \ X default.h dh.h dh2.h diamond.h dmac.h dsa.h ec2n.h \ X eccrypto.h ecp.h elgamal.h eprecomp.h files.h gf256.h \ X filters.h gf2_32.h gf2n.h gost.h gzip.h haval.h hex.h \ X hmac.h hrtimer.h ida.h idea.h integer.h iterhash.h \ X lubyrack.h luc.h mars.h md2.h md5.h md5mac.h mdc.h \ X misc.h modarith.h modes.h modexppc.h mqueue.h mqv.h \ X nbtheory.h network.h nr.h oaep.h oids.h osrng.h \ X panama.h pch.h pkcspad.h polynomi.h pssr.h pubkey.h \ X queue.h rabin.h randpool.h rc2.h rc5.h rc6.h \ X rijndael.h ripemd.h rng.h rsa.h rw.h safer.h \ X sapphire.h seal.h secshare.h serpent.h sha.h shark.h \ X skipjack.h smartptr.h socketft.h square.h tea.h \ X tiger.h twofish.h validate.h wake.h winpipes.h words.h \ X xormac.h xtr.h xtrcrypt.h zdeflate.h zinflate.h zlib.h X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/cryptest ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${PREFIX}/lib X ${MKDIR} ${PREFIX}/include/cryptopp X.for H in ${HEADERFILES} X ${INSTALL_DATA} ${WRKSRC}/$H ${PREFIX}/include/cryptopp X.endfor X.if !defined(NOPORTDOCS) X ${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/README.cryptopp X.endif X X.include <bsd.port.mk> END-of-cryptopp/Makefile echo x - cryptopp/distinfo sed 's/^X//' >cryptopp/distinfo << 'END-of-cryptopp/distinfo' XMD5 (crypto41.zip) = aaaa77cf49a8517d815862219feb4dcd END-of-cryptopp/distinfo echo c - cryptopp/files mkdir -p cryptopp/files > /dev/null 2>&1 echo x - cryptopp/files/patch-aa sed 's/^X//' >cryptopp/files/patch-aa << 'END-of-cryptopp/files/patch-aa' X--- GNUmakefile.orig Thu Jan 18 11:46:13 2001 X+++ GNUmakefile Thu Jan 18 12:36:40 2001 X@@ -1,4 +1,4 @@ X-CXXFLAGS = -O2 -w X+CXXFLAGS += -w X ARFLAGS = cr X RANLIB = ranlib X UNAME = $(shell uname) X@@ -6,7 +6,7 @@ X ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist X CXXFLAGS := $(CXXFLAGS) -mbnu210 X else X-CXXFLAGS := $(CXXFLAGS) -pipe X+CXXFLAGS := $(CXXFLAGS) X endif X X ifeq ($(UNAME),SunOS) X@@ -28,16 +28,16 @@ X TESTOBJS = bench.o test.o validat1.o validat2.o validat3.o X LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS)) X X-all: cryptest.exe X+all: cryptest X X clean: X- $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) X+ $(RM) cryptest libcryptopp.a $(LIBOBJS) $(TESTOBJS) X X libcryptopp.a: $(LIBOBJS) X $(AR) $(ARFLAGS) $@ $(LIBOBJS) X $(RANLIB) $@ X X-cryptest.exe: libcryptopp.a $(TESTOBJS) X+cryptest: libcryptopp.a $(TESTOBJS) X $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) X X .SUFFIXES: .cpp END-of-cryptopp/files/patch-aa echo x - cryptopp/pkg-plist sed 's/^X//' >cryptopp/pkg-plist << 'END-of-cryptopp/pkg-plist' Xbin/cryptest Xlib/libcryptopp.a Xinclude/cryptopp/3way.h Xinclude/cryptopp/adler32.h Xinclude/cryptopp/aes.h Xinclude/cryptopp/algebra.h Xinclude/cryptopp/arc4.h Xinclude/cryptopp/asn.h Xinclude/cryptopp/base64.h Xinclude/cryptopp/bench.h Xinclude/cryptopp/blowfish.h Xinclude/cryptopp/blumgold.h Xinclude/cryptopp/blumshub.h Xinclude/cryptopp/cast.h Xinclude/cryptopp/cbc.h Xinclude/cryptopp/cbcmac.h Xinclude/cryptopp/channels.h Xinclude/cryptopp/config.h Xinclude/cryptopp/crc.h Xinclude/cryptopp/cryptlib.h Xinclude/cryptopp/des.h Xinclude/cryptopp/default.h Xinclude/cryptopp/dh.h Xinclude/cryptopp/dh2.h Xinclude/cryptopp/diamond.h Xinclude/cryptopp/dmac.h Xinclude/cryptopp/dsa.h Xinclude/cryptopp/ec2n.h Xinclude/cryptopp/eccrypto.h Xinclude/cryptopp/ecp.h Xinclude/cryptopp/elgamal.h Xinclude/cryptopp/eprecomp.h Xinclude/cryptopp/files.h Xinclude/cryptopp/gf256.h Xinclude/cryptopp/filters.h Xinclude/cryptopp/gf2_32.h Xinclude/cryptopp/gf2n.h Xinclude/cryptopp/gost.h Xinclude/cryptopp/gzip.h Xinclude/cryptopp/haval.h Xinclude/cryptopp/hex.h Xinclude/cryptopp/hmac.h Xinclude/cryptopp/hrtimer.h Xinclude/cryptopp/ida.h Xinclude/cryptopp/idea.h Xinclude/cryptopp/integer.h Xinclude/cryptopp/iterhash.h Xinclude/cryptopp/lubyrack.h Xinclude/cryptopp/luc.h Xinclude/cryptopp/mars.h Xinclude/cryptopp/md2.h Xinclude/cryptopp/md5.h Xinclude/cryptopp/md5mac.h Xinclude/cryptopp/mdc.h Xinclude/cryptopp/misc.h Xinclude/cryptopp/modarith.h Xinclude/cryptopp/modes.h Xinclude/cryptopp/modexppc.h Xinclude/cryptopp/mqueue.h Xinclude/cryptopp/mqv.h Xinclude/cryptopp/nbtheory.h Xinclude/cryptopp/network.h Xinclude/cryptopp/nr.h Xinclude/cryptopp/oaep.h Xinclude/cryptopp/oids.h Xinclude/cryptopp/osrng.h Xinclude/cryptopp/panama.h Xinclude/cryptopp/pch.h Xinclude/cryptopp/pkcspad.h Xinclude/cryptopp/polynomi.h Xinclude/cryptopp/pssr.h Xinclude/cryptopp/pubkey.h Xinclude/cryptopp/queue.h Xinclude/cryptopp/rabin.h Xinclude/cryptopp/randpool.h Xinclude/cryptopp/rc2.h Xinclude/cryptopp/rc5.h Xinclude/cryptopp/rc6.h Xinclude/cryptopp/rijndael.h Xinclude/cryptopp/ripemd.h Xinclude/cryptopp/rng.h Xinclude/cryptopp/rsa.h Xinclude/cryptopp/rw.h Xinclude/cryptopp/safer.h Xinclude/cryptopp/sapphire.h Xinclude/cryptopp/seal.h Xinclude/cryptopp/secshare.h Xinclude/cryptopp/serpent.h Xinclude/cryptopp/sha.h Xinclude/cryptopp/shark.h Xinclude/cryptopp/skipjack.h Xinclude/cryptopp/smartptr.h Xinclude/cryptopp/socketft.h Xinclude/cryptopp/square.h Xinclude/cryptopp/tea.h Xinclude/cryptopp/tiger.h Xinclude/cryptopp/twofish.h Xinclude/cryptopp/validate.h Xinclude/cryptopp/wake.h Xinclude/cryptopp/winpipes.h Xinclude/cryptopp/words.h Xinclude/cryptopp/xormac.h Xinclude/cryptopp/xtr.h Xinclude/cryptopp/xtrcrypt.h Xinclude/cryptopp/zdeflate.h Xinclude/cryptopp/zinflate.h Xinclude/cryptopp/zlib.h Xshare/doc/README.cryptopp X@dirrm include/cryptopp END-of-cryptopp/pkg-plist echo x - cryptopp/pkg-descr sed 's/^X//' >cryptopp/pkg-descr << 'END-of-cryptopp/pkg-descr' XCrypto++ is a free C++ class library of cryptographic schemes. Includes: X X* A class hierarchy with an API defined by abstract base classes X* Proposed AES (and RC6, MARS, Twofish, Serpent, CAST-256) X* Symmetric block cipers: IDEA, DES/Triple DES,DESX, RC2, RC5, Blowfish, X Diamond2, TEA, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square, Skipjack X* Generic cipher modes: CBC padded/ciphertext stealing (CTS), CFB, OFB X* Stream cipher: Panama, ARC4, SEAL, WAKE, Sapphire, BlumBlumShub X* Public key: RSA, DSA, ElGamal, NR, BlumGoldwasser, Rabin/RW, LUC, LUCELG X* Padding schemes for PK systems: PKCS#1 v2, OAEP, PSSR, IEEE P1363 EMSA2 X* Key agreement schemes: DH, DH2, MQV, LUCDIF, XTR-DH X* Elliptic curve cryptography: ECDSA, ENR, EIES, ECDHD, ECMQVC X* One-way hash functions: SHA-1/2, MD2/5, HAVAL, RIPEMD-160, Tiger, Panama X* Message authentication codes: MD5-MAC, HMAC, XOR-MAC, CBC-MAC, DMAC X* Cipher constructions from hash functions: Luby-Rackoff, MD X* Pseudorandom number generators: ANSI X9.17 appendix C, PGP's RandPool X* Shamir's secret sharing scheme/Rabin's information dispersal algorithm (IDA) X* gzip, DEFLATE and zlib format support X* Fast multiprecision integer (bignum) and polynomial operations X* Prime number generation/verification, base-64 and 32-bit CRC encoding X* A high level interface for most of the above X X- George Reid Xgreid@ukug.uk.freebsd.org END-of-cryptopp/pkg-descr echo x - cryptopp/pkg-comment sed 's/^X//' >cryptopp/pkg-comment << 'END-of-cryptopp/pkg-comment' XA free C++ class library of cryptographic schemes END-of-cryptopp/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101181453300.73940-100000>