iptables: update to 1.4.12.1.

This commit is contained in:
Juan RP 2011-12-02 11:14:49 +01:00
parent 127c56e322
commit f3b909e245
1 changed files with 8 additions and 8 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'iptables' # Template file for 'iptables'
pkgname=iptables pkgname=iptables
version=1.4.12 version=1.4.12.1
revision=2 homepage="http://www.iptables.org"
distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2" distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2"
short_desc="Linux IPv[46] packet filtering ruleset" short_desc="Linux IPv[46] packet filtering ruleset"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.netfilter.org/" homepage="http://www.netfilter.org/"
license="GPL-2" license="GPL-2"
checksum=3e07a0beb746b580fbcfb04b3842ef0bd94a2f281786552f586415b26a7e971c checksum=77e6581f21f15946a814fa311236e5f3f7c6593180f9d695cea06aa95e464aba
long_desc=" long_desc="
iptables is the userspace command line program used to configure the Linux iptables is the userspace command line program used to configure the Linux
IPv4 packet filtering ruleset. It is targeted towards system administrators. IPv4 packet filtering ruleset. It is targeted towards system administrators.
@ -23,8 +23,7 @@ subpackages="$pkgname-devel"
Add_dependency build sed Add_dependency build sed
Add_dependency build kernel-headers Add_dependency build kernel-headers
do_build() do_configure() {
{
sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' \ sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' \
extensions/GNUmakefile.in extensions/GNUmakefile.in
sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' \ 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 \ ./configure ${CONFIGURE_SHARED_ARGS} --enable-devel --enable-libipq \
--sbindir=/sbin \ --sbindir=/sbin \
--with-kernel=/usr/src/kernel-headers-$(${XBPS_PKGDB_CMD} version kernel-headers) --with-kernel=/usr/src/kernel-headers-$(${XBPS_PKGDB_CMD} version kernel-headers)
}
do_build() {
make ${makejobs} make ${makejobs}
} }
do_install() do_install() {
{
make DESTDIR=${DESTDIR} install make DESTDIR=${DESTDIR} install
vinstall ${FILESDIR}/iptables.service 644 lib/systemd/system vinstall ${FILESDIR}/iptables.service 644 lib/systemd/system