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