* Added beecrypt
authorNigel Kukard <nkukard@lbsd.net>
Sat, 12 Apr 2008 09:45:49 +0000 (09:45 -0000)
committerNigel Kukard <nkukard@lbsd.net>
Sat, 12 Apr 2008 09:45:49 +0000 (09:45 -0000)
package/Config.in
package/beecrypt/Config.in [new file with mode: 0644]
package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch [new file with mode: 0644]
package/beecrypt/beecrypt.mk [new file with mode: 0644]

index aae35601007c37d2af37a5a30cc182a724c733c5..7aa6667280716f71ecb3311e1795aa3849f7c984 100644 (file)
@@ -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 (file)
index 0000000..d717850
--- /dev/null
@@ -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 (file)
index 0000000..6c40936
--- /dev/null
@@ -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 (file)
index 0000000..d26d31d
--- /dev/null
@@ -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))