]> git.pld-linux.org Git - packages/arptables.git/commitdiff
- init
authorzbyniu <zbyniu@pld-linux.org>
Fri, 28 Apr 2006 14:02:01 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arptables-llh.patch -> 1.1
    arptables.spec -> 1.1

arptables-llh.patch [new file with mode: 0644]
arptables.spec [new file with mode: 0644]

diff --git a/arptables-llh.patch b/arptables-llh.patch
new file mode 100644 (file)
index 0000000..ff63bd6
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur arptables-v0.0.3-2.org/include/linux/netfilter_arp.h arptables-v0.0.3-2/include/linux/netfilter_arp.h
+--- arptables-v0.0.3-2.org/include/linux/netfilter_arp.h       2006-04-28 14:40:55.272046000 +0200
++++ arptables-v0.0.3-2/include/linux/netfilter_arp.h   2006-04-28 14:41:09.552938500 +0200
+@@ -7,7 +7,7 @@
+  * (C)2002 Rusty Russell IBM -- This code is GPL.
+  */
+-#include <linux/config.h>
++//#include <linux/config.h>
+ #include <linux/netfilter.h>
+ /* There is no PF_ARP. */
+diff -ur arptables-v0.0.3-2.org/include/netfilter_arp.h arptables-v0.0.3-2/include/netfilter_arp.h
+--- arptables-v0.0.3-2.org/include/netfilter_arp.h     2003-10-25 12:43:24.000000000 +0200
++++ arptables-v0.0.3-2/include/netfilter_arp.h 2006-04-28 14:41:41.514936000 +0200
+@@ -7,7 +7,7 @@
+  * (C)2002 Rusty Russell IBM -- This code is GPL.
+  */
+-#include <linux/config.h>
++//#include <linux/config.h>
+ #include <linux/netfilter.h>
+ /* There is no PF_ARP. */
diff --git a/arptables.spec b/arptables.spec
new file mode 100644 (file)
index 0000000..b42733a
--- /dev/null
@@ -0,0 +1,35 @@
+Summary:       Arp Tables
+Summary(pl):   Arp Tables - filtrowanie pakietów ARP
+Name:          arptables
+Version:       0.0.3
+Release:       1
+License:       GPL
+Group:         Networking/Daemons
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-v%{version}-2.tar.gz
+# Source0-md5: c4559af2366c764c6c42a3fdd40d60d3
+Patch0:                %{name}-llh.patch
+URL:           http://ebtables.sourceforge.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -n %{name}-v%{version}-2
+%patch0 -p1
+
+%build
+%{__make} \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -D %{name}     $RPM_BUILD_ROOT%{_sbindir}/%{name}
+install -D %{name}.8   $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man8/*
This page took 0.207431 seconds and 4 git commands to generate.