wok view vpnc/receipt @ rev 22072

updated ufw (0.34 -> 0.36)
author Hans-G?nter Theisgen
date Fri Oct 25 16:22:34 2019 +0100 (2019-10-25)
parents a78610b2eb47
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="vpnc"
4 VERSION="0.5.3"
5 CATEGORY="network"
6 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/streambinder/vpnc"
11 WGET_URL="$WEB_SITE$TARBALL"
12 CONFIG_FILES="/etc/vpnc"
13 TAGS="vpn tunnel"
15 DEPENDS="libgcrypt libgpg-error glibc-base perl"
16 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
22 make && make DESTDIR=$DESTDIR install
23 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
24 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
25 install -d -m 755 $DESTDIR/usr/share/doc &&
26 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
27 install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
28 install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr $fs/var/run/vpnc
35 cp -a $install/etc $fs
36 cp -a $install/usr/local/bin $fs/usr
37 cp -a $install/usr/local/sbin $fs/usr
38 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
39 }
41 # Pre and post install commands for Tazpkg.
42 post_install()
43 {
44 cat <<EOT
45 -------------
46 You can now update /etc/vpnc/default.conf
47 -------------
48 EOT
49 }