wok diff vpnc-cert/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (8 months ago) |
parents | 7f7bd3c9775e |
children |
line diff
1.1 --- a/vpnc-cert/receipt Sun Feb 05 09:28:51 2023 +0000 1.2 +++ b/vpnc-cert/receipt Fri Feb 09 11:08:06 2024 +0000 1.3 @@ -9,7 +9,7 @@ 1.4 LICENSE="GPL2" 1.5 TARBALL="$SOURCE-$VERSION.tar.gz" 1.6 WEB_SITE="https://github.com/streambinder/vpnc" 1.7 -WGET_URL="https://raw.githubusercontent.com/sailfishos/vpnc/master/$TARBALL" 1.8 +WGET_URL="https://github.com/sailfishos/vpnc/archive/refs/tags/$VERSION-6.tar.gz" 1.9 CONFIG_FILES="/etc/vpnc" 1.10 TAGS="vpn tunnel" 1.11 PROVIDE="vpnc" 1.12 @@ -27,6 +27,7 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 + [ -s $TARBALL ] && tar xzf $TARBALL -C .. 1.17 sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license 1.18 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile 1.19 make && make DESTDIR=$DESTDIR install