Date: Sunday, January 11, 2015 @ 00:34:23
  Author: heftig
Revision: 228911

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

Added:
  vpnc/repos/testing-i686/
  vpnc/repos/testing-i686/PKGBUILD
    (from rev 228910, vpnc/trunk/PKGBUILD)
  vpnc/repos/testing-i686/vpnc.conf
    (from rev 228910, vpnc/trunk/vpnc.conf)
  vpnc/repos/testing-i686/vpnc@.service
    (from rev 228910, vpnc/trunk/vpnc@.service)
  vpnc/repos/testing-x86_64/
  vpnc/repos/testing-x86_64/PKGBUILD
    (from rev 228910, vpnc/trunk/PKGBUILD)
  vpnc/repos/testing-x86_64/vpnc.conf
    (from rev 228910, vpnc/trunk/vpnc.conf)
  vpnc/repos/testing-x86_64/vpnc@.service
    (from rev 228910, vpnc/trunk/vpnc@.service)

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

Copied: vpnc/repos/testing-i686/PKGBUILD (from rev 228910, vpnc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2015-01-10 23:34:23 UTC (rev 228911)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreis...@archlinux.org>
+# Contributor: Thomas Baechler <tho...@archlinux.org>
+
+pkgname=vpnc
+_svnrev=550
+pkgver=0.5.3.svn${_svnrev}
+pkgrel=1
+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@.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@.service 
"$pkgdir"/usr/lib/systemd/system/vpnc@.service
+}

Copied: vpnc/repos/testing-i686/vpnc.conf (from rev 228910, 
vpnc/trunk/vpnc.conf)
===================================================================
--- testing-i686/vpnc.conf                              (rev 0)
+++ testing-i686/vpnc.conf      2015-01-10 23:34:23 UTC (rev 228911)
@@ -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/testing-i686/vpnc@.service (from rev 228910, 
vpnc/trunk/vpnc@.service)
===================================================================
--- testing-i686/vpnc@.service                          (rev 0)
+++ testing-i686/vpnc@.service  2015-01-10 23:34:23 UTC (rev 228911)
@@ -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/testing-x86_64/PKGBUILD (from rev 228910, 
vpnc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2015-01-10 23:34:23 UTC (rev 228911)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreis...@archlinux.org>
+# Contributor: Thomas Baechler <tho...@archlinux.org>
+
+pkgname=vpnc
+_svnrev=550
+pkgver=0.5.3.svn${_svnrev}
+pkgrel=1
+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@.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@.service 
"$pkgdir"/usr/lib/systemd/system/vpnc@.service
+}

Copied: vpnc/repos/testing-x86_64/vpnc.conf (from rev 228910, 
vpnc/trunk/vpnc.conf)
===================================================================
--- testing-x86_64/vpnc.conf                            (rev 0)
+++ testing-x86_64/vpnc.conf    2015-01-10 23:34:23 UTC (rev 228911)
@@ -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/testing-x86_64/vpnc@.service (from rev 228910, 
vpnc/trunk/vpnc@.service)
===================================================================
--- testing-x86_64/vpnc@.service                                (rev 0)
+++ testing-x86_64/vpnc@.service        2015-01-10 23:34:23 UTC (rev 228911)
@@ -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

Reply via email to