wok-6.x view openvpn/receipt @ rev 21892

updated scrollz (2.2.3 -> 2.3)
author Hans-G?nter Theisgen
date Thu Oct 03 13:50:29 2019 +0100 (2019-10-03)
parents a78610b2eb47
children ea14002b02bc
line source
1 # SliTaz package receipt.
3 PACKAGE="openvpn"
4 VERSION="2.4.7"
5 CATEGORY="network"
6 TAGS="vpn tunnel network"
7 SHORT_DESC="Full-featured open source SSL VPN solution."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://openvpn.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://swupdate.openvpn.net/community/releases/$TARBALL"
15 DEPENDS="libcrypto lzo openssl"
16 BUILD_DEPENDS="libcrypto-dev lzo-dev openssl-dev pam-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --enable-password-save \
26 $CONFIGURE_ARGS &&
27 make &&
28 ( cd src/plugins/auth-pam/ ; make ) &&
29 ( cd src/plugins/down-root/ ; make ) &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
38 cp -a $install/usr/sbin/openvpn $fs/usr/sbin
39 cp -a $stuff/etc $fs
41 chown root.root $fs/etc/init.d/*
42 chmod 0644 $fs/etc/openvpn/openvpn.conf
43 }
45 post_remove()
46 {
47 # remove config
48 rm -rf ${root}/etc/openvpn
49 }