diff options
author | root <root@rshg054.dnsready.net> | 2013-02-17 00:45:16 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-17 00:45:16 -0800 |
commit | c6f4cd18ab706868be0eff10327a0dcd58cecdf3 (patch) | |
tree | de3914332965ed3485e383ba0da41ef1b1c8c427 /core/openssl/PKGBUILD | |
parent | 4a4f6be8604aa35bdc81ae29d86b07dc8aea0c5c (diff) |
Sun Feb 17 00:45:00 PST 2013
Diffstat (limited to 'core/openssl/PKGBUILD')
-rw-r--r-- | core/openssl/PKGBUILD | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD index 4671cf21b..3917fa5b7 100644 --- a/core/openssl/PKGBUILD +++ b/core/openssl/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 177772 2013-02-08 10:29:25Z pierre $ +# $Id: PKGBUILD 178103 2013-02-16 09:12:36Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=openssl -_ver=1.0.1d +_ver=1.0.1e # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} #pkgver=$_ver @@ -17,16 +17,12 @@ 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' - 'Fix-IV-check-and-padding-removal.patch') -md5sums=('b92fc634f0f1f31a67ed4175adc5ba33' - 'f06c54781073ef57c01b593adf377759' - '5bbc0655bda2af95bc8eb568963ce8ba' + 'ca-dir.patch') +md5sums=('66bf6f10f060d561929de96f9dfe5b8c' + 'e18847df48d39416f4ca5064887a2e28' 'dc78d3d06baffc16217519242ce92478' - '3bf51be3a1bbd262be46dc619f92aa90' - 'b92ec62a1f3e7fdc65481afff709cd8b') + '3bf51be3a1bbd262be46dc619f92aa90') build() { cd $srcdir/$pkgname-$_ver @@ -39,23 +35,18 @@ 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 - # https://rt.openssl.org/Ticket/Display.html?id=2975 - patch -p1 -i $srcdir/Fix-IV-check-and-padding-removal.patch - + # mark stack as non-executable: http://bugs.archlinux.org/task/12434 - # workaround for PR#2771: OPENSSL_NO_TLS1_2_CLIENT + # workaround for https://rt.openssl.org/Ticket/Display.html?id=2771: OPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ shared zlib enable-md2 ${optflags} \ "${openssltarget}" \ -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}" \ - -DOPENSSL_NO_TLS1_2_CLIENT + -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=50 make depend make @@ -72,6 +63,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 } |