[arch-commits] Commit in vpnc/repos (8 files)

Jan de Groot jgc at archlinux.org
Sat Mar 4 22:16:25 UTC 2017


    Date: Saturday, March 4, 2017 @ 22:16:25
  Author: jgc
Revision: 290003

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  vpnc/repos/staging-i686/
  vpnc/repos/staging-i686/PKGBUILD
    (from rev 290002, vpnc/trunk/PKGBUILD)
  vpnc/repos/staging-i686/vpnc.conf
    (from rev 290002, vpnc/trunk/vpnc.conf)
  vpnc/repos/staging-i686/vpnc at .service
    (from rev 290002, vpnc/trunk/vpnc at .service)
  vpnc/repos/staging-x86_64/
  vpnc/repos/staging-x86_64/PKGBUILD
    (from rev 290002, vpnc/trunk/PKGBUILD)
  vpnc/repos/staging-x86_64/vpnc.conf
    (from rev 290002, vpnc/trunk/vpnc.conf)
  vpnc/repos/staging-x86_64/vpnc at .service
    (from rev 290002, vpnc/trunk/vpnc at .service)

------------------------------+
 staging-i686/PKGBUILD        |   55 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/vpnc.conf       |   17 ++++++++++++
 staging-i686/vpnc at .service   |   10 +++++++
 staging-x86_64/PKGBUILD      |   55 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/vpnc.conf     |   17 ++++++++++++
 staging-x86_64/vpnc at .service |   10 +++++++
 6 files changed, 164 insertions(+)

