1 Summary: User-space arp daemon
2 Summary(pl): Demon arpd
8 #Source0: http://www.loran.com/~layes/arpd/%{name}-%{version}.tar.gz (origin, but 404)
9 Source0: ftp://ftp.slackware.org:/pub/slackware/slackware-4.0/source/n/tcpip1/%{name}-%{version}.tar.gz
11 Patch0: %{name}-%{version}.debian-patch
12 Patch1: %{name}-%{version}.pld-patch
13 Patch2: %{name}-makefile-patch
14 Patch3: %{name}-more_tables.patch
15 Patch4: %{name}-uid.patch
16 #URL: http://www.loran.com/~layes/arpd/
17 Prereq: /sbin/chkconfig
18 Prereq: rc-scripts >= 0.2.0
20 Requires: dev >= 2.8.0-4
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The ARP daemon moves the management of the ARP (Address Resolution
25 Protocol) table from kernel to user space. It is useful for sites with
26 LARGE network segments (256+ systems per segment), because the kernel
27 hash tables are not optimized to handle this situation. To use the ARP
28 daemon your kernel needs to have ARPD and NETLINK support enabled. The
29 standard kernels of PLD lack this support. It shouldn't be run without
30 that! This version can alocate 4096 entries.
33 Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution
34 Protocol) z kernel'a do przestrzeni u¿ytkownika. Jest to bardzo
35 u¿yteczne dla miejsc o du¿ych segmentach sieci (256+ systemów na
36 segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie
37 sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK
38 support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma
39 supportu ARPD. Demon nie powinien byæ startowany bez tego! Ta wersja
40 potrafi zaakceptowaæ 4096 pozycji.
43 %setup -q -n %{name}-%{version}.orig
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT/{usr/sbin,etc/rc.d/init.d}
57 install arpd $RPM_BUILD_ROOT%{_sbindir}/arpd
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
61 rm -rf $RPM_BUILD_ROOT
64 /sbin/chkconfig --add arpd
65 if [ -f /var/lock/subsys/arpd ]; then
66 /etc/rc.d/init.d/arpd restart 1>&2
68 echo "Run \"/etc/rc.d/init.d/arpd start\" to start arpd daemon."
72 if [ "$1" = "0" ]; then
73 if [ -f /var/lock/subsys/arpd ]; then
74 /etc/rc.d/init.d/arpd stop 1>&2
76 /sbin/chkconfig --del arpd
81 %defattr(644,root,root,755)
82 %doc CHANGES README.html
83 %attr(754,root,root) %{_sbindir}/arpd
84 %attr(754,root,root) /etc/rc.d/init.d/arpd