Hello community, here is the log from the commit of package arptables checked in at Fri Aug 10 09:31:46 CEST 2007. -------- --- arptables/arptables.changes 2007-08-09 16:41:05.000000000 +0200 +++ /mounts/work_src_done/STABLE/arptables/arptables.changes 2007-08-10 09:03:54.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 10 08:52:24 CEST 2007 - olh@suse.de + +- remove global variable NF_ARP_NUMHOOKS + +------------------------------------------------------------------- New: ---- arptables.NF_ARP_NUMHOOKS.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arptables.spec ++++++ --- /var/tmp/diff_new_pack.H28075/_old 2007-08-10 09:30:45.000000000 +0200 +++ /var/tmp/diff_new_pack.H28075/_new 2007-08-10 09:30:45.000000000 +0200 @@ -15,10 +15,11 @@ Group: Productivity/Networking/Security Autoreqprov: on Version: 0.0.3 -Release: 64 +Release: 65 Summary: User Space Tool to Set Up and Maintain ARP Filtering Tables Source: %{name}-v0.0.3-2.tar.bz2 Patch: %{name}.diff +Patch1: arptables.NF_ARP_NUMHOOKS.patch URL: http://ebtables.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,6 +40,7 @@ %prep %setup -n %{name}-v%{version}-2 %patch +%patch1 -p1 %build rm -rf include/linux/ @@ -58,6 +60,8 @@ %{_prefix}/sbin/arptables %changelog +* Fri Aug 10 2007 - olh@suse.de +- remove global variable NF_ARP_NUMHOOKS * Thu Aug 09 2007 - olh@suse.de - remove private include/linux/ files * Wed Jan 25 2006 - mls@suse.de ++++++ arptables.NF_ARP_NUMHOOKS.patch ++++++ NF_ARP_NUMHOOKS is a constant in linux/netfilter_arp.h --- arptables.c | 5 ----- include/arptables.h | 1 - include/netfilter_arp.h | 1 - 3 files changed, 7 deletions(-) --- a/arptables.c +++ b/arptables.c @@ -154,7 +154,6 @@ static struct option original_opts[] = { { 0 } }; -int NF_ARP_NUMHOOKS = 3; /*#ifndef __OPTIMIZE__ struct arpt_entry_target * @@ -1785,13 +1784,9 @@ int do_command(int argc, char *argv[], c arptables_insmod("arp_tables", modprobe); *handle = arptc_init(*table); if (!*handle) { - NF_ARP_NUMHOOKS = 2; - *handle = arptc_init(*table); - if (!*handle) { exit_error(VERSION_PROBLEM, "can't initialize arptables table `%s': %s", *table, arptc_strerror(errno)); - } } } --- a/include/arptables.h +++ b/include/arptables.h @@ -115,7 +115,6 @@ struct arptables_target unsigned int loaded; /* simulate loading so options are merged properly */ }; -extern int NF_ARP_NUMHOOKS; /* boy, this is dirty */ /* Your shared library should call one of these. */ extern void register_match(struct arptables_match *me); --- a/include/netfilter_arp.h +++ b/include/netfilter_arp.h @@ -17,6 +17,5 @@ #define NF_ARP_IN 0 #define NF_ARP_OUT 1 #define NF_ARP_FORWARD 2 -extern int NF_ARP_NUMHOOKS; /* boy, this is dirty */ #endif /* __LINUX_ARP_NETFILTER_H */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org