community/strongswan to 5.5.3-3

This commit is contained in:
Kevin Mihelich 2017-07-15 00:28:55 +00:00
parent 6a74bb2afe
commit aaa5b3c762

View file

@ -14,16 +14,14 @@
pkgname=strongswan
pkgver=5.5.3
pkgrel=2
pkgrel=3
pkgdesc="open source IPsec implementation"
url='http://www.strongswan.org'
license=("GPL")
license=("GPL2")
arch=('i686' 'x86_64')
depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'pam')
makedepends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'systemd' 'pam' 'libnm-glib')
optdepends=('libnm-glib: for networkmanager support')
conflicts=('openswan')
options=(!libtool !strip)
backup=(
etc/ipsec.conf
etc/ipsec.secrets
@ -42,7 +40,7 @@ vici.conf,x509.conf,xauth-eap.conf,xauth-generic.conf,xcbc.conf,unity.conf,curve
source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"
"https://download.strongswan.org/strongswan-${pkgver}.tar.bz2.sig"
"configure_ac.patch"
'configure_ac.patch'
)
validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
@ -54,8 +52,7 @@ sha512sums=('0b0b25d2102c98cda54300dc8c3c3a49a55e64f7c695dda65a24f2194f19bce0b7a
# We don't build libipsec because it would get loaded before kernel-netlink and netkey, which
# would case processing to be handled in user space. Also, the plugin is experimental. If you need it,
# add --enable-libipsec and --enable-kernel-libipsec
prepare()
{
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -l < "${srcdir}/configure_ac.patch"
autoreconf
@ -85,13 +82,13 @@ build() {
--enable-eap-dynamic --enable-eap-peap --enable-eap-tls --enable-chapoly --enable-unity \
--with-capabilities=libcap --enable-newhope --enable-ntru --enable-mgf1 --enable-sha3 \
--enable-bliss --enable-dnscert \
--enable-nm
--enable-nm --enable-agent
# --enable-ruby-gems --enable-python-eggs
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
make DESTDIR="${pkgdir}" install
}