From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- .../patches/patch-src_racoon_crypto_openssl_c | 54 ++++++++++++++++++---- 1 file changed, 45 insertions(+), 9 deletions(-) (limited to 'package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c') diff --git a/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c b/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c index 66f9ba7d2..76c6a62cc 100644 --- a/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c +++ b/package/ipsec-tools/patches/patch-src_racoon_crypto_openssl_c @@ -1,12 +1,48 @@ -$Id$ ---- ipsec-tools-0.6.4.orig/src/racoon/crypto_openssl.c 2005-07-12 13:50:15.000000000 +0200 -+++ ipsec-tools-0.6.4/src/racoon/crypto_openssl.c 2007-06-28 17:04:27.000000000 +0200 -@@ -81,7 +81,7 @@ - #ifdef HAVE_OPENSSL_SHA2_H - #include - #else --#include "crypto/sha2/sha2.h" -+#include "missing/crypto/sha2/sha2.h" +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ipsec-tools-0.7.2.orig/src/racoon/crypto_openssl.c 2009-04-20 15:33:30.000000000 +0200 ++++ ipsec-tools-0.7.2/src/racoon/crypto_openssl.c 2009-05-29 15:31:04.728378359 +0200 +@@ -63,8 +63,12 @@ + #ifdef HAVE_OPENSSL_ENGINE_H + #include #endif ++#ifndef OPENSSL_NO_BF + #include ++#endif ++#ifndef OPENSSL_NO_CAST + #include ++#endif + #include + #ifdef HAVE_OPENSSL_RC5_H + #include +@@ -1347,6 +1351,7 @@ eay_idea_keylen(len) + } #endif ++#ifndef OPENSSL_NO_BF + /* + * BLOWFISH-CBC + */ +@@ -1381,6 +1386,7 @@ eay_bf_keylen(len) + return -1; + return len; + } ++#endif + + #ifdef HAVE_OPENSSL_RC5_H + /* +@@ -1492,6 +1498,7 @@ eay_3des_keylen(len) + return 192; + } + ++#ifndef OPENSSL_NO_CAST + /* + * CAST-CBC + */ +@@ -1526,6 +1533,7 @@ eay_cast_keylen(len) + return -1; + return len; + } ++#endif + + /* + * AES(RIJNDAEL)-CBC -- cgit v1.2.3