aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-05 13:48:29 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-05 13:48:29 +0000
commit89b4f17873d131ed69af2ab6db8aa665db5840f2 (patch)
tree0231988f985fc4f21e470aded9618f5192397333
parentd462b19eb74d234ec0b98b2e644a57fd0c046a52 (diff)
downloadbuildroot-89b4f17873d131ed69af2ab6db8aa665db5840f2.tar.gz
buildroot-89b4f17873d131ed69af2ab6db8aa665db5840f2.tar.bz2
openssl: misc fixes
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar> Closes #151. * Avoid fips directory completely since it just installs source file cruft inlib * Point openssldir to a more friendly and common /etc/ssl rather than /usr/lib/ssl
-rw-r--r--package/openssl/openssl-0.9.8j-nofips.patch12
-rw-r--r--package/openssl/openssl.mk2
2 files changed, 13 insertions, 1 deletions
diff --git a/package/openssl/openssl-0.9.8j-nofips.patch b/package/openssl/openssl-0.9.8j-nofips.patch
new file mode 100644
index 0000000000..7780fa432c
--- /dev/null
+++ b/package/openssl/openssl-0.9.8j-nofips.patch
@@ -0,0 +1,12 @@
+diff -Nura openssl-0.9.8j/Makefile openssl-0.9.8j.nofips/Makefile
+--- openssl-0.9.8j/Makefile 2009-01-07 09:57:01.000000000 -0200
++++ openssl-0.9.8j.nofips/Makefile 2009-03-05 10:10:09.000000000 -0200
+@@ -133,7 +133,7 @@
+
+ BASEADDR=0xFB00000
+
+-DIRS= crypto fips ssl engines apps test tools
++DIRS= crypto ssl engines apps test tools
+ SHLIBDIRS= crypto ssl
+
+ # dirs in crypto to build
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 79ba284366..67326902c0 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -38,7 +38,7 @@ $(OPENSSL_TARGET_CONFIGURE):
./Configure \
linux-$(OPENSSL_TARGET_ARCH) \
--prefix=/usr \
- --openssldir=/usr/lib/ssl \
+ --openssldir=/etc/ssl \
threads \
shared \
no-idea \