[Lunar-commits] r25787 - moonbase/trunk/crypto/openssl

Florin Braescu florin at lunar-linux.org
Thu Sep 13 19:53:34 CEST 2007


Author: florin
Date: 2007-09-13 19:53:34 +0200 (Thu, 13 Sep 2007)
New Revision: 25787

Modified:
   moonbase/trunk/crypto/openssl/BUILD
   moonbase/trunk/crypto/openssl/DEPENDS
   moonbase/trunk/crypto/openssl/DETAILS
Log:
add a patch to compile with gcc 4.2.x and work after that.

Modified: moonbase/trunk/crypto/openssl/BUILD
===================================================================
--- moonbase/trunk/crypto/openssl/BUILD	2007-09-13 17:38:12 UTC (rev 25786)
+++ moonbase/trunk/crypto/openssl/BUILD	2007-09-13 17:53:34 UTC (rev 25787)
@@ -1,17 +1,22 @@
 (
 
   # make sure the luser has the source for this one!
-  download_module wget &&
+  download_module wget  &&
 
-  ./config  --prefix=/usr                        \
-            --openssldir=/etc/ssl                \
-            shared                              &&
-  sedit "/^CC/d" Makefile                       &&
-  sedit "s/-m486//g" Makefile                   &&
-  sedit "s/^CFLAG=/CFLAG=$CFLAGS /g" Makefile   &&
-  make                                          &&
-  prepare_install                               &&
-  make MANDIR=/usr/share/man install            &&
+  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
+
+  ./config  --prefix=/usr                       \
+            --openssldir=/etc/ssl               \
+            shared                              \
+	    $OPTS                              &&
+	    
+  sedit "/^CC/d" Makefile                      &&
+  sedit "s/-m486//g" Makefile                  &&
+  sedit "s/-O3/-Os/" Makefile                  &&
+  sedit "s/^CFLAG=/CFLAG=$CFLAGS /g" Makefile  &&
+  make                                         &&
+  prepare_install                              &&
+  make MANDIR=/usr/share/man install           &&
   cp $SOURCE_CACHE/$SOURCE2 /etc/ssl/certs/Makefile
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/crypto/openssl/DEPENDS
===================================================================
--- moonbase/trunk/crypto/openssl/DEPENDS	2007-09-13 17:38:12 UTC (rev 25786)
+++ moonbase/trunk/crypto/openssl/DEPENDS	2007-09-13 17:53:34 UTC (rev 25787)
@@ -1,2 +1,2 @@
-depends  mktemp  &&
+depends  mktemp
 depends  perl

Modified: moonbase/trunk/crypto/openssl/DETAILS
===================================================================
--- moonbase/trunk/crypto/openssl/DETAILS	2007-09-13 17:38:12 UTC (rev 25786)
+++ moonbase/trunk/crypto/openssl/DETAILS	2007-09-13 17:53:34 UTC (rev 25787)
@@ -1,18 +1,21 @@
           MODULE=openssl
          VERSION=0.9.8e
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=Makefile.openssl-certs
+         SOURCE3=$MODULE-$VERSION-gcc_4.2.x.patch.bz2
    SOURCE_URL[0]=http://www.openssl.org/source/
    SOURCE_URL[1]=ftp://opensores.thebunker.net/pub/mirrors/openssl/source/
    SOURCE_URL[2]=http://www.dentarthurdent.com/transfer/openssl/
    SOURCE_URL[3]=ftp://ftp.infoscience.co.jp/pub/Crypto/SSL/openssl/source/
    SOURCE_URL[4]=ftp://ftp.duth.gr/pub/OpenSSL/source/
       SOURCE_VFY=sha1:b429872d2a287714ab37e42296e6a5fbe23d32ff
-         SOURCE2=Makefile.openssl-certs
      SOURCE2_URL=$PATCH_URL
      SOURCE2_VFY=sha1:0f30d44c0bf27883876bdf56fe9c541ee28bc2cd
+     SOURCE3_URL=$PATCH_URL
+     SOURCE3_VFY=sha1:51b3369b3f4b0a39ee4492be21902c2254607ca9
         WEB_SITE=http://www.openssl.org
          ENTERED=20010922
-         UPDATED=20070224
+         UPDATED=20070913
            PSAFE="no"
            SHORT="A library for providing encrypted transport layers"
 



More information about the Lunar-commits mailing list