wok annotate conntrack-tools/receipt @ rev 24954
*/stuff/bootloader.S: add CHK_DOS_INT19
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 15:28:40 2022 +0000 (2022-04-23) |
parents | 5e0b3308e1ad |
children |
rev | line source |
---|---|
pascal@17287 | 1 # SliTaz package receipt. |
pascal@17287 | 2 |
pascal@17287 | 3 PACKAGE="conntrack-tools" |
Hans-G?nter@24431 | 4 VERSION="1.4.6" |
pascal@17287 | 5 CATEGORY="security" |
Hans-G?nter@22615 | 6 SHORT_DESC="Userspace tools to interact with the Connection Tracking System." |
pascal@17287 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17287 | 8 LICENSE="GPL2" |
Hans-G?nter@22615 | 9 WEB_SITE="https://www.netfilter.org/projects/conntrack-tools/" |
Hans-G?nter@22615 | 10 |
pascal@17287 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22615 | 12 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@17287 | 13 |
Hans-G?nter@24431 | 14 DEPENDS="libmnl libnetfilter_conntrack libnetfilter_cthelper libnetfilter_queue |
Hans-G?nter@24431 | 15 libnfnetlink" |
Hans-G?nter@24431 | 16 BUILD_DEPENDS="bison flex glib-dev libmnl-dev libnetfilter_conntrack-dev |
Hans-G?nter@24431 | 17 libnetfilter_cthelper-dev libnetfilter_cttimeout-dev libnetfilter_queue-dev |
Hans-G?nter@24431 | 18 libnfnetlink-dev pkg-config" |
pascal@17287 | 19 |
pascal@24427 | 20 # What is the latest version available today? |
pascal@24427 | 21 current_version() |
pascal@24427 | 22 { |
pascal@24427 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 25 } |
pascal@24427 | 26 |
pascal@17287 | 27 # Rules to configure and make the package. |
pascal@17287 | 28 compile_rules() |
pascal@17287 | 29 { |
Hans-G?nter@22615 | 30 sed -i '/enum ip_conntrack_info {/,/};/d' \ |
Hans-G?nter@22615 | 31 include/helper.h |
Hans-G?nter@22615 | 32 |
Hans-G?nter@22615 | 33 ./configure \ |
Hans-G?nter@22615 | 34 --prefix=/usr \ |
Hans-G?nter@22615 | 35 --mandir=/usr/share/man \ |
pascal@17287 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22615 | 37 make && |
Hans-G?nter@24431 | 38 make install DESTDIR=$DESTDIR |
pascal@17287 | 39 } |
pascal@17287 | 40 |
pascal@17287 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17287 | 42 genpkg_rules() |
pascal@17287 | 43 { |
Hans-G?nter@24431 | 44 cook_copy_folders lib |
Hans-G?nter@24431 | 45 cook_copy_folders sbin |
pascal@17287 | 46 } |
Hans-G?nter@24432 | 47 |