Summary: User space tool to set up tables of ARP rules in kernel Name: arptables Version: 0.0.4 Release: 6%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://ebtables.sourceforge.net/ Source0: http://downloads.sourceforge.net/ebtables/arptables/arptables-v%{version}.tar.gz Source1: arptables.service Source2: arptables-helper # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # http://marc.info/?l=netfilter-devel&m=137908241011194&w=2 Source3: COPYING BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Obsoletes: arptables_jf < 0.0.8-37 Provides: arptables_jf = 0.0.8-37 %description The arptables is a user space tool used to set up and maintain the tables of ARP rules in the Linux kernel. These rules inspect the ARP frames which they see. arptables is analogous to the iptables user space tool, but is less complicated. %prep %setup -q -n arptables-v%{version} cp %{SOURCE3} COPYING %build # Makefile uses $(KERNEL_DIR) to redefine where to look for header files. # But when it's set to standard system include directory gcc ignores it # (see gcc(1)). It however looks that the code is not ready for using # system headers (instead included ones) so we don't use this option. make all 'COPT_FLAGS=%{optflags}' %{_smp_mflags} %install make install DESTDIR=%{buildroot} BINDIR=%{_sbindir} MANDIR=%{_mandir} install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/arptables.service mkdir -p %{buildroot}%{_libexecdir}/ install -p -D -m 755 %{SOURCE2} %{buildroot}%{_libexecdir}/ rm -rf %{buildroot}%{_initrddir} mkdir -p %{buildroot}%{_sysconfdir}/sysconfig echo '# Configure prior to use' > %{buildroot}%{_sysconfdir}/sysconfig/arptables %post %systemd_post arptables.service %preun %systemd_preun arptables.service %postun %systemd_postun_with_restart arptables.service %files %doc COPYING %{_sbindir}/arptables* %{_libexecdir}/arptables-helper %{_mandir}/*/arptables* %{_unitdir}/arptables.service %config(noreplace) %{_sysconfdir}/sysconfig/arptables %changelog * Fri Aug 15 2014 Fedora Release Engineering - 0.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Sep 16 2013 Jiri Popelka - 0.0.4-4 - revert previous change, the code is not ready for this * Mon Sep 16 2013 Jiri Popelka - 0.0.4-3 - use system kernel headers * Fri Sep 13 2013 Jiri Popelka - 0.0.4-2 - install with '-p' (#1007964) * Fri Sep 13 2013 Jiri Popelka - 0.0.4-1 - renamed arptables_jf to arptables