wok view vpnc-cert/receipt @ rev 20083

update packages openssl, openssl-dev, libcrypto and libcrypto-dev from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017]
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Sep 27 19:02:39 2017 +0000 (2017-09-27)
parents 90198f573d18
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="vpnc-cert"
4 SOURCE="vpnc"
5 VERSION="0.5.3"
6 CATEGORY="network"
7 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
12 WGET_URL="$WEB_SITE$TARBALL"
13 CONFIG_FILES="/etc/vpnc"
14 TAGS="vpn tunnel"
15 PROVIDE="vpnc"
17 DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto"
18 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license
25 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
26 make && make DESTDIR=$DESTDIR install
27 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
28 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
29 install -d -m 755 $DESTDIR/usr/share/doc &&
30 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
31 install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
32 install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs/var/run/vpnc
39 cp -a $install/etc $fs
40 cp -a $install/usr/local/bin $fs/usr
41 cp -a $install/usr/local/sbin $fs/usr
42 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
43 }
45 # Pre and post install commands for Tazpkg.
46 post_install()
47 {
48 cat <<EOT
49 -------------
50 You can now update /etc/vpnc/default.conf
51 -------------
52 EOT
53 }