summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2008-04-12 09:45:49 +0000
committerNigel Kukard <nkukard@lbsd.net>2008-04-12 09:45:49 +0000
commitd114386c45ca4ae4009dd8b5cee181370ff0f814 (patch)
tree91b0025e254a03becb81f3ae1b4ea406b563e5c6
parent7978ff879b52162b368bdb15101a2c4c1314fd09 (diff)
* Added beecrypt
-rw-r--r--package/Config.in1
-rw-r--r--package/beecrypt/Config.in7
-rw-r--r--package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch12
-rw-r--r--package/beecrypt/beecrypt.mk18
4 files changed, 38 insertions, 0 deletions
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))