From f3b909e24580a4eb6def99417fb3bff510315c85 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 2 Dec 2011 11:14:49 +0100 Subject: [PATCH] iptables: update to 1.4.12.1. --- srcpkgs/iptables/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/iptables/template b/srcpkgs/iptables/template index 1c71eb843e..9575849275 100644 --- a/srcpkgs/iptables/template +++ b/srcpkgs/iptables/template @@ -1,13 +1,13 @@ # Template file for 'iptables' pkgname=iptables -version=1.4.12 -revision=2 -distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2" +version=1.4.12.1 +homepage="http://www.iptables.org" +distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2" short_desc="Linux IPv[46] packet filtering ruleset" maintainer="Juan RP " homepage="http://www.netfilter.org/" license="GPL-2" -checksum=3e07a0beb746b580fbcfb04b3842ef0bd94a2f281786552f586415b26a7e971c +checksum=77e6581f21f15946a814fa311236e5f3f7c6593180f9d695cea06aa95e464aba long_desc=" iptables is the userspace command line program used to configure the Linux IPv4 packet filtering ruleset. It is targeted towards system administrators. @@ -23,8 +23,7 @@ subpackages="$pkgname-devel" Add_dependency build sed Add_dependency build kernel-headers -do_build() -{ +do_configure() { sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' \ extensions/GNUmakefile.in sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' \ @@ -33,12 +32,13 @@ do_build() ./configure ${CONFIGURE_SHARED_ARGS} --enable-devel --enable-libipq \ --sbindir=/sbin \ --with-kernel=/usr/src/kernel-headers-$(${XBPS_PKGDB_CMD} version kernel-headers) +} +do_build() { make ${makejobs} } -do_install() -{ +do_install() { make DESTDIR=${DESTDIR} install vinstall ${FILESDIR}/iptables.service 644 lib/systemd/system