wok diff fwknop/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (3 months ago) |
parents | 83b97236db32 |
children | c98e9c622218 |
line diff
1.1 --- a/fwknop/receipt Sat Feb 12 11:42:56 2022 +0000 1.2 +++ b/fwknop/receipt Fri Feb 09 11:08:06 2024 +0000 1.3 @@ -1,29 +1,30 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fwknop" 1.7 -VERSION="2.6.10" 1.8 +VERSION="2.6.11" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Single Packet Authorization (FireWall KNock OPerator)" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://www.cipherdyne.org/fwknop/" 1.16 -WGET_URL="${WEB_SITE}download/$TARBALL" 1.17 +WGET_URL="https://github.com/mrash/fwknop/archive/refs/tags/$VERSION.tar.gz" 1.18 CONFIG_FILES="/etc/fwknop" 1.19 1.20 DEPENDS="iptables gpgme gnupg libgpg-error" 1.21 -BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables" 1.22 +BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables automake" 1.23 1.24 # What is the latest version available today? 1.25 current_version() 1.26 { 1.27 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.28 - sed "/dep/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.29 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.30 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.31 } 1.32 1.33 # Rules to configure and make the package. 1.34 compile_rules() 1.35 { 1.36 + ./autogen.sh 1.37 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.38 --sysconfdir=/etc \ 1.39 --mandir=/usr/share/man \