diff --git a/develop/crypto++/crypto++.cache b/develop/crypto++/crypto++.cache new file mode 100644 index 000000000..ee66ded32 --- /dev/null +++ b/develop/crypto++/crypto++.cache @@ -0,0 +1,21 @@ + +[TIMESTAMP] 1282731075 Wed Aug 25 12:11:15 2010 +[BUILDTIME] 65 (5) +[SIZE] 22.50 MB, 143 files + +[DEP] bash +[DEP] binutils +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] make +[DEP] patch +[DEP] sed +[DEP] unzip +[DEP] util-linux-ng diff --git a/develop/crypto++/crypto++.conf b/develop/crypto++/crypto++.conf new file mode 100644 index 000000000..65d6a159b --- /dev/null +++ b/develop/crypto++/crypto++.conf @@ -0,0 +1,19 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../crypto++/crypto++.conf +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# the ugly source zip file has no dedicated source directory +chownsrcdir=0 +srcdir=. + +var_append makeinstopt ' ' 'PREFIX=$root/$prefix' diff --git a/develop/crypto++/crypto++.desc b/develop/crypto++/crypto++.desc new file mode 100644 index 000000000..1cd7411fe --- /dev/null +++ b/develop/crypto++/crypto++.desc @@ -0,0 +1,32 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../crypto++/crypto++.desc +[COPY] Copyright (C) 2010 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A free C++ class library of cryptographic schemes + +[T] Crypto++ Library is a free C++ class library of cryptographic schemes. + +[U] http://www.cryptopp.com + +[A] Wei Dai +[M] The OpenSDE Community + +[C] extra/library +[F] FPIC-QUIRK + +[L] PublicDomain +[S] Stable +[V] 5.6.1 +[P] X -----5---9 110.000 + +[D] 2158693062 cryptopp561.zip http://www.cryptopp.com/ diff --git a/develop/crypto++/libs-only.patch b/develop/crypto++/libs-only.patch new file mode 100644 index 000000000..4240e2d21 --- /dev/null +++ b/develop/crypto++/libs-only.patch @@ -0,0 +1,52 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../crypto++/libs-only.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Description: + This patch is changing the crypto++ makefile to build both, a static + and a shared version of the library, but not the supplied test + application. + +TODO: + There is quite some room for improvements inside of the makefile, so + it would be good to have an more "inteligent" way to select what kind + of library should be build (i.e. static and shared, static-only, + shared-only). + Besides that the 'install' target is very poorly implemented and should + be improved to consider the variants mentioned above! + +--- ./GNUmakefile.orig 2010-08-09 14:22:42.000000000 +0200 ++++ ./GNUmakefile 2010-08-25 12:02:14.476057984 +0200 +@@ -131,7 +131,11 @@ + TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o) + DLLTESTOBJS = dlltest.dllonly.o + +-all: cryptest.exe ++all: static shared ++ ++static: libcryptopp.a ++ ++shared: libcryptopp.so + + test: cryptest.exe + ./cryptest.exe v +@@ -144,7 +148,6 @@ + $(CP) *.h $(PREFIX)/include/cryptopp + $(CP) *.a $(PREFIX)/lib + $(CP) *.so $(PREFIX)/lib +- $(CP) *.exe $(PREFIX)/bin + + libcryptopp.a: $(LIBOBJS) + $(AR) $(ARFLAGS) $@ $(LIBOBJS)