Hi, this diff updates devel/cryptopp to v. 5.6.1. An update for amule will follow...
ciao, david Index: Makefile =================================================================== RCS file: /cvs/ports/devel/cryptopp/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- Makefile 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ Makefile 11 Oct 2010 15:56:15 -0000 @@ -5,8 +5,8 @@ CATEGORIES = devel security HOMEPAGE = http://www.cryptopp.com/ MASTER_SITES = ${HOMEPAGE} -DISTNAME = cryptopp552 -PKGNAME = cryptopp-5.5.2 +DISTNAME = cryptopp561 +PKGNAME = cryptopp-5.6.1 EXTRACT_SUFX = .zip WRKDIST = ${WRKDIR} @@ -19,13 +19,22 @@ PERMIT_DISTFILES_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_FTP = Yes -SHARED_LIBS = cryptopp 0.0 +SHARED_LIBS = cryptopp 1.0 + +WANTLIB += m stdc++ USE_GMAKE = Yes -MAKE_FLAGS = CXXFLAGS="-DNDEBUG -pthread ${CXXFLAGS}" PREFIX=${PREFIX} \ + +# "-Wall" produces a lot of useless and distracting warnings +# upstream is aware of this situation +MAKE_FLAGS = CXXFLAGS="${CXXFLAGS:C/-Wall//}\ + -pthread -fPIC -DNDEBUG -DCRYPTOPP_DISABLE_SSSE3" \ + PREFIX=${PREFIX} \ LIBcryptopp_VERSION=${LIBcryptopp_VERSION} MAKE_FILE = ${WRKDIR}/GNUmakefile -NO_REGRESS = Yes + +REGRESS_FLAGS = WRKDIR=${WRKDIR} +REGRESS_TARGET =test do-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/cryptopp Index: distinfo =================================================================== RCS file: /cvs/ports/devel/cryptopp/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ distinfo 11 Oct 2010 15:56:15 -0000 @@ -1,5 +1,5 @@ -MD5 (cryptopp552.zip) = qIm+nZrVwgLJJfsQXKpIVw== -RMD160 (cryptopp552.zip) = iSl5W2VNcYays4cU0ipX6gGGLb0= -SHA1 (cryptopp552.zip) = GO/kUbPGgvQNt13CsJy0SKg159Y= -SHA256 (cryptopp552.zip) = B4+N6wM+JhlYK06eRiu6xRJ7De+8/qScNYO+MflAp1k= -SIZE (cryptopp552.zip) = 992073 +MD5 (cryptopp561.zip) = lsvroJB1YrB34mvP+0g4KA== +RMD160 (cryptopp561.zip) = qKW4DJlcXU3a+6IoyviGZCUhL78= +SHA1 (cryptopp561.zip) = Mdu0VsIfUIZSGMV7fq9MlVoiK6E= +SHA256 (cryptopp561.zip) = mOdNjLF6OAMzVFGayLqcXZim3AC/XR7DxTPC6OyG8mg= +SIZE (cryptopp561.zip) = 1069703 Index: patches/patch-GNUmakefile =================================================================== RCS file: /cvs/ports/devel/cryptopp/patches/patch-GNUmakefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-GNUmakefile --- patches/patch-GNUmakefile 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ patches/patch-GNUmakefile 11 Oct 2010 15:56:15 -0000 @@ -1,20 +1,142 @@ $OpenBSD: patch-GNUmakefile,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- GNUmakefile.orig Sun Sep 23 21:03:14 2007 -+++ GNUmakefile Sun Jun 15 10:30:30 2008 -@@ -102,7 +102,15 @@ LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o) - TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o) - DLLTESTOBJS = dlltest.dllonly.o - --all: cryptest.exe -+SHARED_LIB = libcryptopp.so.${LIBcryptopp_VERSION} -+ -+all: libcryptopp.a ${SHARED_LIB} -+ -+${SHARED_LIB}: ${LIBOBJS} -+ $(CXX) -shared -o $@ $(CXXFLAGS) $(LIBOBJS) $(LDFLAGS) -+ -+regress: cryptest.exe -+ LD_LIBRARY_PATH=. ./cryptest.exe - - clean: - $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) +--- GNUmakefile.orig Mon Aug 9 14:22:42 2010 ++++ GNUmakefile Mon Oct 11 17:11:44 2010 +@@ -10,111 +10,12 @@ RANLIB = ranlib + CP = cp + MKDIR = mkdir + EGREP = egrep +-UNAME = $(shell uname) +-ISX86 = $(shell uname -m | $(EGREP) -c "i.86|x86|i86|amd64") + + # Default prefix for make install + ifeq ($(PREFIX),) + PREFIX = /usr + endif + +-ifeq ($(CXX),gcc) # for some reason CXX is gcc on cygwin 1.1.4 +-CXX = g++ +-endif +- +-ifeq ($(ISX86),1) +- +-GCC42_OR_LATER = $(shell $(CXX) -v 2>&1 | $(EGREP) -c "^gcc version (4.[2-9]|[5-9])") +-INTEL_COMPILER = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "\(ICC\)") +-ICC111_OR_LATER = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "\(ICC\) ([2-9][0-9]|1[2-9]|11\.[1-9])") +-IS_SUN_CC = $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: Sun") +-GAS210_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.[1-9][0-9]|[3-9])") +-GAS217_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.1[7-9]|2\.[2-9]|[3-9])") +-GAS219_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.19|2\.[2-9]|[3-9])") +-ISMINGW = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "mingw") +- +-ifneq ($(GCC42_OR_LATER),0) +-ifeq ($(UNAME),Darwin) +-CXXFLAGS += -arch x86_64 -arch i386 +-else +-CXXFLAGS += -march=native +-endif +-endif +- +-ifneq ($(INTEL_COMPILER),0) +-CXXFLAGS += -wd68 -wd186 -wd279 -wd327 +-ifeq ($(ICC111_OR_LATER),0) +-# "internal error: backend signals" occurs on some x86 inline assembly with ICC 9 and some x64 inline assembly with ICC 11.0 +-# if you want to use Crypto++'s assembly code with ICC, try enabling it on individual files +-CXXFLAGS += -DCRYPTOPP_DISABLE_ASM +-endif +-endif +- +-ifeq ($(GAS210_OR_LATER),0) # .intel_syntax wasn't supported until GNU assembler 2.10 +-CXXFLAGS += -DCRYPTOPP_DISABLE_ASM +-else +-ifeq ($(GAS217_OR_LATER),0) +-CXXFLAGS += -DCRYPTOPP_DISABLE_SSSE3 +-else +-ifeq ($(GAS219_OR_LATER),0) +-CXXFLAGS += -DCRYPTOPP_DISABLE_AESNI +-endif +-endif +-ifeq ($(UNAME),SunOS) +-CXXFLAGS += -Wa,--divide # allow use of "/" operator +-endif +-endif +- +-ifeq ($(ISMINGW),1) +-LDLIBS += -lws2_32 +-endif +- +-endif # ISX86 +- +-ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist +-CXXFLAGS += -mbnu210 +-else +-CXXFLAGS += -pipe +-endif +- +-ifeq ($(UNAME),Linux) +-LDFLAGS += -pthread +-ifneq ($(shell uname -i | $(EGREP) -c "(_64|d64)"),0) +-M32OR64 = -m64 +-endif +-endif +- +-ifeq ($(UNAME),Darwin) +-AR = libtool +-ARFLAGS = -static -o +-CXX = c++ +-IS_GCC2 = $(shell $(CXX) -v 2>&1 | $(EGREP) -c gcc-932) +-ifeq ($(IS_GCC2),1) +-CXXFLAGS += -fno-coalesce-templates -fno-coalesce-static-vtables +-LDLIBS += -lstdc++ +-LDFLAGS += -flat_namespace -undefined suppress -m +-endif +-endif +- +-ifeq ($(UNAME),SunOS) +-LDLIBS += -lnsl -lsocket +-M32OR64 = -m$(shell isainfo -b) +-endif +- +-ifneq ($(IS_SUN_CC),0) # override flags for CC Sun C++ compiler +-CXXFLAGS = -DNDEBUG -O -g0 -native -template=no%extdef $(M32OR64) +-LDFLAGS = +-AR = $(CXX) +-ARFLAGS = -xar -o +-RANLIB = true +-SUN_CC10_BUGGY = $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: Sun .* 5\.10 .* (2009|2010/0[1-4])") +-ifneq ($(SUN_CC10_BUGGY),0) +-# -DCRYPTOPP_INCLUDE_VECTOR_CC is needed for Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 and was fixed in May 2010 +-# remove it if you get "already had a body defined" errors in vector.cc +-CXXFLAGS += -DCRYPTOPP_INCLUDE_VECTOR_CC +-endif +-endif +- + SRCS = $(wildcard *.cpp) + ifeq ($(SRCS),) # workaround wildcard function bug in GNU Make 3.77 + SRCS = $(shell echo *.cpp) +@@ -131,10 +32,15 @@ LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o) + TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o) + DLLTESTOBJS = dlltest.dllonly.o + +-all: cryptest.exe ++SHARED_LIB = libcryptopp.so.${LIBcryptopp_VERSION} + ++all: libcryptopp.a ${SHARED_LIB} ++ ++${SHARED_LIB}: ${LIBOBJS} ++ $(CXX) -shared -o $@ $(CXXFLAGS) $(LIBOBJS) $(LDFLAGS) ++ + test: cryptest.exe +- ./cryptest.exe v ++ LD_LIBRARY_PATH=${WRKDIR}:${LD_LIBRARY_PATH} ./cryptest.exe v + + clean: + $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) +@@ -154,7 +60,7 @@ libcryptopp.so: $(LIBOBJS) + $(CXX) -shared -o $@ $(LIBOBJS) + + cryptest.exe: libcryptopp.a $(TESTOBJS) +- $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) ++ $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L${WRKDIR} -lcryptopp $(LDFLAGS) $(LDLIBS) + + nolib: $(OBJS) # makes it faster to test changes + $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS) Index: patches/patch-algebra_h =================================================================== RCS file: patches/patch-algebra_h diff -N patches/patch-algebra_h --- patches/patch-algebra_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,22 +0,0 @@ -$OpenBSD: patch-algebra_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- algebra.h.orig Wed Jun 18 13:43:58 2008 -+++ algebra.h Fri Jun 20 15:06:45 2008 -@@ -47,7 +47,8 @@ template <class T> class CRYPTOPP_NO_VTABLE AbstractRi - typedef T Element; - - AbstractRing() {m_mg.m_pRing = this;} -- AbstractRing(const AbstractRing &source) {m_mg.m_pRing = this;} -+ AbstractRing(const AbstractRing &source): AbstractGroup<T>(source) -+ {m_mg.m_pRing = this;} - AbstractRing& operator=(const AbstractRing &source) {return *this;} - - virtual bool IsUnit(const Element &a) const =0; -@@ -120,7 +121,7 @@ struct BaseAndExponent - { - public: - BaseAndExponent() {} -- BaseAndExponent(const T &base, const E &exponent) : base(base), exponent(exponent) {} -+ BaseAndExponent(const T &b, const E &e) : base(b), exponent(e) {} - bool operator<(const BaseAndExponent<T, E> &rhs) const {return exponent < rhs.exponent;} - T base; - E exponent; Index: patches/patch-algparam_h =================================================================== RCS file: patches/patch-algparam_h diff -N patches/patch-algparam_h --- patches/patch-algparam_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,44 +0,0 @@ -$OpenBSD: patch-algparam_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- algparam.h.orig Wed Jun 18 13:46:19 2008 -+++ algparam.h Fri Jun 20 15:05:20 2008 -@@ -17,9 +17,9 @@ class ConstByteArrayParameter (public) - { - Assign((const byte *)data, data ? strlen(data) : 0, deepCopy); - } -- ConstByteArrayParameter(const byte *data, size_t size, bool deepCopy = false) -+ ConstByteArrayParameter(const byte *data, size_t sz, bool deepCopy = false) - { -- Assign(data, size, deepCopy); -+ Assign(data, sz, deepCopy); - } - template <class T> ConstByteArrayParameter(const T &string, bool deepCopy = false) - { -@@ -27,14 +27,14 @@ class ConstByteArrayParameter (public) - Assign((const byte *)string.data(), string.size(), deepCopy); - } - -- void Assign(const byte *data, size_t size, bool deepCopy) -+ void Assign(const byte *data, size_t sz, bool deepCopy) - { - if (deepCopy) -- m_block.Assign(data, size); -+ m_block.Assign(data, sz); - else - { - m_data = data; -- m_size = size; -+ m_size = sz; - } - m_deepCopy = deepCopy; - } -@@ -53,8 +53,8 @@ class ConstByteArrayParameter (public) - class ByteArrayParameter - { - public: -- ByteArrayParameter(byte *data = NULL, unsigned int size = 0) -- : m_data(data), m_size(size) {} -+ ByteArrayParameter(byte *data = NULL, unsigned int sz = 0) -+ : m_data(data), m_size(sz) {} - ByteArrayParameter(SecByteBlock &block) - : m_data(block.begin()), m_size(block.size()) {} - Index: patches/patch-config_h =================================================================== RCS file: patches/patch-config_h diff -N patches/patch-config_h --- patches/patch-config_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-config_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- config.h.orig Wed Jun 18 13:40:59 2008 -+++ config.h Wed Jun 18 13:41:28 2008 -@@ -272,7 +272,7 @@ NAMESPACE_END - - // SSSE3 was actually introduced in GNU as 2.17, which was released 6/23/2006, but we can't tell what version of binutils is installed. - // GCC 4.1.2 was released on 2/13/2007, so we'll use that as a proxy for the binutils version. -- #if !defined(CRYPTOPP_DISABLE_SSSE3) && (_MSC_VER >= 1400 || CRYPTOPP_GCC_VERSION >= 40102) -+ #if !defined(CRYPTOPP_DISABLE_SSSE3) && (defined(_MSC_VER) && _MSC_VER >= 1400 || CRYPTOPP_GCC_VERSION >= 40102) - #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 1 - #else - #define CRYPTOPP_BOOL_SSSE3_ASM_AVAILABLE 0 Index: patches/patch-misc_h =================================================================== RCS file: patches/patch-misc_h diff -N patches/patch-misc_h --- patches/patch-misc_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,39 +0,0 @@ -$OpenBSD: patch-misc_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- misc.h.orig Wed Jun 18 13:42:22 2008 -+++ misc.h Fri Jun 20 13:36:34 2008 -@@ -146,7 +146,7 @@ retry: - - // ************** misc functions *************** - --#if (!__STDC_WANT_SECURE_LIB__) -+#if (!defined(__STDC_WANT_SECURE_LIB__) || !__STDC_WANT_SECURE_LIB__) - inline void memcpy_s(void *dest, size_t sizeInBytes, const void *src, size_t count) - { - if (count > sizeInBytes) -@@ -322,7 +322,7 @@ inline unsigned int GetAlignmentOf(T *dummy=NULL) // V - return 1; // alignment not needed on x86 and x64 - #endif - --#if (_MSC_VER >= 1300) -+#if defined(_MSC_VER) && (_MSC_VER >= 1300) - return __alignof(T); - #elif defined(__GNUC__) - return __alignof__(T); -@@ -487,7 +487,7 @@ template<> inline word32 rotrMod<word32>(word32 x, uns - - #endif // #ifdef _MSC_VER - --#if _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) -+#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) - // Intel C++ Compiler 10.0 calls a function instead of using the rotate instruction when using these instructions - - template<> inline word64 rotlFixed<word64>(word64 x, unsigned int y) -@@ -526,7 +526,7 @@ template<> inline word64 rotrMod<word64>(word64 x, uns - - #endif // #if _MSC_VER >= 1310 - --#if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) -+#if defined(_MSC_VER) && _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) - // Intel C++ Compiler 10.0 gives undefined externals with these - - template<> inline word16 rotlFixed<word16>(word16 x, unsigned int y) Index: patches/patch-modarith_h =================================================================== RCS file: patches/patch-modarith_h diff -N patches/patch-modarith_h --- patches/patch-modarith_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-modarith_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- modarith.h.orig Wed Jun 18 13:44:33 2008 -+++ modarith.h Fri Jun 20 13:58:36 2008 -@@ -27,7 +27,7 @@ class CRYPTOPP_DLL ModularArithmetic : public Abstract - : m_modulus(modulus), m_result((word)0, modulus.reg.size()) {} - - ModularArithmetic(const ModularArithmetic &ma) -- : m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()) {} -+ : AbstractRing<Integer>(ma), m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()) {} - - ModularArithmetic(BufferedTransformation &bt); // construct from BER encoded parameters - Index: patches/patch-osrng_h =================================================================== RCS file: patches/patch-osrng_h diff -N patches/patch-osrng_h --- patches/patch-osrng_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-osrng_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- osrng.h.orig Fri Jun 20 14:58:43 2008 -+++ osrng.h Fri Jun 20 15:01:52 2008 -@@ -140,7 +140,7 @@ void AutoSeededX917RNG<BLOCK_CIPHER>::Reseed(bool bloc - - CRYPTOPP_DLL_TEMPLATE_CLASS AutoSeededX917RNG<AES>; - --#if CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2 -+#if defined(CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2) && CRYPTOPP_ENABLE_COMPLIANCE_WITH_FIPS_140_2 - typedef AutoSeededX917RNG<AES> DefaultAutoSeededRNG; - #else - typedef AutoSeededRandomPool DefaultAutoSeededRNG; Index: patches/patch-secblock_h =================================================================== RCS file: patches/patch-secblock_h diff -N patches/patch-secblock_h --- patches/patch-secblock_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,23 +0,0 @@ -$OpenBSD: patch-secblock_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- secblock.h.orig Wed Jun 18 13:43:26 2008 -+++ secblock.h Wed Jun 18 13:43:49 2008 -@@ -156,7 +156,7 @@ class AllocatorWithCleanup : public AllocatorBase<T> - // VS.NET STL enforces the policy of "All STL-compliant allocators have to provide a - // template class member called rebind". - template <class U> struct rebind { typedef AllocatorWithCleanup<U, T_Align16> other; }; --#if _MSC_VER >= 1500 -+#if defined(_MSC_VER) && _MSC_VER >= 1500 - AllocatorWithCleanup() {} - template <class U, bool A> AllocatorWithCleanup(const AllocatorWithCleanup<U, A> &) {} - #endif -@@ -279,8 +279,8 @@ class SecBlock (public) - typedef typename A::const_pointer const_iterator; - typedef typename A::size_type size_type; - -- explicit SecBlock(size_type size=0) -- : m_size(size) {m_ptr = m_alloc.allocate(size, NULL);} -+ explicit SecBlock(size_type sz=0) -+ : m_size(sz) {m_ptr = m_alloc.allocate(sz, NULL);} - SecBlock(const SecBlock<T, A> &t) - : m_size(t.m_size) {m_ptr = m_alloc.allocate(m_size, NULL); memcpy_s(m_ptr, m_size*sizeof(T), t.m_ptr, m_size*sizeof(T));} - SecBlock(const T *t, size_type len) Index: patches/patch-smartptr_h =================================================================== RCS file: patches/patch-smartptr_h diff -N patches/patch-smartptr_h --- patches/patch-smartptr_h 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-smartptr_h,v 1.1.1.1 2008/08/26 14:57:58 espie Exp $ ---- smartptr.h.orig Wed Jun 18 13:41:43 2008 -+++ smartptr.h Wed Jun 18 13:42:09 2008 -@@ -189,8 +189,8 @@ template <class T> counted_ptr<T> & counted_ptr<T>::op - template <class T> class vector_member_ptrs - { - public: -- vector_member_ptrs(size_t size=0) -- : m_size(size), m_ptr(new member_ptr<T>[size]) {} -+ vector_member_ptrs(size_t sz=0) -+ : m_size(sz), m_ptr(new member_ptr<T>[sz]) {} - ~vector_member_ptrs() - {delete [] this->m_ptr;} - Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/cryptopp/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 26 Aug 2008 14:57:58 -0000 1.1.1.1 +++ pkg/PLIST 11 Oct 2010 15:56:15 -0000 @@ -9,6 +9,7 @@ include/cryptopp/algparam.h include/cryptopp/arc4.h include/cryptopp/argnames.h include/cryptopp/asn.h +include/cryptopp/authenc.h include/cryptopp/base32.h include/cryptopp/base64.h include/cryptopp/basecode.h @@ -18,7 +19,9 @@ include/cryptopp/blumshub.h include/cryptopp/camellia.h include/cryptopp/cast.h include/cryptopp/cbcmac.h +include/cryptopp/ccm.h include/cryptopp/channels.h +include/cryptopp/cmac.h include/cryptopp/config.h include/cryptopp/cpu.h include/cryptopp/crc.h @@ -30,6 +33,7 @@ include/cryptopp/dh2.h include/cryptopp/dll.h include/cryptopp/dmac.h include/cryptopp/dsa.h +include/cryptopp/eax.h include/cryptopp/ec2n.h include/cryptopp/eccrypto.h include/cryptopp/ecp.h @@ -42,6 +46,7 @@ include/cryptopp/files.h include/cryptopp/filters.h include/cryptopp/fips140.h include/cryptopp/fltrimpl.h +include/cryptopp/gcm.h include/cryptopp/gf256.h include/cryptopp/gf2_32.h include/cryptopp/gf2n.h @@ -98,6 +103,7 @@ include/cryptopp/salsa.h include/cryptopp/seal.h include/cryptopp/secblock.h include/cryptopp/seckey.h +include/cryptopp/seed.h include/cryptopp/serpent.h include/cryptopp/serpentp.h include/cryptopp/sha.h