wok diff knock/receipt @ rev 25036

gtk-gnutella: binutils 2.34+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 13:10:56 2022 +0000 (2022-05-21)
parents b569b85b0fb9
children 01119cbefbc3
line diff
     1.1 --- a/knock/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/knock/receipt	Sat May 21 13:10:56 2022 +0000
     1.3 @@ -1,19 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="knock"
     1.7 -VERSION="0.7.8"
     1.8 -HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891"
     1.9 +VERSION="0.8"
    1.10  CATEGORY="security"
    1.11  SHORT_DESC="Port knock sequence listener."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.zip"
    1.15 -WEB_SITE="http://www.zeroflux.org/$PACKAGE"
    1.16 -WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip"
    1.17 -CONFIG_FILES="/etc/knockd.conf"
    1.18 +WEB_SITE="https://www.zeroflux.org/knock"
    1.19 +
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="https://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
    1.22  
    1.23  DEPENDS="iptables libpcap"
    1.24 -BUILD_DEPENDS="libpcap-dev autoconf automake"
    1.25 +BUILD_DEPENDS="automake libpcap-dev"
    1.26 +
    1.27 +CONFIG_FILES="/etc/knockd.conf"
    1.28  
    1.29  # What is the latest version available today?
    1.30  current_version()
    1.31 @@ -25,23 +26,25 @@
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	patch -p1 < $stuff/knock.u
    1.36 -	autoreconf -fi
    1.37 -	./configure --prefix=/usr \
    1.38 -		--infodir=/usr/share/info \
    1.39 -		--sysconfdir=/etc \
    1.40 -		--mandir=/usr/share/man \
    1.41 +	# 0.8 obsolete
    1.42 +#	patch -p1 < $stuff/knock.u
    1.43 +	autoreconf -fi &&
    1.44 +	./configure				\
    1.45 +		--prefix=/usr			\
    1.46 +		--infodir=/usr/share/info	\
    1.47 +		--sysconfdir=/etc		\
    1.48 +		--mandir=/usr/share/man		\
    1.49  		$CONFIGURE_ARGS &&
    1.50  	make &&
    1.51 -	make DESTDIR=$DESTDIR install
    1.52 +	make install DESTDIR=$DESTDIR
    1.53  }
    1.54  
    1.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.56  genpkg_rules()
    1.57  {
    1.58 -	cp -a $stuff/etc $fs
    1.59 -	cp -a $stuff/usr $fs
    1.60 -	cp -a $install/usr/sbin $fs/usr
    1.61 -	cp -a $install/usr/bin $fs/usr
    1.62 -	cp -a $install/etc $fs
    1.63 +	cp -a $stuff/etc	$fs
    1.64 +	cp -a $stuff/usr	$fs
    1.65 +	cp -a $install/usr/sbin	$fs/usr
    1.66 +	cp -a $install/usr/bin	$fs/usr
    1.67 +	cp -a $install/etc	$fs
    1.68  }