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