[arch-commits] CVS update of core/support/openvpn (PKGBUILD)

Eric Belanger eric at archlinux.org
Sun Nov 4 22:24:55 EST 2007


    Date: Sunday, November 4, 2007 @ 22:24:55
  Author: eric
    Path: /home/cvs-core/core/support/openvpn

Modified: PKGBUILD (1.16 -> 1.17)

upgpkg: openvpn 2.0.9-2
fixed directory permissions, added license


----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)


Index: core/support/openvpn/PKGBUILD
diff -u core/support/openvpn/PKGBUILD:1.16 core/support/openvpn/PKGBUILD:1.17
--- core/support/openvpn/PKGBUILD:1.16	Sun Nov  4 18:18:33 2007
+++ core/support/openvpn/PKGBUILD	Sun Nov  4 22:24:54 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.16 2007/11/04 23:18:33 tom Exp $
+# $Id: PKGBUILD,v 1.17 2007/11/05 03:24:54 eric Exp $
 # Maintainer: Judd Vinet <jvinet at zeroflux.org>
 
 pkgname=openvpn
@@ -8,6 +8,7 @@
 arch=(i686 x86_64)
 url="http://openvpn.sourceforge.net/"
 depends=('openssl' 'lzo2')
+license=('custom')
 backup=(usr/share/openvpn/easy-rsa/vars usr/share/openvpn/easy-rsa/openssl.cnf)
 source=(http://openvpn.net/release/openvpn-$pkgver.tar.gz)
 md5sums=('60745008b90b7dbe25fe8337c550fec6')
@@ -20,7 +21,9 @@
   make DESTDIR=$startdir/pkg install
   mkdir -p $startdir/pkg/etc/openvpn
   cp -a sample-config-files $startdir/pkg/etc/openvpn/examples
-  
+  chmod 755 $startdir/pkg/etc/openvpn/examples
+  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+
   # Install easy-rsa
   make -C easy-rsa/2.0 install DESTDIR=$startdir/pkg PREFIX=usr/share/openvpn/easy-rsa
 }




More information about the arch-commits mailing list