mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/strongswan to 5.7.1-1
This commit is contained in:
parent
351d9f4407
commit
3c6258d5aa
1 changed files with 71 additions and 36 deletions
|
@ -13,20 +13,21 @@
|
||||||
# - remove --enable-aesni from configure
|
# - remove --enable-aesni from configure
|
||||||
|
|
||||||
pkgname=strongswan
|
pkgname=strongswan
|
||||||
pkgver=5.7.0
|
pkgver=5.7.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="open source IPsec implementation"
|
pkgdesc='Open source IPsec implementation'
|
||||||
url='http://www.strongswan.org'
|
url='https://www.strongswan.org'
|
||||||
license=("GPL2")
|
license=('GPL2')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
makedepends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd'
|
makedepends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd'
|
||||||
'systemd' 'pam' 'libnm-glib' 'python' 'ruby' 'mariadb' 'python-setuptools')
|
'systemd' 'pam' 'libnm-glib' 'python' 'ruby' 'mariadb' 'python-setuptools')
|
||||||
depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'pam')
|
depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'pam')
|
||||||
optdepends=('libnm-glib: for networkmanager support'
|
optdepends=('libnm-glib: for networkmanager support'
|
||||||
'mariadb: MySQL support'
|
'mariadb: MySQL support'
|
||||||
'ruby: Ruby support'
|
'ruby: Ruby support'
|
||||||
'python: Python support'
|
'python: Python support'
|
||||||
'openldap: LDAP support')
|
'openldap: LDAP support')
|
||||||
|
# TODO: move to package() and use find
|
||||||
backup=(
|
backup=(
|
||||||
etc/ipsec.conf
|
etc/ipsec.conf
|
||||||
etc/ipsec.secrets
|
etc/ipsec.secrets
|
||||||
|
@ -43,14 +44,13 @@ revocation.conf,sha1.conf,sha2.conf,sha3.conf,socket-default.conf,sql.conf,sqlit
|
||||||
vici.conf,x509.conf,xauth-eap.conf,xauth-generic.conf,xcbc.conf,unity.conf,curve25519.conf,bypass-lan.conf}
|
vici.conf,x509.conf,xauth-eap.conf,xauth-generic.conf,xcbc.conf,unity.conf,curve25519.conf,bypass-lan.conf}
|
||||||
)
|
)
|
||||||
|
|
||||||
source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"
|
source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"{,.sig}
|
||||||
"https://download.strongswan.org/strongswan-${pkgver}.tar.bz2.sig"
|
|
||||||
'configure_ac.patch'
|
'configure_ac.patch'
|
||||||
)
|
)
|
||||||
|
|
||||||
validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
|
validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
|
||||||
|
|
||||||
sha512sums=('811bfa79aa2b17fcf298c45a2b4109cf4235286e90c4def3e09022ed94c7fa481fc25b8d5054529e4ff4e33011ce6f6ba9874595d16c1a8fe13ef924c4ec6395'
|
sha512sums=('43102814434bee7c27a5956be59099cc4ffb9bb5b0d6382ce4c6a80d1d82ed6639f698f5f5544b9ca563554a344638c953525b0e2d39bc6b71b19055c80e07fc'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'0e2c818f2f620410dda949d9016a4c1a686bf2946acb3b42a729b2376c077f4dad6762fe8d2f736c213c4895c1fbd60c0d654a1c36f72d06f58ba7cff635bc74')
|
'0e2c818f2f620410dda949d9016a4c1a686bf2946acb3b42a729b2376c077f4dad6762fe8d2f736c213c4895c1fbd60c0d654a1c36f72d06f58ba7cff635bc74')
|
||||||
|
|
||||||
|
@ -58,43 +58,78 @@ sha512sums=('811bfa79aa2b17fcf298c45a2b4109cf4235286e90c4def3e09022ed94c7fa481fc
|
||||||
# would case processing to be handled in user space. Also, the plugin is experimental. If you need it,
|
# 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
|
# add --enable-libipsec and --enable-kernel-libipsec
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd ${pkgname}-${pkgver}
|
||||||
patch -p1 -l < "${srcdir}/configure_ac.patch"
|
patch -p1 -l < "${srcdir}/configure_ac.patch"
|
||||||
autoreconf
|
autoreconf -fiv
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sbindir=/usr/bin \
|
--sbindir=/usr/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
--with-ipsecdir=/usr/lib/strongswan \
|
--with-ipsecdir=/usr/lib/strongswan \
|
||||||
--with-nm-ca-dir=/etc/ssl/certs \
|
--with-nm-ca-dir=/etc/ssl/certs \
|
||||||
--enable-integrity-test \
|
--enable-integrity-test \
|
||||||
--enable-sqlite \
|
--enable-sqlite \
|
||||||
--enable-pkcs11 \
|
--enable-pkcs11 \
|
||||||
--enable-openssl --enable-curl \
|
--enable-openssl \
|
||||||
--enable-sql --enable-attr-sql \
|
--enable-curl \
|
||||||
--enable-farp --enable-dhcp \
|
--enable-sql \
|
||||||
--enable-eap-sim --enable-eap-sim-file --enable-eap-simaka-pseudonym \
|
--enable-attr-sql \
|
||||||
--enable-eap-simaka-reauth --enable-eap-identity --enable-eap-md5 \
|
--enable-farp \
|
||||||
--enable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \
|
--enable-dhcp \
|
||||||
--enable-eap-mschapv2 --enable-eap-radius --enable-xauth-eap \
|
--enable-eap-sim \
|
||||||
--enable-ha --enable-vici --enable-swanctl --enable-systemd --enable-ext-auth \
|
--enable-eap-sim-file \
|
||||||
--enable-mysql --enable-ldap --enable-cmd --enable-forecast --enable-connmark \
|
--enable-eap-simaka-pseudonym \
|
||||||
--enable-eap-ttls --enable-radattr --enable-xauth-pam --enable-xauth-noauth \
|
--enable-eap-simaka-reauth \
|
||||||
--enable-eap-dynamic --enable-eap-peap --enable-eap-tls --enable-chapoly --enable-unity \
|
--enable-eap-identity \
|
||||||
--with-capabilities=libcap --enable-newhope --enable-ntru --enable-mgf1 --enable-sha3 \
|
--enable-eap-md5 \
|
||||||
--enable-bliss --enable-dnscert \
|
--enable-eap-gtc \
|
||||||
--enable-nm --enable-agent --enable-bypass-lan \
|
--enable-eap-aka \
|
||||||
--enable-ruby-gems --enable-python-eggs
|
--enable-eap-aka-3gpp2 \
|
||||||
|
--enable-eap-mschapv2 \
|
||||||
|
--enable-eap-radius \
|
||||||
|
--enable-xauth-eap \
|
||||||
|
--enable-ha \
|
||||||
|
--enable-vici \
|
||||||
|
--enable-swanctl \
|
||||||
|
--enable-systemd \
|
||||||
|
--enable-ext-auth \
|
||||||
|
--enable-mysql \
|
||||||
|
--enable-ldap \
|
||||||
|
--enable-cmd \
|
||||||
|
--enable-forecast \
|
||||||
|
--enable-connmark \
|
||||||
|
--enable-eap-ttls \
|
||||||
|
--enable-radattr \
|
||||||
|
--enable-xauth-pam \
|
||||||
|
--enable-xauth-noauth \
|
||||||
|
--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-agent \
|
||||||
|
--enable-bypass-lan \
|
||||||
|
--enable-ruby-gems \
|
||||||
|
--enable-python-eggs
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd ${pkgname}-${pkgver}
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
||||||
|
|
Loading…
Reference in a new issue