summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/strongswan/PKGBUILD95
-rw-r--r--pcr/strongswan/configure_ac.patch16
2 files changed, 0 insertions, 111 deletions
diff --git a/pcr/strongswan/PKGBUILD b/pcr/strongswan/PKGBUILD
deleted file mode 100644
index ba83c6cd6..000000000
--- a/pcr/strongswan/PKGBUILD
+++ /dev/null
@@ -1,95 +0,0 @@
-# PLEASE READ THE COMMENTS ON THE AUR AND READ THE WIKI ARTICLE ABOUT BUILDING PACKAGES
-# BEFORE SENDING MAIL!
-## Contributor (Arch): nikicat <develniks at gmail dot com>
-# Contributor (Arch): danilo <gezuru at gmail dot com>
-# Contributor (Arch): Jason Begley <jayray at digitalgoat dot com>
-# Contributor (Arch): Ray Kohler <ataraxia937 at gmail dot com>
-# Contributor (Arch): Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
-# Contributor (Arch): 458italia <svenskaparadox [at] gmail dot com>
-# Contributor (Arch): Thermi <noel [at] familie-kuntze dot com>
-# Former maintainer (Arch): dkorzhevin <dkorzhevin at gmail dot com>
-# Maintainer (Arch): Thermi <noel [at] familie-kuntze dot de>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=strongswan
-pkgver=5.5.2
-pkgrel=1
-pkgdesc="open source IPsec implementation"
-url='http://www.strongswan.org'
-license=("GPL")
-arch=('i686' 'x86_64')
-# If you want networkmanager support, add a makedepend and depend for libnm-glib
-depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'pam')
-makedepends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'libsystemd' 'systemd' 'pam')
-conflicts=('openswan')
-options=(!libtool)
-backup=(
- etc/ipsec.conf
- etc/ipsec.secrets
- etc/swanctl/swanctl.conf
- etc/strongswan.conf
- etc/strongswan.d/{charon-logging.conf,charon.conf,pki.conf,pool.conf,scepclient.conf,starter.conf,swanctl.conf}
- etc/strongswan.d/charon/{aesni.conf,attr-sql.conf,attr.conf,bliss.conf,chapoly.conf,cmac.conf,connmark.conf,\
-constraints.conf,curl.conf,des.conf,dhcp.conf,dnskey.conf,eap-aka-3gpp2.conf,eap-aka.conf,\
-eap-gtc.conf,eap-identity.conf,eap-md5.conf,eap-mschapv2.conf,eap-radius.conf,eap-sim-file.conf,\
-eap-sim.conf,eap-simaka-pseudonym.conf,eap-simaka-reauth.conf,eap-tls.conf,ext-auth.conf,farp.conf,\
-fips-prf.conf,forecast.conf,gmp.conf,ha.conf,hmac.conf,kernel-netlink.conf,md5.conf,mgf1.conf,nonce.conf,newhope.conf,ntru.conf,openssl.conf,\
-pem.conf,pgp.conf,pkcs1.conf,pkcs12.conf,pkcs7.conf,pkcs8.conf,pubkey.conf,random.conf,rc2.conf,resolve.conf,\
-revocation.conf,sha1.conf,sha2.conf,sha3.conf,socket-default.conf,sql.conf,sqlite.conf,sshkey.conf,stroke.conf,updown.conf,\
-vici.conf,x509.conf,xauth-eap.conf,xauth-generic.conf,xcbc.conf,unity.conf,curve25519.conf}
-)
-
-source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"
- "https://download.strongswan.org/strongswan-${pkgver}.tar.bz2.sig"
- "configure_ac.patch"
- )
-
-validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
-
-sha256sums=('da976fca836f05fc7b7a38baab299745f960cb7640319969d239d8aa4ace9f6a'
- 'SKIP'
- '003750d77fa501075f1fdb6f55926dc544407c5dd26e2fd8d5eb4917ddf0b3f7')
-
-# 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()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -l < "${srcdir}/configure_ac.patch"
- autoreconf
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --with-ipsecdir=/usr/lib/strongswan \
- --with-nm-ca-dir=/etc/ssl/certs \
- --enable-sqlite \
- --enable-openssl --enable-curl \
- --enable-sql --enable-attr-sql \
- --enable-farp --enable-dhcp \
- --enable-eap-sim --enable-eap-sim-file --enable-eap-simaka-pseudonym \
- --enable-eap-simaka-reauth --enable-eap-identity --enable-eap-md5 \
- --enable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \
- --enable-eap-mschapv2 --enable-eap-radius --enable-xauth-eap \
- --enable-ha --enable-vici --enable-swanctl --enable-systemd --enable-ext-auth \
- --disable-mysql --disable-ldap --enable-cmd --enable-forecast --enable-connmark \
- --enable-aesni --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
-# if you want networkmanager support, add --enable-nm
-# --enable-ruby-gems --enable-python-eggs
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
-}
-
diff --git a/pcr/strongswan/configure_ac.patch b/pcr/strongswan/configure_ac.patch
deleted file mode 100644
index 529952063..000000000
--- a/pcr/strongswan/configure_ac.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/configure.ac 2016-03-22 09:36:03.000000000 +0100
-+++ b/configure.ac 2016-03-26 18:35:44.697586161 +0100
-@@ -946,10 +946,10 @@
- PKG_CHECK_MODULES(systemd, [libsystemd >= 209],
- [AC_SUBST(systemd_CFLAGS)
- AC_SUBST(systemd_LIBS)],
-- [PKG_CHECK_MODULES(systemd_daemon, [libsystemd-daemon])
-+ [PKG_CHECK_MODULES(systemd_daemon, [libsystemd])
- AC_SUBST(systemd_daemon_CFLAGS)
- AC_SUBST(systemd_daemon_LIBS)
-- PKG_CHECK_MODULES(systemd_journal, [libsystemd-journal])
-+ PKG_CHECK_MODULES(systemd_journal, [libsystemd])
- AC_SUBST(systemd_journal_CFLAGS)
- AC_SUBST(systemd_journal_LIBS)]
- )
-