summaryrefslogtreecommitdiffstats
path: root/openssl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/Pkgfile')
-rwxr-xr-xopenssl/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/openssl/Pkgfile b/openssl/Pkgfile
new file mode 100755
index 000000000..d7a81ecfd
--- /dev/null
+++ b/openssl/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Secure Sockets Layer and Transport Layer Security tools
+# URL: http://www.openssl.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=openssl
+version=1.0.0e
+release=1
+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 \
+ --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
+}