Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568153
en ru br
ALT Linux repos
S:0.0.16-alt1.qa2
5.0: 0.0.16-alt1
4.1: 0.0.16-alt1
4.0: 0.0.16-alt1

Group :: Communications
RPM: arp-sk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: arp-sk
Version: 0.0.16
Release: alt1.qa2
Summary: ARP traffic generation tools

License: GPL
Group: Communications
URL: http://sid.rstack.org/arp-sk

Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: http://sid.rstack.org/arp-sk/files/%name-%version.tgz
Source1: arp-sk.start
Source2: arp-sk.conf

Patch1: arp-sk-0.0.16-no-compat.patch

BuildRequires: libnet2-devel automake autoconf

%description
A tool designed to manipulate ARP tables of all kinds of equipment.

%package server
Summary: ARP traffic generation tools -- server init script.
Requires: %name = %version-%release
Group: System/Servers

%description server
A tool designed to manipulate ARP tables of all kinds of equipment.

This package contains startup script for arp-sk in daemon mode.

%prep
%setup

%patch1 -p1

rm -rf compat/

%build

%autoreconf

%configure \
--prefix=%_prefix

make

%install

%make_install DESTDIR="%buildroot" install

mkdir -p %buildroot%_datadir/doc/%name-%version
install -pm644 AUTHORS ChangeLog NEWS README TODO ARP CONTRIB %buildroot%_datadir/doc/%name-%version

ln -sf /usr/share/license/GPL-2 %buildroot%_datadir/doc/%name-%version/COPYING

mkdir -p %buildroot%_initdir
install -p -m755 %SOURCE1 %buildroot%_initdir/arp-sk

mkdir -p %buildroot%_sysconfdir/sysconfig
install -pm644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/arp-sk

%post server
%post_service arp-sk

%preun server
%preun_service arp-sk

%files
%_sbindir/*
%_man1dir/*
%_datadir/doc/%name-%version

%files server
%_initdir/%name
%config(noreplace) %_sysconfdir/sysconfig/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin