recipes/openssl/openssl.inc: disabled some unused algos
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 21 Jun 2010 22:21:30 +0000 (00:21 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 22 Jun 2010 08:16:03 +0000 (10:16 +0200)
recipes/openssl/openssl.inc

index 00f9782..9b3baa9 100644 (file)
@@ -6,7 +6,7 @@ SECTION = "libs/network"
 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz"
 S = "${WORKDIR}/openssl-${PV}"
 
-INC_PR = "r11"
+INC_PR = "r12"
 
 AR_append = " r"
 CFLAG = "${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
@@ -24,6 +24,9 @@ PACKAGES =+ "libcrypto libssl"
 FILES_libcrypto = "${libdir}/libcrypto.so.*"
 FILES_libssl = "${libdir}/libssl.so.*"
 
+# disable unused algos
+EXTRA_OECONF = "${@base_contains('DISTRO', 'opendreambox', ' no-idea no-mdc2 no-rc5', '', d)}"
+
 do_configure () {
        cd util
        perl perlpath.pl ${bindir}
@@ -86,7 +89,7 @@ do_configure () {
         if [ "x$useprefix" == "x" ]; then
                 useprefix=/
         fi        
-       perl ./Configure shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
+       perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix --openssldir=${libdir}/ssl $target
 }
 
 do_compile () {