Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/openssl

Buildroot ulf at uclibc.org 1 participant 1 message Aug 11, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-08-11 09:55:52 -0700 (Sat, 11 Aug 2007) New Revision: 19430

Log:
Bump version of openssl, add threads

Removed:
trunk/buildroot/package/openssl/openssl-0.9.7e-no-fips.patch

Modified:
trunk/buildroot/package/openssl/openssl.mk
trunk/buildroot/package/openssl/openssl.patch

Changeset:
Deleted: trunk/buildroot/package/openssl/openssl-0.9.7e-no-fips.patch
===================================================================

buildroot/package/openssl/openssl-0.9.7e-no-fips.patch +0 -43
@@ -1,43 +0,0 @@
-Ripped from fedora
-
---- openssl-0.9.7e/Configure
-+++ openssl-0.9.7e/Configure
-@@ -1161,15 +1161,21 @@
- 
- $bn_obj = $bn_asm unless $bn_obj ne "";
- 
-+my $fips_des_obj;
-+my $fips_sha1_obj;
- if ($fips)
- 	{
-+	if ($des_obj =~ /\-elf\.o$/ && $no_shared) # FIPS DES module is not PIC
-+		{
-+		$fips_des_obj='asm/fips-dx86-elf.o';
-+		$openssl_other_defines.="#define OPENSSL_FIPS_DES_ASM\n";
-+		}
-+	else {	$fips_des_obj=$fips_des_enc;  }
-+	$fips_sha1_obj='asm/sx86-elf.o' if ($sha1_obj =~ /\-elf\.o$/);
- 	$des_obj=$sha1_obj="";
- 	$openssl_other_defines.="#define OPENSSL_FIPS\n";
- 	}
--$des_obj=$des_enc	unless (!$fips && $des_obj =~ /\.o$/);
--my $fips_des_obj='asm/fips-dx86-elf.o';
--$fips_des_obj=$fips_des_enc unless $processor eq '386';
--my $fips_sha1_obj='asm/sx86-elf.o' if $processor eq '386';
-+$des_obj=$des_enc	unless ($des_obj =~ /\.o$/);
- $bf_obj=$bf_enc		unless ($bf_obj =~ /\.o$/);
- $cast_obj=$cast_enc	unless ($cast_obj =~ /\.o$/);
- $rc4_obj=$rc4_enc	unless ($rc4_obj =~ /\.o$/);
---- openssl-0.9.7e/Makefile.org
-+++ openssl-0.9.7e/Makefile.org
-@@ -176,8 +176,8 @@
- # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
- SHLIB_MARK=
- 
--DIRS=   crypto fips ssl $(SHLIB_MARK) sigs apps test tools
--SHLIBDIRS= fips crypto ssl
-+DIRS=   crypto ssl $(SHLIB_MARK) sigs apps test tools
-+SHLIBDIRS= crypto ssl
- 
- # dirs in crypto to build
- SDIRS=  objects \

Modified: trunk/buildroot/package/openssl/openssl.mk
===================================================================

buildroot/package/openssl/openssl.mk +2 -2
@@ -5,7 +5,7 @@
 #############################################################
 
 # TARGETS
-OPENSSL_VERSION:=0.9.7e
+OPENSSL_VERSION:=0.9.7m
 OPENSSL_SITE:=http://www.openssl.org/source
 OPENSSL_SOURCE:=openssl-$(OPENSSL_VERSION).tar.gz
 OPENSSL_CAT:=$(ZCAT)
@@ -45,7 +45,7 @@
 	PATH=$(TARGET_PATH) \
 	./Configure linux-$(OPENSSL_TARGET_ARCH) --prefix=/ \
 		--openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
-		-I$(STAGING_DIR)/usr/include $(OPENSSL_OPTS) no-threads \
+		-I$(STAGING_DIR)/usr/include $(OPENSSL_OPTS) threads \
 		shared no-idea no-mdc2 no-rc5)
 
 $(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile

Modified: trunk/buildroot/package/openssl/openssl.patch
===================================================================

buildroot/package/openssl/openssl.patch +39 -36

148 lines not on this page · raw message