update lib32-openssl 1.0.2f

This commit is contained in:
Weng Xuetian 2016-01-29 19:35:29 +01:00
parent 2bdaaa43a0
commit b4f4a5e427

View File

@ -1,6 +1,6 @@
_pkgbasename=openssl
pkgname=lib32-$_pkgbasename
_ver=1.0.2e
_ver=1.0.2f
# use a pacman compatible version scheme
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
@ -16,12 +16,11 @@ source=("https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz"
"https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz.asc"
'no-rpath.patch'
'ca-dir.patch')
md5sums=('5262bfa25b60ed9de9f28d5d52d77fc5'
validpgpkeys=(8657ABB260F056B1E5190839D9C4D26D0E604491)
md5sums=('b3bf73f507172be9292ea2a8c28b659d'
'SKIP'
'dc78d3d06baffc16217519242ce92478'
'3bf51be3a1bbd262be46dc619f92aa90')
# Matt Caswell
validpgpkeys=('8657ABB260F056B1E5190839D9C4D26D0E604491')
prepare() {
cd $srcdir/$_pkgbasename-$_ver
@ -41,7 +40,9 @@ build() {
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib32 \
shared zlib linux-elf "-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
shared zlib \
linux-elf \
"-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
make MAKEDEPPROG="${CC}" depend
make
@ -60,7 +61,7 @@ package() {
cd $srcdir/$_pkgbasename-$_ver
make INSTALL_PREFIX=$pkgdir install_sw
rm -rf "${pkgdir}"/{usr/{include,bin},etc}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
rm -rf ${pkgdir}/{usr/{include,bin},etc}
mkdir -p $pkgdir/usr/share/licenses
ln -s $_pkgbasename $pkgdir/usr/share/licenses/$pkgname
}