wok diff openvpn/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (6 months ago)
parents bc2b9d9bed6f
children
line diff
     1.1 --- a/openvpn/receipt	Sun Mar 06 21:04:14 2022 +0000
     1.2 +++ b/openvpn/receipt	Sun Apr 21 14:12:01 2024 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openvpn"
     1.7 -VERSION="2.5.2"
     1.8 +VERSION="2.5.7"
     1.9  CATEGORY="network"
    1.10  TAGS="vpn tunnel network"
    1.11  SHORT_DESC="Full-featured open source SSL VPN solution."
    1.12 @@ -26,14 +26,16 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	# 2.5.7	unrecognised:
    1.17 +#		--enable-password-save
    1.18 +
    1.19  	./configure			\
    1.20  		--prefix=/usr		\
    1.21 -		--enable-password-save	\
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24  	( cd src/plugins/auth-pam/ ; make ) &&
    1.25  	( cd src/plugins/down-root/ ; make ) &&
    1.26 -	make DESTDIR=$DESTDIR install
    1.27 +	make install DESTDIR=$DESTDIR
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 @@ -44,12 +46,12 @@
    1.32  	cp -a $install/usr/sbin/openvpn	$fs/usr/sbin
    1.33  	cp -a $stuff/*			$fs
    1.34  
    1.35 -	chown root.root $fs/etc/init.d/*
    1.36 -	chmod 0644 $fs/etc/openvpn/openvpn.conf
    1.37 +	chown root.root			$fs/etc/init.d/*
    1.38 +	chmod 0644			$fs/etc/openvpn/openvpn.conf
    1.39  }
    1.40  
    1.41  post_remove()
    1.42  {
    1.43 -	# remove config
    1.44 -	rm -rf ${root}/etc/openvpn
    1.45 +	# remove configuration
    1.46 +	rm -rf				$root/etc/openvpn
    1.47  }