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

Dave Reisner dreisner at archlinux.org
Fri Nov 11 19:27:56 EST 2011


    Date: Friday, November 11, 2011 @ 19:27:55
  Author: dreisner
Revision: 142551

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

Added:
  vpnc/repos/extra-i686/PKGBUILD
    (from rev 142550, vpnc/trunk/PKGBUILD)
  vpnc/repos/extra-i686/vpnc.conf
    (from rev 142550, vpnc/trunk/vpnc.conf)
  vpnc/repos/extra-x86_64/PKGBUILD
    (from rev 142550, vpnc/trunk/PKGBUILD)
  vpnc/repos/extra-x86_64/vpnc.conf
    (from rev 142550, vpnc/trunk/vpnc.conf)
Deleted:
  vpnc/repos/extra-i686/PKGBUILD
  vpnc/repos/extra-i686/vpnc.conf
  vpnc/repos/extra-x86_64/PKGBUILD
  vpnc/repos/extra-x86_64/vpnc.conf

------------------------+
 extra-i686/PKGBUILD    |   93 +++++++++++++++++++++++++++--------------------
 extra-i686/vpnc.conf   |   34 ++++++++---------
 extra-x86_64/PKGBUILD  |   93 +++++++++++++++++++++++++++--------------------
 extra-x86_64/vpnc.conf |   34 ++++++++---------
 4 files changed, 142 insertions(+), 112 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-11-12 00:27:41 UTC (rev 142550)
+++ extra-i686/PKGBUILD	2011-11-12 00:27:55 UTC (rev 142551)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Thomas Baechler <thomas at archlinux.org>
-
-pkgname=vpnc
-pkgver=0.5.3.svn457
-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')
-optdepends=('openresolv: Let vpnc manage resolv.conf')
-arch=('i686' 'x86_64')
-source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
-        'vpnc.conf')
-backup=('etc/vpnc/default.conf')
-md5sums=('033e642e17200a0efc0eda1c1c1886a2'
-         'a3f4e0cc682f437e310a1c86ae198e45')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Build hybrid support
-  sed -i 's|^#OPENSSL|OPENSSL|g' Makefile
-
-  # fix resolvconf location for community/openresolv
-  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-script
-
-  make PREFIX=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" PREFIX=/usr install
-
-  rm -f "$pkgdir"/etc/vpnc/vpnc.conf
-  install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
-}

Copied: vpnc/repos/extra-i686/PKGBUILD (from rev 142550, vpnc/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-11-12 00:27:55 UTC (rev 142551)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+
+pkgname=vpnc
+_vpncver=0.5.3
+pkgver=$_vpncver.svn472
+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')
+optdepends=('openresolv: Let vpnc manage resolv.conf')
+arch=('i686' 'x86_64')
+source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
+        'vpnc.conf')
+backup=('etc/vpnc/default.conf')
+md5sums=('51c350341ad4e7f8efbba19810b138a3'
+         'a3f4e0cc682f437e310a1c86ae198e45')
+
+mktarball() {
+  svn co http://svn.unix-ag.uni-kl.de/vpnc/trunk
+  pushd trunk
+  _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+  popd
+
+  git clone git://git.infradead.org/users/dwmw2/vpnc-scripts.git
+  cp vpnc-scripts/vpnc-script trunk/
+
+  find trunk/ -type d -name .svn -exec rm -rf {} +
+  mv trunk "$pkgname-$_vpncver.svn$_svnrev"
+  tar cJf "$pkgname-$_vpncver.svn$_svnrev"{.tar.xz,}
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Build hybrid support
+  sed -i 's|^#OPENSSL|OPENSSL|g' Makefile
+
+  # fix resolvconf location for community/openresolv
+  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-script
+
+  make PREFIX=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+
+  rm -f "$pkgdir"/etc/vpnc/vpnc.conf
+  install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
+}

Deleted: extra-i686/vpnc.conf
===================================================================
--- extra-i686/vpnc.conf	2011-11-12 00:27:41 UTC (rev 142550)
+++ extra-i686/vpnc.conf	2011-11-12 00:27:55 UTC (rev 142551)
@@ -1,17 +0,0 @@
-# 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/extra-i686/vpnc.conf (from rev 142550, vpnc/trunk/vpnc.conf)
===================================================================
--- extra-i686/vpnc.conf	                        (rev 0)
+++ extra-i686/vpnc.conf	2011-11-12 00:27:55 UTC (rev 142551)
@@ -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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-11-12 00:27:41 UTC (rev 142550)
+++ extra-x86_64/PKGBUILD	2011-11-12 00:27:55 UTC (rev 142551)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Thomas Baechler <thomas at archlinux.org>
-
-pkgname=vpnc
-pkgver=0.5.3.svn457
-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')
-optdepends=('openresolv: Let vpnc manage resolv.conf')
-arch=('i686' 'x86_64')
-source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
-        'vpnc.conf')
-backup=('etc/vpnc/default.conf')
-md5sums=('033e642e17200a0efc0eda1c1c1886a2'
-         'a3f4e0cc682f437e310a1c86ae198e45')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Build hybrid support
-  sed -i 's|^#OPENSSL|OPENSSL|g' Makefile
-
-  # fix resolvconf location for community/openresolv
-  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-script
-
-  make PREFIX=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" PREFIX=/usr install
-
-  rm -f "$pkgdir"/etc/vpnc/vpnc.conf
-  install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
-}

Copied: vpnc/repos/extra-x86_64/PKGBUILD (from rev 142550, vpnc/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-11-12 00:27:55 UTC (rev 142551)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+
+pkgname=vpnc
+_vpncver=0.5.3
+pkgver=$_vpncver.svn472
+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')
+optdepends=('openresolv: Let vpnc manage resolv.conf')
+arch=('i686' 'x86_64')
+source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
+        'vpnc.conf')
+backup=('etc/vpnc/default.conf')
+md5sums=('51c350341ad4e7f8efbba19810b138a3'
+         'a3f4e0cc682f437e310a1c86ae198e45')
+
+mktarball() {
+  svn co http://svn.unix-ag.uni-kl.de/vpnc/trunk
+  pushd trunk
+  _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+  popd
+
+  git clone git://git.infradead.org/users/dwmw2/vpnc-scripts.git
+  cp vpnc-scripts/vpnc-script trunk/
+
+  find trunk/ -type d -name .svn -exec rm -rf {} +
+  mv trunk "$pkgname-$_vpncver.svn$_svnrev"
+  tar cJf "$pkgname-$_vpncver.svn$_svnrev"{.tar.xz,}
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Build hybrid support
+  sed -i 's|^#OPENSSL|OPENSSL|g' Makefile
+
+  # fix resolvconf location for community/openresolv
+  sed -i 's|/sbin/resolvconf|/usr&|g' vpnc-script
+
+  make PREFIX=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+
+  rm -f "$pkgdir"/etc/vpnc/vpnc.conf
+  install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
+}

Deleted: extra-x86_64/vpnc.conf
===================================================================
--- extra-x86_64/vpnc.conf	2011-11-12 00:27:41 UTC (rev 142550)
+++ extra-x86_64/vpnc.conf	2011-11-12 00:27:55 UTC (rev 142551)
@@ -1,17 +0,0 @@
-# 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/extra-x86_64/vpnc.conf (from rev 142550, vpnc/trunk/vpnc.conf)
===================================================================
--- extra-x86_64/vpnc.conf	                        (rev 0)
+++ extra-x86_64/vpnc.conf	2011-11-12 00:27:55 UTC (rev 142551)
@@ -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



More information about the arch-commits mailing list