Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=192a3542f9cd50d6b1948af93886c2d5fb951c68
commit 192a3542f9cd50d6b1948af93886c2d5fb951c68 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Sun Jun 15 14:56:03 2008 +0200 iptables-1.4.1-1-i686 - version bump - upstream switched to autoconf \o/ diff --git a/source/network/iptables/FrugalBuild b/source/network/iptables/FrugalBuild index 6badda8..53493ad 100644 --- a/source/network/iptables/FrugalBuild +++ b/source/network/iptables/FrugalBuild @@ -3,7 +3,7 @@ # Maintainer: Zsolt Szalai <[EMAIL PROTECTED]> pkgname=iptables -pkgver=1.4.0 +pkgver=1.4.1 pkgrel=1 pkgdesc="IP packet filter administration" url="http://www.iptables.org/" @@ -12,14 +12,9 @@ groups=('network') archs=('i686' 'x86_64') backup=(etc/sysconfig/{firewall,iptables}) up2date="lynx -dump http://www.iptables.org/projects/iptables/downloads.html|grep bz2$|sed 's/.*-\(.*\)\.t.*/\1/;q'" -source=(http://www.iptables.org/projects/iptables/files/iptables-$pkgver.tar.bz2 \ - rc.firewall rc.firewall-hu.po iptables firewall headers.diff) -sha1sums=('b61064885ab20b62d6ac2a590ea429117248d9d7' \ - '8d817150509f677370561bd412f49d2868f1eeef' \ - '0f8f613fe2daac570bece0df8711b4b6546a9e34' \ - '57af04722d7b42f128b96119ffa97fd3924f80b1' \ - '56ff89ba4ef72b0a203a1210e4fe9ea869e89ff5' \ - 'f4c25b57850187988562134a6c51956a61c79c6d') +source=(ftp://ftp.netfilter.org/pub/iptables/iptables-$pkgver.tar.bz2 \ + rc.firewall rc.firewall-hu.po iptables firewall) +signatures=($source.sig '' '' '' '') # As you can see, the /etc/sysconfig/firewall file was generated by # iptables-save. I used the following commands before using iptables-save: @@ -31,13 +26,7 @@ sha1sums=('b61064885ab20b62d6ac2a590ea429117248d9d7' \ build() { - Fpatchall - Fsed '/usr/local' '/usr' Makefile - Fsed '^\(COPT_FLAGS:=\)-O2$' "\1$CFLAGS" Makefile - - make KERNEL_DIR=/usr || return 1 - - make PREFIX=$Fdestdir/usr KERNEL_DIR=/usr install install-devel + Fbuild --with-kernel=/usr --enable-devel --enable-libipq Ffile /etc/sysconfig/iptables Finstall 600 /etc/sysconfig/firewall Frcd2 firewall diff --git a/source/network/iptables/headers.diff b/source/network/iptables/headers.diff deleted file mode 100644 index 54f0761..0000000 --- a/source/network/iptables/headers.diff +++ /dev/null @@ -1,40 +0,0 @@ -diff -Naur iptables-1.4.0.orig/include/linux/netfilter_ipv4/ip_tables.h iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h ---- iptables-1.4.0.orig/include/linux/netfilter_ipv4/ip_tables.h 2007-12-22 13:44:17.000000000 +0100 -+++ iptables-1.4.0/include/linux/netfilter_ipv4/ip_tables.h 2008-01-03 23:39:55.000000000 +0100 -@@ -15,7 +15,6 @@ - #ifndef _IPTABLES_H - #define _IPTABLES_H - --#include <linux/compiler.h> - #include <linux/netfilter_ipv4.h> - - #include <linux/netfilter/x_tables.h> -@@ -187,7 +186,7 @@ - /* Number of counters (must be equal to current number of entries). */ - unsigned int num_counters; - /* The old entries' counters. */ -- struct xt_counters __user *counters; -+ struct xt_counters *counters; - - /* The entries (hang off end: not really an array). */ - struct ipt_entry entries[0]; -diff -Naur iptables-1.4.0.orig/include/linux/netfilter_ipv6/ip6_tables.h iptables-1.4.0/include/linux/netfilter_ipv6/ip6_tables.h ---- iptables-1.4.0.orig/include/linux/netfilter_ipv6/ip6_tables.h 2007-12-22 13:44:17.000000000 +0100 -+++ iptables-1.4.0/include/linux/netfilter_ipv6/ip6_tables.h 2008-01-03 23:39:46.000000000 +0100 -@@ -15,7 +15,6 @@ - #ifndef _IP6_TABLES_H - #define _IP6_TABLES_H - --#include <linux/compiler.h> - #include <linux/netfilter_ipv6.h> - - #include <linux/netfilter/x_tables.h> -@@ -247,7 +246,7 @@ - /* Number of counters (must be equal to current number of entries). */ - unsigned int num_counters; - /* The old entries' counters. */ -- struct xt_counters __user *counters; -+ struct xt_counters *counters; - - /* The entries (hang off end: not really an array). */ - struct ip6t_entry entries[0]; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
