summaryrefslogtreecommitdiffstats
path: root/base/openssl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/openssl/Pkgfile')
-rwxr-xr-xbase/openssl/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/base/openssl/Pkgfile b/base/openssl/Pkgfile
index 52ddbe4cb..72a8894fc 100755
--- a/base/openssl/Pkgfile
+++ b/base/openssl/Pkgfile
@@ -6,15 +6,20 @@
name=openssl
version=1.0.0c
release=1
-source=(http://www.openssl.org/source/$name-$version.tar.gz)
+source=(http://www.openssl.org/source/$name-$version.tar.gz
+ openssl-1.0.0c-ca-dir.patch
+ openssl-1.0.0c-no-rpath.patch)
build() {
unset MAKEFLAGS
cd $name-$version
+ patch -p0 -i ../openssl-1.0.0c-no-rpath.patch
+ patch -p0 -i ../openssl-1.0.0c-ca-dir.patch
./config --prefix=/usr \
--openssldir=/etc/ssl \
- shared enable-md2
+ --libdir=lib \
+ shared zlib enable-md2 -Wa,--noexecstack
make
make INSTALL_PREFIX=$PKG MANDIR=/usr/share/man MANSUFFIX=ssl install
cp -v -r certs $PKG/etc/ssl