diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-06-04 09:34:32 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-06-04 09:35:22 +0300 |
commit | e335a48715f734c0f9b1a258689243fcd0840ae9 (patch) | |
tree | aa091c4da35db74323248f2cb4d7bece3d3d09a1 /main/strongswan | |
parent | 4a45078bb433c3b2179cd2b82a5b8280e0b9a943 (diff) | |
download | aports-e335a48715f734c0f9b1a258689243fcd0840ae9.tar.bz2 aports-e335a48715f734c0f9b1a258689243fcd0840ae9.tar.xz |
main/strongswan: security upgrade to 5.3.1 (CVE-2015-3991)
Diffstat (limited to 'main/strongswan')
-rw-r--r-- | main/strongswan/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/strongswan/APKBUILD b/main/strongswan/APKBUILD index 53024e4f5d..cd8e6e50c5 100644 --- a/main/strongswan/APKBUILD +++ b/main/strongswan/APKBUILD @@ -1,8 +1,9 @@ # Contributor: Jesse Young <jlyo@jlyo.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=strongswan -pkgver=5.3.0 -pkgrel=2 +pkgver=5.3.1 +_pkgver=${pkgver//_rc/rc} +pkgrel=0 pkgdesc="IPsec-based VPN solution focused on security and ease of use, supporting IKEv1/IKEv2 and MOBIKE" url="http://www.strongswan.org/" arch="all" @@ -14,14 +15,15 @@ depends_dev="sqlite-dev openssl-dev curl-dev gmp-dev libcap-dev" makedepends="$depends_dev linux-headers" install="$pkgname.pre-install" subpackages="$pkgname-doc" -source="http://download.strongswan.org/$pkgname-$pkgver.tar.bz2 +source="http://download.strongswan.org/$pkgname-$_pkgver.tar.bz2 + strongswan.initd charon.initd" -_builddir="$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$_pkgver" prepare() { local i - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-$_pkgver" for i in $source; do case $i in *.patch) msg $i; patch -Np1 -i "$srcdir"/$i || return 1;; @@ -90,18 +92,18 @@ build() { package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir/$pkgname.initd" \ - "$pkgdir/etc/init.d/$pkgname" + install -m755 -D "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname" || return 1 + install -m755 -D "$srcdir/charon.initd" "$pkgdir/etc/init.d/charon" || return 1 rm "$pkgdir"/usr/lib/ipsec/plugins/*.la || return 1 rm "$pkgdir"/usr/lib/ipsec/*.la || return 1 } -md5sums="c52d4228231c2025d9c320d0e9990327 strongswan-5.3.0.tar.bz2 +md5sums="66f258901a3d6c271da1a0c7fb3e5013 strongswan-5.3.1.tar.bz2 85ebc1b6c6b9c0c6640d8136e97da8e1 strongswan.initd 7962a720ebef6892d80a3cbdab72c204 charon.initd" -sha256sums="824da31a1ff89ac2500d56705e6f9ce06fe5260f9caaeb1da35ea13a8691d284 strongswan-5.3.0.tar.bz2 +sha256sums="83fa7b004e65356ff5bb755d9d0e03901d578a99e90b6328a350a4335a32f6de strongswan-5.3.1.tar.bz2 ad43d1ed2585d84e12ad1e67fbdfe93983c424c5c64b230d5027c0aae496c65f strongswan.initd 97b018796f0f15106b70694449cff36e8fc586292aab09ef83a05c0c13142e73 charon.initd" -sha512sums="1bb677e120b7b38942031a19b2c2caa8a55911ffc3220731fedd717efd6f80f937fd8e4e8d8e22ce638d49d548e9f5b1b043eede2550df2727a0242a08ef50e3 strongswan-5.3.0.tar.bz2 +sha512sums="b789c18de1fa6663d8140c4173c2fe9b668e7741098340aad439e7346d4542df702f59760d1886d82d68c070ebde3121b5b29ccdab031876399d0d5d771f1381 strongswan-5.3.1.tar.bz2 b56008c07b804dacb3441d3802880058986ab7b314297fe485649a771861885b9232f9fd53b94faa3388a5e9330e2b38a86af5c04f3ff119199720043967ec64 strongswan.initd 6f3abaaa8da0925f06cdd184fdf534518e40c49533dba427dbf31dbe88172e5626bdc9aadf798d791f82fbded08801c1f565d514e2c289e1f28448d0c2e72b79 charon.initd" |