wok rev 23649

Up openvpn (2.4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 20 13:31:36 2020 +0000 (13 months ago)
parents 67da1e63fb3d
children ac5a77f54ad3
files cookutils/receipt cookutils/stuff/wanted-version.patch openvpn-doc/receipt openvpn-down-root/receipt openvpn-pam/receipt openvpn/receipt
line diff
     1.1 --- a/cookutils/receipt	Mon Apr 20 14:28:42 2020 +0100
     1.2 +++ b/cookutils/receipt	Mon Apr 20 13:31:36 2020 +0000
     1.3 @@ -23,6 +23,7 @@
     1.4  	patch -p1 -i $stuff/pkgdb-absolute.patch
     1.5  	patch -p1 -i $stuff/pkgdb-no-parallel.patch
     1.6  	patch -p1 -i $stuff/cook-newest.patch
     1.7 +	patch -p1 -i $stuff/wanted-version.patch
     1.8  	sed -i 's|preinit core-4in1|preinit core-4in1 core-5in1|' cookiso
     1.9  	mkdir -p $DESTDIR/usr/bin $DESTDIR/etc/slitaz
    1.10  	make DESTDIR=$DESTDIR install
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cookutils/stuff/wanted-version.patch	Mon Apr 20 13:31:36 2020 +0000
     2.3 @@ -0,0 +1,13 @@
     2.4 +The wanted package *must* have the same version
     2.5 +--- a/cook
     2.6 ++++ b/cook
     2.7 +@@ -167,6 +167,9 @@
     2.8 + 		src="$basesrc/$WANTED-$VERSION"
     2.9 + 		install="$WOK/$WANTED/install"
    2.10 + 		wanted_stuff="$WOK/$WANTED/stuff"
    2.11 ++		wanted_version="$(. $WOK/$WANTED/receipt; echo $VERSION)"
    2.12 ++		[ $wanted_version = $VERSION ] ||
    2.13 ++			(_ 'ERROR: %s' "wanted package version $wanted_version" && exit 1)
    2.14 + 	fi
    2.15 + 
    2.16 + 	[ -n "$SOURCE" ] && source_stuff="$WOK/$SOURCE/stuff"
     3.1 --- a/openvpn-doc/receipt	Mon Apr 20 14:28:42 2020 +0100
     3.2 +++ b/openvpn-doc/receipt	Mon Apr 20 13:31:36 2020 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="openvpn-doc"
     3.7 -VERSION="2.4.8"
     3.8 +VERSION="2.4.9"
     3.9  CATEGORY="network"
    3.10  TAGS="vpn tunnel"
    3.11  SHORT_DESC="Documentation for OpenVPN."
     4.1 --- a/openvpn-down-root/receipt	Mon Apr 20 14:28:42 2020 +0100
     4.2 +++ b/openvpn-down-root/receipt	Mon Apr 20 13:31:36 2020 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="openvpn-down-root"
     4.7 -VERSION="2.4.8"
     4.8 +VERSION="2.4.9"
     4.9  CATEGORY="network"
    4.10  TAGS="vpn tunnel"
    4.11  SHORT_DESC="The down-root plugin for OpenVPN."
     5.1 --- a/openvpn-pam/receipt	Mon Apr 20 14:28:42 2020 +0100
     5.2 +++ b/openvpn-pam/receipt	Mon Apr 20 13:31:36 2020 +0000
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="openvpn-pam"
     5.7 -VERSION="2.4.8"
     5.8 +VERSION="2.4.9"
     5.9  CATEGORY="network"
    5.10  TAGS="vpn tunnel"
    5.11  SHORT_DESC="PAM plugin for OpenVPN."
     6.1 --- a/openvpn/receipt	Mon Apr 20 14:28:42 2020 +0100
     6.2 +++ b/openvpn/receipt	Mon Apr 20 13:31:36 2020 +0000
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="openvpn"
     6.7 -VERSION="2.4.8"
     6.8 +VERSION="2.4.9"
     6.9  CATEGORY="network"
    6.10  TAGS="vpn tunnel network"
    6.11  SHORT_DESC="Full-featured open source SSL VPN solution."