1 Summary: User-space arp daemon
2 Summary(pl): Demon arpd
9 #Source0: http://www.loran.com/~layes/arpd/%{name}-%{version}.tar.gz
10 # working (copy of original package):
11 #Source0: http://www.funet.fi/pub/Linux/PEOPLE/Linus/net-source/base/%{name}-%{version}.tar.gz
12 # but in CVS we probably have some renamed source from Debian (with .orig inside)
13 Source0: %{name}-%{version}.tar.gz
15 Patch0: %{name}-%{version}.debian-patch
16 Patch1: %{name}-%{version}.pld-patch
17 Patch2: %{name}-makefile-patch
18 Patch3: %{name}-more_tables.patch
19 Patch4: %{name}-uid.patch
20 #URL: http://www.loran.com/~layes/arpd/
22 Prereq: rc-scripts >= 0.2.0
23 Requires(post,preun): /sbin/chkconfig
24 Requires: dev >= 2.8.0-4
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The ARP daemon moves the management of the ARP (Address Resolution
29 Protocol) table from kernel to user space. It is useful for sites with
30 LARGE network segments (256+ systems per segment), because the kernel
31 hash tables are not optimized to handle this situation. To use the ARP
32 daemon your kernel needs to have ARPD and NETLINK support enabled. The
33 standard kernels of PLD lack this support. It shouldn't be run without
34 that! This version can alocate 4096 entries.
37 Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution
38 Protocol) z kernel'a do przestrzeni u¿ytkownika. Jest to bardzo
39 u¿yteczne dla miejsc o du¿ych segmentach sieci (256+ systemów na
40 segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie
41 sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK
42 support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma
43 supportu ARPD. Demon nie powinien byæ startowany bez tego! Ta wersja
44 potrafi zaakceptowaæ 4096 pozycji.
47 %setup -q -n %{name}-%{version}.orig
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT/{usr/sbin,etc/rc.d/init.d}
61 install arpd $RPM_BUILD_ROOT%{_sbindir}/arpd
62 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
65 rm -rf $RPM_BUILD_ROOT
68 /sbin/chkconfig --add arpd
69 if [ -f /var/lock/subsys/arpd ]; then
70 /etc/rc.d/init.d/arpd restart 1>&2
72 echo "Run \"/etc/rc.d/init.d/arpd start\" to start arpd daemon."
76 if [ "$1" = "0" ]; then
77 if [ -f /var/lock/subsys/arpd ]; then
78 /etc/rc.d/init.d/arpd stop 1>&2
80 /sbin/chkconfig --del arpd
84 %defattr(644,root,root,755)
85 %doc CHANGES README.html
86 %attr(754,root,root) %{_sbindir}/arpd
87 %attr(754,root,root) /etc/rc.d/init.d/arpd