diff options
author | 2011-07-21 16:20:46 -0400 | |
---|---|---|
committer | 2011-07-21 16:20:46 -0400 | |
commit | 26639a41253141063c60ad267ec7911ab7b691a0 (patch) | |
tree | 91d0b6666ffd1d960cd0f883888bb5d31b55b7a3 | |
parent | Remove sys-power/cpufrequtils (diff) | |
download | loongson-26639a41253141063c60ad267ec7911ab7b691a0.tar.gz loongson-26639a41253141063c60ad267ec7911ab7b691a0.tar.bz2 loongson-26639a41253141063c60ad267ec7911ab7b691a0.zip |
Remove dev-libs/crypto++
Changes are available upstream and in portage in 5.6.1.
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | dev-libs/crypto++/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/crypto++/crypto++-5.6.0-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-libs/crypto++/files/crypto++-5.6.0-fix_build_system.patch | 120 | ||||
-rw-r--r-- | dev-libs/crypto++/files/crypto++-5.6.0-loongson.patch | 13 |
4 files changed, 0 insertions, 189 deletions
diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest deleted file mode 100644 index 2bf6787..0000000 --- a/dev-libs/crypto++/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX crypto++-5.6.0-fix_build_system.patch 4916 RMD160 1d762f637f9dd5cad1ef0fa7edaad9b81f307a67 SHA1 c8968fe8d2dde15e515e43bdc0c78e9bf9720796 SHA256 facbc38cbd310058ed6d9a1d2cc868d00ec6f41b3840267ce701de14abfabe1c -AUX crypto++-5.6.0-loongson.patch 642 RMD160 cbde878b53e5ae0d6b0e2fdaf05bb68de1c9d425 SHA1 9cbe448bd26404fecf6eb8d6885a3615f1653771 SHA256 92b91f31e20f9cc6e3b5b8b7be90a3532d000e1146864adc40497e5c4c0e1dd4 -DIST cryptopp560.zip 1049029 RMD160 82e5061ec76f23643ba5477ab28bbee6eebd393a SHA1 b836783ebd72d5bc6a916620ab2b1ecec316fef1 SHA256 b522f0b5f850b50e9917823ea986f855295407380fafbe30f358875c41998bc5 -EBUILD crypto++-5.6.0-r1.ebuild 1435 RMD160 8eb8e9d828e2026d59cf6d43a1c4887fa30665c8 SHA1 9565abbc70b094d031a3213cfbfe8fc88db06872 SHA256 1006b69f87262ed57b4941ed879dc8b04a70f9b568ed3117846ace77c8888c5d diff --git a/dev-libs/crypto++/crypto++-5.6.0-r1.ebuild b/dev-libs/crypto++/crypto++-5.6.0-r1.ebuild deleted file mode 100644 index 66af13d..0000000 --- a/dev-libs/crypto++/crypto++-5.6.0-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.0-r1.ebuild,v 1.1 2009/07/24 18:01:46 arfrever Exp $ - -EAPI="2" - -inherit eutils flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes" -HOMEPAGE="http://cryptopp.com" -SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip" - -LICENSE="cryptopp" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -DEPEND="app-arch/unzip" -RDEPEND="" -IUSE="sse3" - -S="${WORKDIR}" - -src_prepare() { - epatch "${FILESDIR}/${P}-fix_build_system.patch" - epatch "${FILESDIR}/${P}-loongson.patch" -} - -src_compile() { - # More than -O1 gives problems. - replace-flags -O? -O1 - filter-flags -fomit-frame-pointer - use sse3 || append-flags -DCRYPTOPP_DISABLE_SSE2 - emake -f GNUmakefile \ - LIBDIR="$(get_libdir)" \ - CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die "emake failed" -} - -src_test() { - # Make sure all test vectors have unix line endings. - for file in TestVectors/*; do - edos2unix ${file} - done - - if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test; then - eerror "Crypto++ self-tests failed." - eerror "Try to remove some optimization flags and reemerge Crypto++." - die "emake test failed" - fi; -} - -src_install() { - emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die "emake install failed" -} diff --git a/dev-libs/crypto++/files/crypto++-5.6.0-fix_build_system.patch b/dev-libs/crypto++/files/crypto++-5.6.0-fix_build_system.patch deleted file mode 100644 index abb07e7..0000000 --- a/dev-libs/crypto++/files/crypto++-5.6.0-fix_build_system.patch +++ /dev/null @@ -1,120 +0,0 @@ ---- GNUmakefile -+++ GNUmakefile -@@ -1,3 +1,5 @@ -+LIBTOOL = libtool -+LIBDIR = lib - CXXFLAGS = -DNDEBUG -g -O2 - #CXXFLAGS = -g - # -fPIC is supported. Please report any breakage of -fPIC as a bug. -@@ -7,8 +9,9 @@ - # LDFLAGS += -Wl,--gc-sections - ARFLAGS = -cr # ar needs the dash on OpenBSD - RANLIB = ranlib --CP = cp -+LN_S = ln -s - MKDIR = mkdir -+INSTALL = install - EGREP = egrep - UNAME = $(shell uname) - ISX86 = $(shell uname -m | $(EGREP) -c "i.86|x86|i86|amd64") -@@ -98,42 +101,45 @@ - SRCS = $(shell echo *.cpp) - endif - --OBJS = $(SRCS:.cpp=.o) --# test.o needs to be after bench.o for cygwin 1.1.4 (possible ld bug?) --TESTOBJS = bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o -+OBJS = $(SRCS:.cpp=.lo) -+# test.lo needs to be after bench.lo for cygwin 1.1.4 (possible ld bug?) -+TESTOBJS = bench.lo bench2.lo test.lo validat1.lo validat2.lo validat3.lo adhoc.lo datatest.lo regtest.lo fipsalgt.lo dlltest.lo - LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS)) - - DLLSRCS = algebra.cpp algparam.cpp asn.cpp basecode.cpp cbcmac.cpp channels.cpp cryptlib.cpp des.cpp dessp.cpp dh.cpp dll.cpp dsa.cpp ec2n.cpp eccrypto.cpp ecp.cpp eprecomp.cpp files.cpp filters.cpp fips140.cpp fipstest.cpp gf2n.cpp gfpcrypt.cpp hex.cpp hmac.cpp integer.cpp iterhash.cpp misc.cpp modes.cpp modexppc.cpp mqueue.cpp nbtheory.cpp oaep.cpp osrng.cpp pch.cpp pkcspad.cpp pubkey.cpp queue.cpp randpool.cpp rdtables.cpp rijndael.cpp rng.cpp rsa.cpp sha.cpp simple.cpp skipjack.cpp strciphr.cpp trdlocal.cpp --DLLOBJS = $(DLLSRCS:.cpp=.export.o) --LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o) --TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o) --DLLTESTOBJS = dlltest.dllonly.o -+DLLOBJS = $(DLLSRCS:.cpp=.export.lo) -+LIBIMPORTOBJS = $(LIBOBJS:.lo=.import.lo) -+TESTIMPORTOBJS = $(TESTOBJS:.lo=.import.lo) -+DLLTESTOBJS = dlltest.dllonly.lo - --all: cryptest.exe -+all: libcrypto++.la - --test: cryptest.exe -- ./cryptest.exe v -+test: cryptest -+ ./cryptest 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) -+ $(RM) -f .libs cryptest libcrypto++.* libcryptopp.* $(LIBOBJS) $(TESTOBJS) cryptopp.dll cryptest.import dlltest $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) - - install: -- $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin -- $(CP) *.h $(PREFIX)/include/cryptopp -- $(CP) *.a $(PREFIX)/lib -- $(CP) *.exe $(PREFIX)/bin -+ $(MKDIR) -p $(DESTDIR)$(PREFIX)/include/crypto++ $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ $(INSTALL) -m 644 *.h $(DESTDIR)$(PREFIX)/include/crypto++ -+ $(LN_S) crypto++ $(DESTDIR)$(PREFIX)/include/cryptopp -+ $(LIBTOOL) --mode=install $(INSTALL) libcrypto++.la $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ $(LN_S) libcrypto++.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.a -+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so -+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so.0 -+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so.0.0.0 - --libcryptopp.a: $(LIBOBJS) -- $(AR) $(ARFLAGS) $@ $(LIBOBJS) -- $(RANLIB) $@ -+libcrypto++.la: $(LIBOBJS) -+ $(LIBTOOL) --tag=CC --mode=link $(CXX) $(LDFLAGS) -rpath $(PREFIX)/$(LIBDIR) -o $@ $(LIBOBJS) - --cryptest.exe: libcryptopp.a $(TESTOBJS) -- $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) -+cryptest: libcrypto++.la $(TESTOBJS) -+ $(LIBTOOL) --tag=CC --mode=link $(CXX) $(LDFLAGS) -o $@ $(TESTOBJS) -L. -lcrypto++ $(LDLIBS) - - nolib: $(OBJS) # makes it faster to test changes -- $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS) -+ $(LIBTOOL) --tag=CC --mode=link $(CXX) -o ct $(LDFLAGS) $(OBJS) $(LDLIBS) - --dll: cryptest.import.exe dlltest.exe -+dll: cryptest.import dlltest - - cryptopp.dll: $(DLLOBJS) - $(CXX) -shared -o $@ $(CXXFLAGS) $(DLLOBJS) $(LDFLAGS) $(LDLIBS) -Wl,--out-implib=libcryptopp.dll.a -@@ -142,10 +148,10 @@ - $(AR) $(ARFLAGS) $@ $(LIBIMPORTOBJS) - $(RANLIB) $@ - --cryptest.import.exe: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS) -+cryptest.import: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS) - $(CXX) -o $@ $(CXXFLAGS) $(TESTIMPORTOBJS) -L. -lcryptopp.dll -lcryptopp.import $(LDFLAGS) $(LDLIBS) - --dlltest.exe: cryptopp.dll $(DLLTESTOBJS) -+dlltest: cryptopp.dll $(DLLTESTOBJS) - $(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS) - - adhoc.cpp: adhoc.cpp.proto -@@ -155,14 +161,14 @@ - touch adhoc.cpp - endif - --%.dllonly.o : %.cpp -+%.dllonly.lo : %.cpp - $(CXX) $(CXXFLAGS) -DCRYPTOPP_DLL_ONLY -c $< -o $@ - --%.import.o : %.cpp -+%.import.lo : %.cpp - $(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@ - --%.export.o : %.cpp -+%.export.lo : %.cpp - $(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@ - --%.o : %.cpp -- $(CXX) $(CXXFLAGS) -c $< -+%.lo : %.cpp -+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(CXXFLAGS) -c $< diff --git a/dev-libs/crypto++/files/crypto++-5.6.0-loongson.patch b/dev-libs/crypto++/files/crypto++-5.6.0-loongson.patch deleted file mode 100644 index e2e2afc..0000000 --- a/dev-libs/crypto++/files/crypto++-5.6.0-loongson.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/config.h b/config.h -index de6b0d7..99a8759 100644 ---- a/config.h -+++ b/config.h -@@ -4,7 +4,7 @@ - // ***************** Important Settings ******************** - - // define this if running on a big-endian CPU --#if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) -+#if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__MIPSEB__) || (defined(__MWERKS__) && !defined(__INTEL__))) - # define IS_BIG_ENDIAN - #endif - |