wok annotate vpnc-cert/receipt @ rev 20723
updated aspell (0.60.6 -> 0.60.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 08 16:54:23 2019 +0100 (2019-02-08) |
parents | 38da7d1a1d04 |
children | 3937da23fe1e |
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@20669 | 11 WEB_SITE="https://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@19369 | 27 install -d -m 755 $DESTDIR/usr/share/man/man1 && |
pascal@19369 | 28 install -d -m 755 $DESTDIR/usr/share/man/man8 && |
pascal@19369 | 29 install -d -m 755 $DESTDIR/usr/share/doc && |
pascal@19371 | 30 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 && |
pascal@19371 | 31 install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 && |
pascal@19371 | 32 install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc |
pascal@13516 | 33 } |
pascal@13516 | 34 |
pascal@13516 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13516 | 36 genpkg_rules() |
pascal@13516 | 37 { |
pascal@13516 | 38 mkdir -p $fs/usr $fs/var/run/vpnc |
pascal@13516 | 39 cp -a $install/etc $fs |
pascal@13516 | 40 cp -a $install/usr/local/bin $fs/usr |
pascal@13516 | 41 cp -a $install/usr/local/sbin $fs/usr |
pascal@13516 | 42 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script |
pascal@13516 | 43 } |
pascal@13516 | 44 |
pascal@13516 | 45 # Pre and post install commands for Tazpkg. |
pascal@13516 | 46 post_install() |
pascal@13516 | 47 { |
pascal@13516 | 48 cat <<EOT |
pascal@13516 | 49 ------------- |
pascal@13516 | 50 You can now update /etc/vpnc/default.conf |
pascal@13516 | 51 ------------- |
pascal@13516 | 52 EOT |
pascal@13516 | 53 } |
pascal@13516 | 54 |