From d114386c45ca4ae4009dd8b5cee181370ff0f814 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Sat, 12 Apr 2008 09:45:49 +0000 Subject: * Added beecrypt --- package/Config.in | 1 + package/beecrypt/Config.in | 7 +++++++ package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch | 12 ++++++++++++ package/beecrypt/beecrypt.mk | 18 ++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 package/beecrypt/Config.in create mode 100644 package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch create mode 100644 package/beecrypt/beecrypt.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index aae356010..7aa666728 100644 --- a/package/Config.in +++ b/package/Config.in @@ -58,6 +58,7 @@ source "package/valgrind/Config.in" comment "Other stuff" source "package/at/Config.in" +source "package/beecrypt/Config.in" source "package/berkeleydb/Config.in" source "package/bsdiff/Config.in" if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS diff --git a/package/beecrypt/Config.in b/package/beecrypt/Config.in new file mode 100644 index 000000000..d71785074 --- /dev/null +++ b/package/beecrypt/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_BEECRYPT + bool "beecrypt" + default n + help + Beecrypt is a general-purpose cryptography library. + + http://beecrypt.sf.net diff --git a/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch b/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch new file mode 100644 index 000000000..6c4093677 --- /dev/null +++ b/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch @@ -0,0 +1,12 @@ +diff -ru beecrypt-4.1.2_vanilla/Makefile.am beecrypt-4.1.2_disable-cxxglue/Makefile.am +--- beecrypt-4.1.2_vanilla/Makefile.am 2004-12-22 07:06:31.000000000 +0000 ++++ beecrypt-4.1.2_disable-cxxglue/Makefile.am 2008-03-21 23:24:51.000000000 +0000 +@@ -49,7 +49,7 @@ + + libalt_LTLIBRARIES = libbeecrypt.la + +-libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c cppglue.cxx ++libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c + libbeecrypt_la_DEPENDENCIES = $(BEECRYPT_OBJECTS) + libbeecrypt_la_LIBADD = aesopt.lo blowfishopt.lo mpopt.lo sha1opt.lo + libbeecrypt_la_LDFLAGS = -no-undefined -version-info $(LIBBEECRYPT_LT_CURRENT):$(LIBBEECRYPT_LT_REVISION):$(LIBBEECRYPT_LT_AGE) diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk new file mode 100644 index 000000000..d26d31d8f --- /dev/null +++ b/package/beecrypt/beecrypt.mk @@ -0,0 +1,18 @@ +############################################################# +# +# beecrypt +# +############################################################# +BEECRYPT_VERSION = 4.1.2 +BEECRYPT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/beecrypt +BEECRYPT_AUTORECONF = YES +BEECRYPT_INSTALL_STAGING = YES + +BEECRYPT_CONF_OPT = --without-cplusplus \ + --without-java \ + --without-python \ + --disable-rpath + +BEECRYPT_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install + +$(eval $(call AUTOTARGETS,package,beecrypt)) -- cgit v1.2.3