summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/maintainers.inc1
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch34
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch37
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch43
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch39
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch47
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/run-ptest5
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.2.1.bb48
8 files changed, 0 insertions, 254 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 993d6c66a5..c2ab13239c 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -65,7 +65,6 @@ RECIPE_MAINTAINER_pn-bash = "Hongxu Jia <hongxu.jia@windriver.com>"
65RECIPE_MAINTAINER_pn-bash-completion = "Alexander Kanavin <alexander.kanavin@intel.com>" 65RECIPE_MAINTAINER_pn-bash-completion = "Alexander Kanavin <alexander.kanavin@intel.com>"
66RECIPE_MAINTAINER_pn-bc = "Jose Lamego <jose.a.lamego@linux.intel.com>" 66RECIPE_MAINTAINER_pn-bc = "Jose Lamego <jose.a.lamego@linux.intel.com>"
67RECIPE_MAINTAINER_pn-bdwgc = "Alexander Kanavin <alexander.kanavin@intel.com>" 67RECIPE_MAINTAINER_pn-bdwgc = "Alexander Kanavin <alexander.kanavin@intel.com>"
68RECIPE_MAINTAINER_pn-beecrypt = "Armin Kuster <akuster808@gmail.com>"
69RECIPE_MAINTAINER_pn-bind = "Armin Kuster <akuster808@gmail.com>" 68RECIPE_MAINTAINER_pn-bind = "Armin Kuster <akuster808@gmail.com>"
70RECIPE_MAINTAINER_pn-binutils = "Khem Raj <raj.khem@gmail.com>" 69RECIPE_MAINTAINER_pn-binutils = "Khem Raj <raj.khem@gmail.com>"
71RECIPE_MAINTAINER_pn-binutils-cross = "Khem Raj <raj.khem@gmail.com>" 70RECIPE_MAINTAINER_pn-binutils-cross = "Khem Raj <raj.khem@gmail.com>"
diff --git a/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch b/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch
deleted file mode 100644
index b3298ce2db..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/add-option-dev-dsp.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1Add config option --with-dev-dsp.
2
3Upstream-Status: Pending
4
5Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
6---
7--- a/configure.ac
8+++ b/configure.ac
9@@ -106,6 +106,16 @@ AC_ARG_WITH(python,[ --with-python[[=AR
10 fi
11 ])
12
13+AC_ARG_WITH(dev-dsp,[ --with-dev-dsp enables dev/dsp for entropy producing. auto for auto-detecting dev/dep on host. [[default=no]]],[
14+ if test "$withval" = yes; then
15+ AC_DEFINE([HAVE_DEV_DSP], 1)
16+ else
17+ if test "$withval" = auto; then
18+ ac_detect_dev_dsp=yes
19+ fi
20+ fi
21+ ],[ac_detect_dev_dsp=no])
22+
23 # Check for expert mode
24 if test "$ac_enable_expert_mode" = yes; then
25 BEE_EXPERT_MODE
26@@ -464,7 +474,7 @@ linux*)
27 ac_cv_have_dev_dsp=no
28 fi
29 ])
30- if test "$ac_cv_have_dev_dsp" = yes; then
31+ if test "$ac_cv_have_dev_dsp" = yes && test "$ac_detect_dev_dsp" = yes; then
32 AC_DEFINE([HAVE_DEV_DSP], 1)
33 fi
34 ;;
diff --git a/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch b/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
deleted file mode 100644
index 3e5513fce9..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1beecrypt: enable ptest support
2
3Upstream-Status: Inappropriate [embedded specific]
4
5Add install-ptest rules.
6
7Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
8---
9 Makefile.am | 3 +++
10 tests/Makefile.am | 3 +++
11 2 files changed, 6 insertions(+)
12
13diff --git a/Makefile.am b/Makefile.am
14index b7e7869..5076f59 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -73,3 +73,6 @@ DISTCLEANFILES = mpopt.s blowfishopt.s sha1opt.s
18
19 bench:
20 (cd tests && $(MAKE) $(AM_MAKEFLAGS) bench)
21+
22+install-ptest:
23+ (cd tests && $(MAKE) $(AM_MAKEFLAGS) check_PROGRAMS)
24diff --git a/tests/Makefile.am b/tests/Makefile.am
25index 1604e5e..d8db8d8 100644
26--- a/tests/Makefile.am
27+++ b/tests/Makefile.am
28@@ -101,3 +101,6 @@ bench: benchme benchrsa benchhf benchbc
29 ./benchbc AES 128
30 ./benchbc Blowfish 128
31 ./benchbc Blowfish 128
32+
33+check_PROGRAMS:
34+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
35--
361.8.1.2
37
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
deleted file mode 100644
index 91b1fa6ef5..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1We are unable to run code at configure time in a cross environemnt, but as we
2control the build we can be fairly certain this dependency is met.
3
4Upstream-Status: Inappropriate [embedded specific]
5
6JL 05/07/10
7Index: beecrypt-4.2.1/configure.ac
8===================================================================
9--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800
10+++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800
11@@ -292,32 +292,6 @@
12 # Predefines and checks for C++ API support
13 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
14
15-if test "$ac_with_cplusplus" = yes; then
16- AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
17- AC_LANG_PUSH(C)
18- AC_RUN_IFELSE([
19- AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
20- #if U_ICU_VERSION_MAJOR_NUM < 2
21- exit(1);
22- #elif U_ICU_VERSION_MAJOR_NUM == 2
23- # if U_ICU_VERSION_MINOR_NUM < 8
24- exit(1);
25- # else
26- exit(0);
27- # endif
28- #else
29- exit(0);
30- #endif
31- ]])],[
32- AC_MSG_RESULT([yes])
33- ],[
34- AC_MSG_RESULT([no])
35- AC_MSG_WARN([disabling cplusplus])
36- ac_with_cplusplus=no
37- ])
38- AC_LANG_POP(C)
39-fi
40-
41 AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes])
42
43 if test "$ac_with_cplusplus" = yes ; then
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch b/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
deleted file mode 100644
index 8144e39be0..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1
2gcc-4.7 seems to be stricter about some things, so follow
3the suggestion from the error/note information.
4
5 ../../x86_64-linux-libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
6 x86_64-linux-libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -isyst
7 In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
8 from ../../include/beecrypt/c++/util/Properties.h:36,
9 from Properties.cxx:25:
10 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
11 Properties.cxx:228:1: required from here
12 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
13 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
14 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
15 ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
16 Properties.cxx:228:1: required from here
17 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
18 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
19 ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
20
21
22Upstream-Status: Pending
23
24Signed-off-by: Saul Wold <sgw@linux.intel.com>
25
26
27Index: beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
28===================================================================
29--- beecrypt-4.2.1.orig/include/beecrypt/c++/util/AbstractSet.h
30+++ beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
31@@ -56,7 +56,7 @@ namespace beecrypt {
32 if (c->size() != size())
33 return false;
34
35- return containsAll(*c);
36+ return this->containsAll(*c);
37 }
38 return false;
39 }
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
deleted file mode 100644
index 6cb0c00205..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1Fix visibility of various C++ functions, inspired by a similar patch in the Fink
2project:
3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
4
5JL 05/07/10
6
7Upstream-Status: Pending
8
9Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h
10===================================================================
11--- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800
12+++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800
13@@ -147,13 +147,13 @@
14 mutable bytearray* enc;
15
16 BeeCertificate();
17- BeeCertificate(InputStream& in) throw (IOException);
18
19 void encodeTBS(DataOutputStream& out) const throw (IOException);
20
21 bytearray* encodeTBS() const throw (CertificateEncodingException);
22
23 public:
24+ BeeCertificate(InputStream& in) throw (IOException);
25 BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException);
26 virtual ~BeeCertificate();
27
28Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h
29===================================================================
30--- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800
31+++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800
32@@ -61,7 +61,6 @@
33 friend class SecureRandom;
34 friend class Signature;
35
36- private:
37 struct spi
38 {
39 Object* cspi;
40@@ -76,6 +75,7 @@
41 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
42 static spi* getFirstSpi(const String& type);
43
44+ private:
45 static const String& getKeyStoreDefault();
46
47 static bool _init;
diff --git a/meta/recipes-support/beecrypt/beecrypt/run-ptest b/meta/recipes-support/beecrypt/beecrypt/run-ptest
deleted file mode 100644
index 2ee294d991..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/run-ptest
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2
3cd tests
4for i in `ls`; do ./$i; if [ $? -eq 0 ]; then echo "PASS: $i"; \
5 else echo "FAIL: $i"; fi; done
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
deleted file mode 100644
index 1e626f154c..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
+++ /dev/null
@@ -1,48 +0,0 @@
1# Beecrypt OE build file
2# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5SUMMARY = "A general-purpose cryptography library"
6HOMEPAGE = "http://sourceforge.net/projects/beecrypt"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
9 file://disable-icu-check.patch \
10 file://fix-security.patch \
11 file://fix-for-gcc-4.7.patch \
12 file://run-ptest \
13 file://beecrypt-enable-ptest-support.patch \
14 file://add-option-dev-dsp.patch \
15 "
16
17SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e"
18SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
19
20LICENSE = "GPLv2 & LGPLv2.1"
21LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \
22 file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \
23 file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1"
24
25PR = "r3"
26
27inherit autotools multilib_header ptest
28acpaths=""
29
30do_install_append() {
31 oe_multilib_header beecrypt/gnu.h
32}
33
34EXTRA_OECONF = "--without-python --enable-shared --enable-static --disable-openmp --with-java=no"
35
36PACKAGECONFIG ??= ""
37PACKAGECONFIG[cplusplus] = "--with-cplusplus,--without-cplusplus,icu"
38
39FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*"
40FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la"
41FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a"
42
43BBCLASSEXTEND = "native nativesdk"
44
45do_install_ptest () {
46 mkdir ${D}${PTEST_PATH}/tests
47 cp -r ${B}/tests/.libs/test* ${D}${PTEST_PATH}/tests
48}