wok-next annotate vpnc-cert/receipt @ rev 17821
Up: firefox-official (36.0.4): fix CVE-2015-0818; up: tzdata (2015b).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 22 11:05:54 2015 +0200 (2015-03-22) |
parents | 7896f0694ef6 |
children | 90198f573d18 |
rev | line source |
---|---|
pascal@13516 | 1 # SliTaz package receipt. |
pascal@13516 | 2 |
pascal@13516 | 3 PACKAGE="vpnc-cert" |
pascal@13517 | 4 SOURCE="vpnc" |
pascal@13517 | 5 VERSION="0.5.3" |
pascal@13516 | 6 CATEGORY="network" |
pascal@13516 | 7 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment." |
pascal@13516 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
pascal@13517 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13516 | 11 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" |
pascal@13516 | 12 WGET_URL="$WEB_SITE$TARBALL" |
pascal@13516 | 13 CONFIG_FILES="/etc/vpnc" |
pascal@13516 | 14 TAGS="vpn tunnel" |
pascal@17482 | 15 PROVIDE="vpnc" |
pascal@13516 | 16 |
pascal@13516 | 17 DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto" |
pascal@13516 | 18 BUILD_DEPENDS="libgcrypt-dev openssl-dev" |
pascal@13516 | 19 |
pascal@13516 | 20 # Rules to configure and make the package. |
pascal@13516 | 21 compile_rules() |
pascal@13516 | 22 { |
pascal@13516 | 23 cd $src |
pascal@13516 | 24 sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license |
pascal@13516 | 25 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile |
pascal@13516 | 26 make && make DESTDIR=$DESTDIR install |
pascal@13516 | 27 } |
pascal@13516 | 28 |
pascal@13516 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13516 | 30 genpkg_rules() |
pascal@13516 | 31 { |
pascal@13516 | 32 mkdir -p $fs/usr $fs/var/run/vpnc |
pascal@13516 | 33 cp -a $install/etc $fs |
pascal@13516 | 34 cp -a $install/usr/local/bin $fs/usr |
pascal@13516 | 35 cp -a $install/usr/local/sbin $fs/usr |
pascal@13516 | 36 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script |
pascal@13516 | 37 } |
pascal@13516 | 38 |
pascal@13516 | 39 # Pre and post install commands for Tazpkg. |
pascal@13516 | 40 post_install() |
pascal@13516 | 41 { |
pascal@13516 | 42 cat <<EOT |
pascal@13516 | 43 ------------- |
pascal@13516 | 44 You can now update /etc/vpnc/default.conf |
pascal@13516 | 45 ------------- |
pascal@13516 | 46 EOT |
pascal@13516 | 47 } |
pascal@13516 | 48 |