[arch-commits] Commit in strongswan/repos/community-x86_64 (6 files)

Christian Rebischke shibumi at archlinux.org
Mon Dec 23 02:31:57 UTC 2019


    Date: Monday, December 23, 2019 @ 02:31:56
  Author: shibumi
Revision: 538948

archrelease: copy trunk to community-x86_64

Added:
  strongswan/repos/community-x86_64/PKGBUILD
    (from rev 538947, strongswan/trunk/PKGBUILD)
  strongswan/repos/community-x86_64/configure_ac.patch
    (from rev 538947, strongswan/trunk/configure_ac.patch)
  strongswan/repos/community-x86_64/strongswan.install
    (from rev 538947, strongswan/trunk/strongswan.install)
Deleted:
  strongswan/repos/community-x86_64/PKGBUILD
  strongswan/repos/community-x86_64/configure_ac.patch
  strongswan/repos/community-x86_64/strongswan.install

--------------------+
 PKGBUILD           |  253 +++++++++++++++++++++++++--------------------------
 configure_ac.patch |   32 +++---
 strongswan.install |   32 +++---
 3 files changed, 158 insertions(+), 159 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-23 02:31:48 UTC (rev 538947)
+++ PKGBUILD	2019-12-23 02:31:56 UTC (rev 538948)
@@ -1,127 +0,0 @@
-# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
-# Contributor: dkorzhevin <dkorzhevin at gmail dot com>
-# Contributor: Thermi <noel [at] familie-kuntze dot de>
-# Contributor: nikicat <develniks at gmail dot com>
-# Contributor: danilo <gezuru at gmail dot com>
-# Contributor: Jason Begley <jayray at digitalgoat dot com>
-# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
-# Contributor: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
-# Contributor: 458italia <svenskaparadox [at] gmail dot com>
-# Contributor: Thermi <noel [at] familie-kuntze dot com>
-
-pkgname=strongswan
-pkgver=5.8.1
-pkgrel=3
-pkgdesc='Open source IPsec implementation'
-url='https://www.strongswan.org'
-license=('GPL2')
-arch=('x86_64')
-makedepends=('curl' 'gmp' 'libnm' 'iproute2' 'openssl' 'sqlite' 'libcap' 'systemd-libs'
-    'systemd' 'pam' 'python' 'ruby' 'mariadb' 'python-setuptools')
-depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'systemd-libs' 'pam')
-optdepends=('libnm: for networkmanager support'
-    'mariadb: MySQL support'
-    'ruby: Ruby support'
-    'python: Python support'
-    'resolvconf: Resolveplugin'
-    'openldap: LDAP support')
-# TODO: move to package() and use find
-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,bypass-lan.conf})
-source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"{,.sig}
-    'configure_ac.patch')
-validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
-sha512sums=('630d24643b3d61e931bb25cdd083ad3c55f92fe41f3fcd3198012eee486fb3b1a16dc3f80936162afb7da9e471d45d92b7d183a00153a558babb2a79e5f6813f'
-    'SKIP'
-    '0e2c818f2f620410dda949d9016a4c1a686bf2946acb3b42a729b2376c077f4dad6762fe8d2f736c213c4895c1fbd60c0d654a1c36f72d06f58ba7cff635bc74')
-install=strongswan.install
-
-# 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 ${pkgname}-${pkgver}
-    patch -p1 -l < "${srcdir}/configure_ac.patch"
-    autoreconf -fiv
-}
-
-build() {
-    cd ${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-integrity-test \
-        --enable-sqlite \
-        --enable-pkcs11 \
-        --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 \
-        --enable-mysql \
-        --enable-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 \
-        --enable-nm \
-        --enable-agent \
-        --enable-bypass-lan \
-        --enable-ruby-gems \
-        --enable-python-eggs
-    make
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    make DESTDIR="${pkgdir}" install
-    install -Dm644 "${pkgdir}/etc/dbus-1/system.d/nm-strongswan-service.conf" "${pkgdir}/usr/share/dbus-1/system.d/nm-strongswan-service.conf"
-    rm -v "${pkgdir}/etc/dbus-1/system.d/nm-strongswan-service.conf"
-    # remove empty directory
-    rmdir -v "${pkgdir}/etc/dbus-1/system.d"
-}
-
-# vim: ts=2 sw=2 et:

Copied: strongswan/repos/community-x86_64/PKGBUILD (from rev 538947, strongswan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-23 02:31:56 UTC (rev 538948)
@@ -0,0 +1,126 @@
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: dkorzhevin <dkorzhevin at gmail dot com>
+# Contributor: Thermi <noel [at] familie-kuntze dot de>
+# Contributor: nikicat <develniks at gmail dot com>
+# Contributor: danilo <gezuru at gmail dot com>
+# Contributor: Jason Begley <jayray at digitalgoat dot com>
+# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
+# Contributor: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
+# Contributor: 458italia <svenskaparadox [at] gmail dot com>
+# Contributor: Thermi <noel [at] familie-kuntze dot com>
+
+pkgname=strongswan
+pkgver=5.8.2
+pkgrel=1
+pkgdesc='Open source IPsec implementation'
+url='https://www.strongswan.org'
+license=('GPL2')
+arch=('x86_64')
+makedepends=('curl' 'gmp' 'libnm' 'iproute2' 'openssl' 'sqlite' 'libcap' 'systemd-libs'
+  'systemd' 'pam' 'python' 'ruby' 'mariadb' 'python-setuptools')
+depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'systemd-libs' 'pam')
+optdepends=('libnm: for networkmanager support'
+  'mariadb: MySQL support'
+  'ruby: Ruby support'
+  'python: Python support'
+  'resolvconf: Resolveplugin'
+  'openldap: LDAP support')
+# TODO: move to package() and use find
+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,bypass-lan.conf})
+source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"{,.sig}
+  'configure_ac.patch')
+validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
+sha512sums=('423e7924acfe8a03ad7d4359ae9086fd516798fcf5eb948a27b52ea719f4d8954b83ea30ce94191ea1647616611df8a1215cb4d5c7ec48676624df6c41853e1d'
+  'SKIP'
+  '0e2c818f2f620410dda949d9016a4c1a686bf2946acb3b42a729b2376c077f4dad6762fe8d2f736c213c4895c1fbd60c0d654a1c36f72d06f58ba7cff635bc74')
+install=strongswan.install
+
+# 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   ${pkgname}-${pkgver}
+  patch   -p1 -l <"${srcdir}/configure_ac.patch"
+  autoreconf   -fiv
+}
+
+build() {
+  cd   ${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-integrity-test \
+    --enable-sqlite \
+    --enable-pkcs11 \
+    --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 \
+    --enable-mysql \
+    --enable-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 \
+    --enable-nm \
+    --enable-agent \
+    --enable-bypass-lan \
+    --enable-ruby-gems \
+    --enable-python-eggs
+  make
+}
+
+package() {
+  cd   ${pkgname}-${pkgver}
+  make   DESTDIR="${pkgdir}" install
+  # this is not necessary anymore
+  #install -Dm644 "${pkgdir}/etc/dbus-1/system.d/nm-strongswan-service.conf" "${pkgdir}/usr/share/dbus-1/system.d/nm-strongswan-service.conf"
+  #rm -v "${pkgdir}/etc/dbus-1/system.d/nm-strongswan-service.conf"
+  # remove empty directory
+  #rmdir -v "${pkgdir}/etc/dbus-1/system.d"
+}

Deleted: configure_ac.patch
===================================================================
--- configure_ac.patch	2019-12-23 02:31:48 UTC (rev 538947)
+++ configure_ac.patch	2019-12-23 02:31:56 UTC (rev 538948)
@@ -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)]
-        )
-

