wok view knock/receipt @ rev 25198

updated python-jedi (0.16.0 -> 0.17.2)
author Hans-G?nter Theisgen
date Wed Jul 13 13:40:45 2022 +0100 (2022-07-13)
parents b569b85b0fb9
children 01119cbefbc3
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.8"
5 CATEGORY="security"
6 SHORT_DESC="Port knock sequence listener."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.zeroflux.org/knock"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
14 DEPENDS="iptables libpcap"
15 BUILD_DEPENDS="automake libpcap-dev"
17 CONFIG_FILES="/etc/knockd.conf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/jvinet/knock/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # 0.8 obsolete
30 # patch -p1 < $stuff/knock.u
31 autoreconf -fi &&
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --sysconfdir=/etc \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $stuff/etc $fs
46 cp -a $stuff/usr $fs
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/etc $fs
50 }