community/strongswan to 5.8.1-3

This commit is contained in:
Kevin Mihelich 2019-11-16 16:49:25 +00:00
parent 990cc5d722
commit 1d652b9667
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,7 @@
pkgname=strongswan pkgname=strongswan
pkgver=5.8.1 pkgver=5.8.1
pkgrel=2 pkgrel=3
pkgdesc='Open source IPsec implementation' pkgdesc='Open source IPsec implementation'
url='https://www.strongswan.org' url='https://www.strongswan.org'
license=('GPL2') license=('GPL2')

View file

@ -1,6 +1,6 @@
post_upgrade() { post_upgrade() {
if (($(vercmp 5.8.0-1 $2) > 0)); then if (($(vercmp 5.8.0-1 $2) > 0)); then
cat << EOF echo "
Strongswan 5.8.0-1 introduced new names for the systemd unit files: Strongswan 5.8.0-1 introduced new names for the systemd unit files:
strongswan.service got renamed to strongswan-starter.service strongswan.service got renamed to strongswan-starter.service
@ -11,4 +11,6 @@ post_upgrade() {
If you use swanctl, you need to enable strongswan.service from now on. If you use swanctl, you need to enable strongswan.service from now on.
EOF EOF
"
fi
} }