summaryrefslogtreecommitdiff
path: root/core/openssl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/openssl/PKGBUILD')
-rw-r--r--core/openssl/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD
index 445a9e337..35d52bef9 100644
--- a/core/openssl/PKGBUILD
+++ b/core/openssl/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 178169 2013-02-17 17:21:40Z pierre $
+# $Id: PKGBUILD 197168 2013-10-23 13:51:53Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=openssl
@@ -6,7 +6,7 @@ _ver=1.0.1e
# use a pacman compatible version scheme
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
#pkgver=$_ver
-pkgrel=3
+pkgrel=4
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
arch=('i686' 'x86_64')
url='https://www.openssl.org'
@@ -18,11 +18,24 @@ backup=('etc/ssl/openssl.cnf')
source=("https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz"
"https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz.asc"
'no-rpath.patch'
- 'ca-dir.patch')
+ 'ca-dir.patch'
+ 'openssl-1.0.1e-fix_pod_syntax-1.patch')
md5sums=('66bf6f10f060d561929de96f9dfe5b8c'
- 'e18847df48d39416f4ca5064887a2e28'
+ 'SKIP'
'dc78d3d06baffc16217519242ce92478'
- '3bf51be3a1bbd262be46dc619f92aa90')
+ '3bf51be3a1bbd262be46dc619f92aa90'
+ '88d3bef4bbdc640b0412315d8d347bdf')
+
+prepare() {
+ cd $srcdir/$pkgname-$_ver
+
+ # remove rpath: http://bugs.archlinux.org/task/14367
+ patch -p0 -i $srcdir/no-rpath.patch
+ # set ca dir to /etc/ssl by default
+ patch -p0 -i $srcdir/ca-dir.patch
+
+ patch -p1 -i $srcdir/openssl-1.0.1e-fix_pod_syntax-1.patch
+}
build() {
cd $srcdir/$pkgname-$_ver
@@ -35,14 +48,9 @@ build() {
optflags=''
fi
- # remove rpath: http://bugs.archlinux.org/task/14367
- patch -p0 -i $srcdir/no-rpath.patch
- # set ca dir to /etc/ssl by default
- patch -p0 -i $srcdir/ca-dir.patch
-
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
- shared zlib enable-md2 ${optflags} \
+ shared zlib ${optflags} \
"${openssltarget}" \
-Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"