wok view openvpn/receipt @ rev 21344

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