wok-current diff openvpn/receipt @ rev 22377

linux[64]-zram: modified modprobe command according to bug report 230
author Hans-G?nter Theisgen
date Thu Nov 28 07:37:48 2019 +0100 (2019-11-28)
parents a78610b2eb47
children ea14002b02bc
line diff
     1.1 --- a/openvpn/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/openvpn/receipt	Thu Nov 28 07:37:48 2019 +0100
     1.3 @@ -1,30 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openvpn"
     1.7 -VERSION="2.3.17"
     1.8 +VERSION="2.4.7"
     1.9  CATEGORY="network"
    1.10 +TAGS="vpn tunnel network"
    1.11  SHORT_DESC="Full-featured open source SSL VPN solution."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://openvpn.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="https://openvpn.net/"
    1.18 -WGET_URL="http://swupdate.openvpn.net/community/releases/$TARBALL"
    1.19 -TAGS="vpn tunnel network"
    1.20 +WGET_URL="https://swupdate.openvpn.net/community/releases/$TARBALL"
    1.21 +
    1.22 +DEPENDS="libcrypto lzo openssl"
    1.23 +BUILD_DEPENDS="libcrypto-dev lzo-dev openssl-dev pam-dev"
    1.24 +
    1.25  HOST_ARCH="i486 arm"
    1.26  
    1.27 -DEPENDS="lzo libcrypto openssl"
    1.28 -BUILD_DEPENDS="lzo-dev libcrypto-dev openssl-dev pam-dev"
    1.29 -
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--enable-password-save \
    1.36 +	./configure			\
    1.37 +		--prefix=/usr		\
    1.38 +		--enable-password-save	\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41 -	( cd plugin/auth-pam/ ; make ) &&
    1.42 -	( cd plugin/down-root/ ; make ) &&
    1.43 +	( cd src/plugins/auth-pam/ ; make ) &&
    1.44 +	( cd src/plugins/down-root/ ; make ) &&
    1.45  	make DESTDIR=$DESTDIR install
    1.46  }
    1.47  
    1.48 @@ -32,8 +34,10 @@
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/sbin
    1.52 -	cp -a $install/usr/sbin/openvpn $fs/usr/sbin
    1.53 -	cp -a $stuff/etc $fs
    1.54 +
    1.55 +	cp -a $install/usr/sbin/openvpn	$fs/usr/sbin
    1.56 +	cp -a $stuff/etc		$fs
    1.57 +
    1.58  	chown root.root $fs/etc/init.d/*
    1.59  	chmod 0644 $fs/etc/openvpn/openvpn.conf
    1.60  }
    1.61 @@ -43,4 +47,3 @@
    1.62  	# remove config
    1.63  	rm -rf ${root}/etc/openvpn
    1.64  }
    1.65 -