M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,43 @@
We are unable to run code at configure time in a cross environemnt, but as we
control the build we can be fairly certain this dependency is met.
Upstream-Status: Inappropriate [embedded specific]
JL 05/07/10
Index: beecrypt-4.2.1/configure.ac
===================================================================
--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800
+++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800
@@ -292,32 +292,6 @@
# Predefines and checks for C++ API support
AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
-if test "$ac_with_cplusplus" = yes; then
- AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
- AC_LANG_PUSH(C)
- AC_RUN_IFELSE([
- AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
- #if U_ICU_VERSION_MAJOR_NUM < 2
- exit(1);
- #elif U_ICU_VERSION_MAJOR_NUM == 2
- # if U_ICU_VERSION_MINOR_NUM < 8
- exit(1);
- # else
- exit(0);
- # endif
- #else
- exit(0);
- #endif
- ]])],[
- AC_MSG_RESULT([yes])
- ],[
- AC_MSG_RESULT([no])
- AC_MSG_WARN([disabling cplusplus])
- ac_with_cplusplus=no
- ])
- AC_LANG_POP(C)
-fi
-
AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes])
if test "$ac_with_cplusplus" = yes ; then

View File

@ -0,0 +1,47 @@
Fix visibility of various C++ functions, inspired by a similar patch in the Fink
project:
http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
JL 05/07/10
Upstream-Status: Pending
Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h
===================================================================
--- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800
+++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800
@@ -147,13 +147,13 @@
mutable bytearray* enc;
BeeCertificate();
- BeeCertificate(InputStream& in) throw (IOException);
void encodeTBS(DataOutputStream& out) const throw (IOException);
bytearray* encodeTBS() const throw (CertificateEncodingException);
public:
+ BeeCertificate(InputStream& in) throw (IOException);
BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException);
virtual ~BeeCertificate();
Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h
===================================================================
--- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800
+++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800
@@ -61,7 +61,6 @@
friend class SecureRandom;
friend class Signature;
- private:
struct spi
{
Object* cspi;
@@ -76,6 +75,7 @@
static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
static spi* getFirstSpi(const String& type);
+ private:
static const String& getKeyStoreDefault();
static bool _init;

View File

@ -0,0 +1,35 @@
# Beecrypt OE build file
# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
DESCRIPTION="Beecrypt is a general-purpose cryptography library."
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
file://disable-icu-check.patch \
file://fix-security.patch"
SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e"
SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \
file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \
file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1"
DEPENDS = "icu"
PR = "r1"
inherit autotools multilib_header
acpaths=""
do_install_append() {
oe_multilib_header beecrypt/gnu.h
}
EXTRA_OECONF="--without-python --enable-shared --enable-static --disable-openmp"
FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*"
FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la"
FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a"
BBCLASSEXTEND = "native"