Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
arptables
> arptables.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File arptables.spec of Package arptables
# # spec file for package arptables # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Url: http://ebtables.sourceforge.net/ Name: arptables Version: 0.0.4 Release: 8 %define oversion v0.0.4 License: GPL-2.0+ Group: Productivity/Networking/Security Summary: User Space Tool to Set Up and Maintain ARP Filtering Tables Source: %name-%oversion.tar.xz Source1: COPYING BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: coreutils perl xz %description arptables is a user space tool used to set up and maintain thetables of ARP rules in the Linux kernel. These rules inspect the ARPframes. arptables is similar to the iptables userspace tool, but less complicated. %prep %if 0%{?__xz:1} %setup -qn %name-%oversion %else tar -xf "%{S:0}" --use=xz; %setup -DTqn %name-%oversion %endif %build make %{?_smp_mflags} all LIBDIR=/%{_lib} PREFIX=%_prefix COPT_FLAGS="$RPM_OPT_FLAGS -W -Wall" cp %{S:1} . %install make install DESTDIR=%{buildroot} LIBDIR=/%{_lib} PREFIX=%_prefix MANDIR=%_mandir # This is a RH-specific init script rm -Rf "%buildroot/etc/rc.d" %files %defattr(-,root,root) %_sbindir/arptables* %{_mandir}/*/arptables* %doc COPYING %changelog