And another update of a hs-port maintained by jasper-the-slacker... Update to 0.8.
Required for a new port (hs-cprng-aes) which is in turn required for the update of hs-snap. Doesn't break the build or the ghc-ish library signatures of existing packages depending on it (that's hs-tls-0.8.1p0 hs-cryptocipher-0.2.8p1 hs-cryptohash-0.7.0p0). Please note that you also need the new port security/hs-entropy I sent a few minutes ago to ports@. ok? Ciao, Kili Index: Makefile =================================================================== RCS file: /cvs/ports/security/hs-crypto-api/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile 16 Sep 2011 11:41:38 -0000 1.4 +++ Makefile 21 Jan 2012 17:39:03 -0000 @@ -2,8 +2,7 @@ COMMENT= generic interface for cryptographic operations -DISTNAME= crypto-api-0.6.1 -REVISION= 0 +DISTNAME= crypto-api-0.8 CATEGORIES= security net HOMEPAGE= http://trac.haskell.org/crypto-api/wiki @@ -20,9 +19,10 @@ MODULES= lang/ghc MODGHC_BUILD = cabal hackage haddock register -RUN_DEPENDS = hs-cereal->=0.2,<0.4:devel/hs-cereal \ +RUN_DEPENDS = devel/hs-cereal>=0.2,<0.4 \ devel/hs-largeword \ - hs-tagged->=0.1,<0.3:devel/hs-tagged + devel/hs-tagged>=0.1,<0.3 \ + security/hs-entropy BUILD_DEPENDS = ${RUN_DEPENDS} .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/security/hs-crypto-api/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 23 Apr 2011 20:24:04 -0000 1.3 +++ distinfo 21 Jan 2012 17:39:03 -0000 @@ -1,5 +1,5 @@ -MD5 (ghc/crypto-api-0.6.1.tar.gz) = qFEo92lT6UKqrwYjhWoCDw== -RMD160 (ghc/crypto-api-0.6.1.tar.gz) = PvTEKXI0NzctiniqGuaeb5adtwU= -SHA1 (ghc/crypto-api-0.6.1.tar.gz) = Oq44I0+Q5xOEkTBCpGFajLxc/ew= -SHA256 (ghc/crypto-api-0.6.1.tar.gz) = fIv2xzp85SAfHRRBMi+9UOMRm6hOoUZ1UfxlQ2tKKBo= -SIZE (ghc/crypto-api-0.6.1.tar.gz) = 3701227 +MD5 (ghc/crypto-api-0.8.tar.gz) = 7Sb1o3OFuNrmLLB6lL4N1w== +RMD160 (ghc/crypto-api-0.8.tar.gz) = JqPbCKaDNfhaubdMxcFTXk+olUM= +SHA1 (ghc/crypto-api-0.8.tar.gz) = kAeDGejUI3MKQuzTe7aiM3kkALM= +SHA256 (ghc/crypto-api-0.8.tar.gz) = SAzGhuscL5Zotnw48lVBcBL9ZqW2ExXyRmSInZZTk7s= +SIZE (ghc/crypto-api-0.8.tar.gz) = 42443 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/security/hs-crypto-api/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 8 Dec 2010 23:28:29 -0000 1.1.1.1 +++ pkg/DESCR 21 Jan 2012 17:39:03 -0000 @@ -1,8 +1 @@ -Generic interface for cryptographic operations, platform independent -quality RNG, property tests and known-answer tests (KATs) for common -algorithms, and a basic benchmark infrastructure. Maintainers of hash -and cipher implementations are encouraged to add instances for the -classes defined in Crypto.Classes. Crypto users are similarly encouraged -to use the interfaces defined in the Classes module. Any concepts or -functions of general use to more than one cryptographic algorithm (ex: -padding) is within scope of this package. +Generic interface for cryptographic operations (hashes, ciphers, randomness). Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/hs-crypto-api/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 12 Apr 2011 10:42:52 -0000 1.3 +++ pkg/PLIST 21 Jan 2012 17:39:03 -0000 @@ -10,9 +10,6 @@ lib/ghc/${DISTNAME}/Crypto/Random.hi lib/ghc/${DISTNAME}/Crypto/Types.hi lib/ghc/${DISTNAME}/Crypto/Util.hi lib/ghc/${DISTNAME}/HS${DISTNAME}.o -lib/ghc/${DISTNAME}/System/ -lib/ghc/${DISTNAME}/System/Crypto/ -lib/ghc/${DISTNAME}/System/Crypto/Random.hi lib/ghc/${DISTNAME}/libHS${DISTNAME}.a lib/ghc/${DISTNAME}/register.sh @exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0 @@ -27,7 +24,6 @@ share/doc/hs-${DISTNAME}/html/Crypto-Mod share/doc/hs-${DISTNAME}/html/Crypto-Padding.html share/doc/hs-${DISTNAME}/html/Crypto-Random.html share/doc/hs-${DISTNAME}/html/Crypto-Types.html -share/doc/hs-${DISTNAME}/html/System-Crypto-Random.html share/doc/hs-${DISTNAME}/html/crypto-api.haddock share/doc/hs-${DISTNAME}/html/doc-index.html share/doc/hs-${DISTNAME}/html/frames.html @@ -41,176 +37,7 @@ share/doc/hs-${DISTNAME}/html/mini_Crypt share/doc/hs-${DISTNAME}/html/mini_Crypto-Padding.html share/doc/hs-${DISTNAME}/html/mini_Crypto-Random.html share/doc/hs-${DISTNAME}/html/mini_Crypto-Types.html -share/doc/hs-${DISTNAME}/html/mini_System-Crypto-Random.html share/doc/hs-${DISTNAME}/html/minus.gif share/doc/hs-${DISTNAME}/html/ocean.css share/doc/hs-${DISTNAME}/html/plus.gif share/doc/hs-${DISTNAME}/html/synopsis.png -share/hs-${DISTNAME}/ -share/hs-${DISTNAME}/Test/ -share/hs-${DISTNAME}/Test/KAT_AES/ -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey256e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt128d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt128e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt192d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt192e.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt256d.txt -share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt256e.txt -share/hs-${DISTNAME}/Test/KAT_HMAC/ -share/hs-${DISTNAME}/Test/KAT_HMAC/HMAC.txt -share/hs-${DISTNAME}/Test/KAT_SHA/ -share/hs-${DISTNAME}/Test/KAT_SHA/SHA1LongMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA1ShortMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA224LongMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA224ShortMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA256LongMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA256ShortMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA384LongMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA384ShortMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA512LongMsg.txt -share/hs-${DISTNAME}/Test/KAT_SHA/SHA512ShortMsg.txt -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ -share/hs-${DISTNAME}/Test/KAT_TWOFISH/CBC_D_M.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/CBC_E_M.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_D_M.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_E_M.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_TBL.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_VK.TXT -share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_VT.TXT