Copied: vpnc/repos/staging-i686/PKGBUILD (from rev 290002, vpnc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+
+pkgname=vpnc
+_svnrev=550
+pkgver=0.5.3.svn${_svnrev}
+pkgrel=2
+pkgdesc="VPN client for cisco3000 VPN Concentrators"
+url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
+license=('GPL')
+depends=('libgcrypt' 'openssl' 'iproute2')
+makedepends=('subversion' 'git')
+optdepends=('openresolv: Let vpnc manage resolv.conf')
+arch=('i686' 'x86_64')
+source=("vpnc::svn+http://svn.unix-ag.uni-kl.de/vpnc/trunk#revision=${_svnrev}"
+        "vpnc-scripts::git://git.infradead.org/users/dwmw2/vpnc-scripts.git#commit=df5808b"
+        'vpnc.conf'
+        'vpnc at .service')
+backup=('etc/vpnc/default.conf')
+md5sums=('SKIP'
+         'SKIP'
+         'a3f4e0cc682f437e310a1c86ae198e45'
+         '09cfded435c43dd2adb5a8863bd74cfc')
+
+#pkgver() {
+#  cd vpnc
+#  _vpncver=$(cat VERSION)
+#  _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+#  echo ${_vpncver}.svn${_svnrev}
+#}
+
+prepare() {
+  # Build hybrid support
+  sed -i 's|^#OPENSSL|OPENSSL|g' vpnc/Makefile
+
+  # fix resolvconf location for community/openresolv
+  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-scripts/vpnc-script
+}
+
+build() {
+  cd vpnc
+  make
+}
+
+package() {
+  cd vpnc
+
+  make DESTDIR="$pkgdir" PREFIX=/usr SBINDIR=/usr/bin install
+
+  install -Dm644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
+  install -Dm755 "$srcdir"/vpnc-scripts/vpnc-script "$pkgdir"/etc/vpnc/vpnc-script
+
+  install -Dm644 "$srcdir"/vpnc at .service "$pkgdir"/usr/lib/systemd/system/vpnc at .service
+}

Copied: vpnc/repos/staging-i686/vpnc.conf (from rev 290002, vpnc/trunk/vpnc.conf)
===================================================================
--- staging-i686/vpnc.conf	                        (rev 0)
+++ staging-i686/vpnc.conf	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,17 @@
+# example vpnc configuration file
+# see vpnc --long-help for details
+
+#Interface name tun0 
+#IKE DH Group dh2
+#Perfect Forward Secrecy nopfs
+
+# You may replace this script with something better
+#Script /etc/vpnc/vpnc-script
+# Enable this option for NAT traversal
+#UDP Encapsulate
+
+#IPSec gateway my.gateway.com
+#IPSec ID someid
+#IPSec secret somesecret
+#Xauth username myusername
+#Xauth password mypassword

Copied: vpnc/repos/staging-i686/vpnc at .service (from rev 290002, vpnc/trunk/vpnc at .service)
===================================================================
--- staging-i686/vpnc at .service	                        (rev 0)
+++ staging-i686/vpnc at .service	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,10 @@
+[Unit]
+Description=VPNC connection to %i
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/vpnc --pid-file=/run/vpnc@%i.pid /etc/vpnc/%i.conf
+PIDFile=/run/vpnc@%i.pid
+
+[Install]
+WantedBy=multi-user.target

Copied: vpnc/repos/staging-x86_64/PKGBUILD (from rev 290002, vpnc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+
+pkgname=vpnc
+_svnrev=550
+pkgver=0.5.3.svn${_svnrev}
+pkgrel=2
+pkgdesc="VPN client for cisco3000 VPN Concentrators"
+url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
+license=('GPL')
+depends=('libgcrypt' 'openssl' 'iproute2')
+makedepends=('subversion' 'git')
+optdepends=('openresolv: Let vpnc manage resolv.conf')
+arch=('i686' 'x86_64')
+source=("vpnc::svn+http://svn.unix-ag.uni-kl.de/vpnc/trunk#revision=${_svnrev}"
+        "vpnc-scripts::git://git.infradead.org/users/dwmw2/vpnc-scripts.git#commit=df5808b"
+        'vpnc.conf'
+        'vpnc at .service')
+backup=('etc/vpnc/default.conf')
+md5sums=('SKIP'
+         'SKIP'
+         'a3f4e0cc682f437e310a1c86ae198e45'
+         '09cfded435c43dd2adb5a8863bd74cfc')
+
+#pkgver() {
+#  cd vpnc
+#  _vpncver=$(cat VERSION)
+#  _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+#  echo ${_vpncver}.svn${_svnrev}
+#}
+
+prepare() {
+  # Build hybrid support
+  sed -i 's|^#OPENSSL|OPENSSL|g' vpnc/Makefile
+
+  # fix resolvconf location for community/openresolv
+  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-scripts/vpnc-script
+}
+
+build() {
+  cd vpnc
+  make
+}
+
+package() {
+  cd vpnc
+
+  make DESTDIR="$pkgdir" PREFIX=/usr SBINDIR=/usr/bin install
+
+  install -Dm644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
+  install -Dm755 "$srcdir"/vpnc-scripts/vpnc-script "$pkgdir"/etc/vpnc/vpnc-script
+
+  install -Dm644 "$srcdir"/vpnc at .service "$pkgdir"/usr/lib/systemd/system/vpnc at .service
+}

Copied: vpnc/repos/staging-x86_64/vpnc.conf (from rev 290002, vpnc/trunk/vpnc.conf)
===================================================================
--- staging-x86_64/vpnc.conf	                        (rev 0)
+++ staging-x86_64/vpnc.conf	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,17 @@
+# example vpnc configuration file
+# see vpnc --long-help for details
+
+#Interface name tun0 
+#IKE DH Group dh2
+#Perfect Forward Secrecy nopfs
+
+# You may replace this script with something better
+#Script /etc/vpnc/vpnc-script
+# Enable this option for NAT traversal
+#UDP Encapsulate
+
+#IPSec gateway my.gateway.com
+#IPSec ID someid
+#IPSec secret somesecret
+#Xauth username myusername
+#Xauth password mypassword

Copied: vpnc/repos/staging-x86_64/vpnc at .service (from rev 290002, vpnc/trunk/vpnc at .service)
===================================================================
--- staging-x86_64/vpnc at .service	                        (rev 0)
+++ staging-x86_64/vpnc at .service	2017-03-04 22:16:25 UTC (rev 290003)
@@ -0,0 +1,10 @@
+[Unit]
+Description=VPNC connection to %i
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/vpnc --pid-file=/run/vpnc@%i.pid /etc/vpnc/%i.conf
+PIDFile=/run/vpnc@%i.pid
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list