wok view openvpn/receipt @ rev 23087
updated libmicrohttpd and libmicrohttpd-dev (0.9.63 -> 0.9.70)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 11 09:16:20 2020 +0100 (2020-03-11) |
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 }