diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-08 22:42:23 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-08 22:42:23 (GMT) |
commit | e862aec05c29727e451afd552db546d5be573c5c (patch) | |
tree | 4843e70122d9dc507b94a1314371ec486fd4f709 /abs/core/openssl/PKGBUILD | |
parent | 66d3cf95dc04e21960ff817600cfb651feea2df9 (diff) | |
download | linhes_pkgbuild-e862aec05c29727e451afd552db546d5be573c5c.zip linhes_pkgbuild-e862aec05c29727e451afd552db546d5be573c5c.tar.gz linhes_pkgbuild-e862aec05c29727e451afd552db546d5be573c5c.tar.bz2 |
openssl: update to 1.0.1.g refs #966
Diffstat (limited to 'abs/core/openssl/PKGBUILD')
-rw-r--r-- | abs/core/openssl/PKGBUILD | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/abs/core/openssl/PKGBUILD b/abs/core/openssl/PKGBUILD index 29fd885..68efbf5 100644 --- a/abs/core/openssl/PKGBUILD +++ b/abs/core/openssl/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 158833 2012-05-11 23:33:03Z pierre $ +# $Id$ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=openssl -_ver=1.0.1c +_ver=1.0.1g # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} #pkgver=$_ver @@ -11,20 +11,31 @@ pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Se arch=('i686' 'x86_64') url='https://www.openssl.org' license=('custom:BSD') -depends=('perl') +depends=('zlib' 'perl') optdepends=('ca-certificates') options=('!makeflags') 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" - 'fix-manpages.patch' 'no-rpath.patch' - 'ca-dir.patch') -md5sums=('ae412727c8c15b67880aef7bd2999b2e' - 'a3d90bc42253def61cd1c4237f1ce5f7' - '5bbc0655bda2af95bc8eb568963ce8ba' + 'ca-dir.patch' + 'openssl-1.0.1f-perl-5.18.patch') +md5sums=('de62b43dfcd858e66a74bee1c834e959' + 'SKIP' 'dc78d3d06baffc16217519242ce92478' - '3bf51be3a1bbd262be46dc619f92aa90') + '3bf51be3a1bbd262be46dc619f92aa90' + 'ea2a61c8bd43788d81d98f1ac36c98ac') + +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.1f-perl-5.18.patch +} build() { cd $srcdir/$pkgname-$_ver @@ -37,20 +48,11 @@ build() { optflags='' fi - # avoid conflicts with other man pages - # see http://www.linuxfromscratch.org/patches/downloads/openssl/ - patch -p1 -i $srcdir/fix-manpages.patch - # 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 - # workaround for PR#2771: OPENSSL_NO_TLS1_2_CLIENT ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ - shared zlib enable-md2 ${optflags} \ + shared zlib ${optflags} \ "${openssltarget}" \ - -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}" \ - -DOPENSSL_NO_TLS1_2_CLIENT + "-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" make depend make @@ -67,6 +69,6 @@ check() { package() { cd $srcdir/$pkgname-$_ver - make INSTALL_PREFIX=$pkgdir MANDIR=/usr/share/man install + make INSTALL_PREFIX=$pkgdir MANDIR=/usr/share/man MANSUFFIX=ssl install install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } |