wok-current annotate knock/receipt @ rev 23539
updated python-pygments (2.2.0 -> 2.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 17:01:19 2020 +0100 (2020-04-06) |
parents | 6cb94d9c1f79 |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@1435 | 1 # SliTaz package receipt. |
pascal@1435 | 2 |
pascal@1435 | 3 PACKAGE="knock" |
pascal@19633 | 4 VERSION="0.7.8" |
pascal@19633 | 5 HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891" |
pascal@1435 | 6 CATEGORY="security" |
pascal@1435 | 7 SHORT_DESC="Port knock sequence listener." |
pascal@1435 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 9 LICENSE="GPL2" |
pascal@19633 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@1435 | 11 WEB_SITE="http://www.zeroflux.org/$PACKAGE" |
pascal@19633 | 12 WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip" |
pascal@1586 | 13 CONFIG_FILES="/etc/knockd.conf" |
pascal@1435 | 14 |
pascal@18046 | 15 DEPENDS="iptables libpcap" |
pascal@19633 | 16 BUILD_DEPENDS="libpcap-dev autoconf automake" |
erjo@9935 | 17 |
pascal@1435 | 18 # Rules to configure and make the package. |
pascal@1435 | 19 compile_rules() |
pascal@1435 | 20 { |
pascal@19633 | 21 patch -p1 < $stuff/knock.u |
pascal@19633 | 22 autoreconf -fi |
pascal@17686 | 23 ./configure --prefix=/usr \ |
pascal@17686 | 24 --infodir=/usr/share/info \ |
pascal@17686 | 25 --sysconfdir=/etc \ |
pascal@17686 | 26 --mandir=/usr/share/man \ |
pascal@17686 | 27 $CONFIGURE_ARGS && |
pascal@1435 | 28 make && |
erjo@9935 | 29 make DESTDIR=$DESTDIR install |
pascal@1435 | 30 } |
pascal@1435 | 31 |
pascal@1435 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1435 | 33 genpkg_rules() |
pascal@1435 | 34 { |
pascal@17686 | 35 cp -a $stuff/etc $fs |
pascal@17686 | 36 cp -a $stuff/usr $fs |
pascal@15601 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@15601 | 38 cp -a $install/usr/bin $fs/usr |
pascal@17686 | 39 cp -a $install/etc $fs |
pascal@1435 | 40 } |