diff --git a/srcpkgs/iptables/template b/srcpkgs/iptables/template index bfefd77b599..99fd2ff8f49 100644 --- a/srcpkgs/iptables/template +++ b/srcpkgs/iptables/template @@ -1,7 +1,7 @@ # Template file for 'iptables' pkgname=iptables -version=1.4.18 -revision=2 +version=1.4.19.1 +revision=1 build_style=gnu-configure configure_args="--enable-libipq --enable-shared --enable-static" short_desc="Linux IPv[46] packet filtering ruleset" @@ -9,10 +9,10 @@ maintainer="Juan RP " homepage="http://www.netfilter.org/" license="GPL-2" distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2" -checksum=14a99fb8b0ca22027a9ac6eb72fa32c834ceb3073820e0ba79bf251c6a7bcf3c +checksum=dd51d3b942758a462afc7c8495930d25c93058e5319303247375183ad50164d2 -if [ -n "$XBPS_CROSS_TRIPLET" ]; then - hostmakedepends="automake gettext-devel pkg-config" +if [ "$CROSS_BUILD" ]; then + hostmakedepends="automake libtool gettext-devel pkg-config" pre_configure() { autoreconf -fi } @@ -41,9 +41,10 @@ post_install() { iptables-devel_package() { depends="${sourcepkg}-${version}_${revision}" - short_desc="${short_desc} -- development files" + short_desc+=" - development files" pkg_install() { vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/man/man3 @@ -51,9 +52,8 @@ iptables-devel_package() { } iptables_package() { + conf_files="/etc/xtables/connlabel.conf" pkg_install() { - vmove etc - vmove usr - vmove var + vmove all } }