[arch-commits] Commit in strongswan/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Fri Jul 14 20:28:37 UTC 2017


    Date: Friday, July 14, 2017 @ 20:28:37
  Author: shibumi
Revision: 245124

upgpkg: strongswan 5.5.3-3 --enabled-agent + minor PKGBUILD fixes

Modified:
  strongswan/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-14 20:23:54 UTC (rev 245123)
+++ PKGBUILD	2017-07-14 20:28:37 UTC (rev 245124)
@@ -11,16 +11,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
@@ -39,7 +37,7 @@
 
 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")
@@ -51,8 +49,7 @@
 # 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
@@ -82,7 +79,7 @@
         --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
 }
@@ -89,6 +86,6 @@
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="${pkgdir}" install
 }
 



More information about the arch-commits mailing list