Ticket #4846: openssl.patch

File openssl.patch, 5.2 KB (added by puchu, 7 years ago)

openssl patch

  • package/openssl/patches/121-ocf-config.patch

     
     1diff -burN openssl-0.9.8k/config openssl-0.9.8k.patched/config 
     2--- openssl-0.9.8k/config       2009-02-16 09:43:41.000000000 +0100 
     3+++ openssl-0.9.8k.patched/config       2009-03-27 19:38:37.262255825 +0100 
     4@@ -399,8 +399,11 @@ 
     5 # this is where the translation occurs into SSLeay terms 
     6 # --------------------------------------------------------------------------- 
     7  
     8+# figure out if gcc is available and if so we use it otherwise 
     9+# we fallback to whatever cc does on the system 
     10 GCCVER=`(gcc -dumpversion) 2>/dev/null` 
     11 if [ "$GCCVER" != "" ]; then 
     12+  CC=gcc 
     13   # then strip off whatever prefix egcs prepends the number with... 
     14   # Hopefully, this will work for any future prefixes as well. 
     15   GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'` 
     16@@ -409,6 +412,8 @@ 
     17   # major and minor version numbers. 
     18   # peak single digit before and after first dot, e.g. 2.95.1 gives 29 
     19   GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'` 
     20+else 
     21+  CC=cc 
     22 fi 
     23  
     24 # Only set CC if not supplied already 
  • package/openssl/patches/120-makedepend.patch

     
    1 Index: openssl-0.9.8e/util/domd 
    2 =================================================================== 
    3 --- openssl-0.9.8e.orig/util/domd       2007-06-04 13:23:32.130849264 +0200 
    4 +++ openssl-0.9.8e/util/domd    2007-06-04 13:23:32.408807008 +0200 
     1diff -burN openssl-0.9.8k/util/domd openssl-0.9.8k.patched/util/domd 
     2--- openssl-0.9.8k/util/domd    2009-01-21 22:44:52.000000000 +0100 
     3+++ openssl-0.9.8k.patched/util/domd    2009-03-26 15:46:28.600347986 +0100 
    54@@ -14,7 +14,8 @@ 
    65 cp Makefile Makefile.save 
    76 # fake the presence of Kerberos 
     
    1615     done 
    1716     sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp 
    1817     echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp 
    19 -    gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp 
     18-    ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp 
    2019+    ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp 
    2120     ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new 
    2221     rm -f Makefile.tmp 
  • package/openssl/patches/160-disable_doc_tests.patch

     
    1 diff -burN openssl-0.9.8j/Makefile openssl-0.9.8j.patched/Makefile 
    2 --- openssl-0.9.8j/Makefile     2009-01-07 12:57:01.000000000 +0100 
    3 +++ openssl-0.9.8j.patched/Makefile     2009-01-17 14:16:50.279667198 +0100 
     1diff -burN openssl-0.9.8k/Makefile openssl-0.9.8k.patched/Makefile 
     2--- openssl-0.9.8k/Makefile     2009-03-25 14:11:43.000000000 +0100 
     3+++ openssl-0.9.8k.patched/Makefile     2009-03-26 15:28:35.483566078 +0100 
    44@@ -133,7 +133,7 @@ 
    55  
    66 BASEADDR=0xFB00000 
    77  
    8 -DIRS=   crypto fips ssl engines apps test tools 
    9 +DIRS=   crypto fips ssl engines apps tools 
     8-DIRS=   crypto ssl engines apps test tools 
     9+DIRS=   crypto ssl engines apps tools 
    1010 SHLIBDIRS= crypto ssl 
    1111  
    1212 # dirs in crypto to build 
     
    1515 # tests to perform.  "alltests" is a special word indicating that all tests 
    1616 # should be performed. 
    1717-TESTS = alltests 
    18 +TESTS =  
     18+TESTS = 
    1919  
    2020 MAKEFILE= Makefile 
    2121  
     
    3737  
    3838 build_libs: build_crypto build_fips build_ssl build_shared build_engines 
    3939  
    40 @@ -610,7 +610,7 @@ 
     40@@ -613,7 +613,7 @@ 
    4141 dist_pem_h: 
    4242        (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean) 
    4343  
     
    4646  
    4747 install_sw: 
    4848        @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ 
    49 diff -burN openssl-0.9.8j/Makefile.org openssl-0.9.8j.patched/Makefile.org 
    50 --- openssl-0.9.8j/Makefile.org 2008-12-30 14:26:26.000000000 +0100 
    51 +++ openssl-0.9.8j.patched/Makefile.org 2009-01-17 14:14:18.874409981 +0100 
    52 @@ -608,7 +608,7 @@ 
     49diff -burN openssl-0.9.8k/Makefile.org openssl-0.9.8k.patched/Makefile.org 
     50--- openssl-0.9.8k/Makefile.org 2009-03-03 23:40:29.000000000 +0100 
     51+++ openssl-0.9.8k.patched/Makefile.org 2009-03-26 15:29:05.243750064 +0100 
     52@@ -611,7 +611,7 @@ 
    5353 dist_pem_h: 
    5454        (cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean) 
    5555  
  • package/openssl/Makefile

     
    99include $(TOPDIR)/rules.mk 
    1010 
    1111PKG_NAME:=openssl 
    12 PKG_VERSION:=0.9.8j 
     12PKG_VERSION:=0.9.8k 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    1717        ftp://ftp.funet.fi/pub/crypt/cryptography/libs/openssl/source/ \ 
    1818        ftp://ftp.webmonster.de/pub/openssl/source/ \ 
    1919        ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/ 
    20 PKG_MD5SUM:=a5cb5f6c3d11affb387ecf7a997cac0c 
     20PKG_MD5SUM:=e555c6d58d276aec7fdc53363e338ab3 
    2121 
    2222PKG_BUILD_DEPENDS:=ocf-crypto-headers 
    2323