Copied: strongswan/repos/community-x86_64/configure_ac.patch (from rev 538947, strongswan/trunk/configure_ac.patch)
===================================================================
--- configure_ac.patch	                        (rev 0)
+++ configure_ac.patch	2019-12-23 02:31:56 UTC (rev 538948)
@@ -0,0 +1,16 @@
+--- 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)]
+        )
+

Deleted: strongswan.install
===================================================================
--- strongswan.install	2019-12-23 02:31:48 UTC (rev 538947)
+++ strongswan.install	2019-12-23 02:31:56 UTC (rev 538948)
@@ -1,16 +0,0 @@
-post_upgrade() {
-  if (($(vercmp 5.8.0-1 $2) > 0)); then
-    echo "
-    Strongswan 5.8.0-1 introduced new names for the systemd unit files:
-
-    strongswan.service got renamed to strongswan-starter.service
-    strongswan-swanctl.service got renamed to strongswan.service
-
-    If you use the legacy ipsec.conf, you need to enable
-    strongswan-starter.service from now on.
-
-    If you use swanctl, you need to enable strongswan.service from now on.
-    EOF
-    "
-  fi
-}

Copied: strongswan/repos/community-x86_64/strongswan.install (from rev 538947, strongswan/trunk/strongswan.install)
===================================================================
--- strongswan.install	                        (rev 0)
+++ strongswan.install	2019-12-23 02:31:56 UTC (rev 538948)
@@ -0,0 +1,16 @@
+post_upgrade() {
+  if (($(vercmp 5.8.0-1 $2) > 0)); then
+    echo "
+    Strongswan 5.8.0-1 introduced new names for the systemd unit files:
+
+    strongswan.service got renamed to strongswan-starter.service
+    strongswan-swanctl.service got renamed to strongswan.service
+
+    If you use the legacy ipsec.conf, you need to enable
+    strongswan-starter.service from now on.
+
+    If you use swanctl, you need to enable strongswan.service from now on.
+    EOF
+    "
+  fi
+}



More information about the arch-commits mailing list