wok-current rev 13517

Up vpnc (0.5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 19 10:47:03 2012 +0200 (2012-10-19)
parents 45ebb0c2566a
children 62efb7562aad
files vpnc-cert/receipt vpnc/receipt
line diff
     1.1 --- a/vpnc-cert/receipt	Fri Oct 19 10:04:18 2012 +0200
     1.2 +++ b/vpnc-cert/receipt	Fri Oct 19 10:47:03 2012 +0200
     1.3 @@ -1,11 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="vpnc-cert"
     1.7 -VERSION="0.5.1"
     1.8 +SOURCE="vpnc"
     1.9 +VERSION="0.5.3"
    1.10  CATEGORY="network"
    1.11  SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
    1.16  WGET_URL="$WEB_SITE$TARBALL"
    1.17  CONFIG_FILES="/etc/vpnc"
     2.1 --- a/vpnc/receipt	Fri Oct 19 10:04:18 2012 +0200
     2.2 +++ b/vpnc/receipt	Fri Oct 19 10:47:03 2012 +0200
     2.3 @@ -1,33 +1,34 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="vpnc"
     2.7 -VERSION="0.5.1"
     2.8 +VERSION="0.5.3"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13  WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
    2.14  WGET_URL="$WEB_SITE$TARBALL"
    2.15 +CONFIG_FILES="/etc/vpnc"
    2.16 +TAGS="vpn tunnel"
    2.17 +
    2.18  DEPENDS="libgcrypt libgpg-error glibc-base perl"
    2.19  BUILD_DEPENDS="libgcrypt-dev openssl-dev"
    2.20 -CONFIG_FILES="/etc/vpnc"
    2.21 -TAGS="vpn tunnel"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26  	cd $src
    2.27  	sed -i "s|perl -w .*|&\\n	sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
    2.28 -	make && make DESTDIR=$PWD/_pkg install
    2.29 +	make && make DESTDIR=$DESTDIR install
    2.30  }
    2.31  
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33  genpkg_rules()
    2.34  {
    2.35  	mkdir -p $fs/usr $fs/var/run/vpnc
    2.36 -	cp -a $_pkg/etc $fs
    2.37 -	cp -a $_pkg/usr/local/bin $fs/usr
    2.38 -	cp -a $_pkg/usr/local/sbin $fs/usr
    2.39 +	cp -a $install/etc $fs
    2.40 +	cp -a $install/usr/local/bin $fs/usr
    2.41 +	cp -a $install/usr/local/sbin $fs/usr
    2.42  	sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
    2.43  }
    2.44