1 Summary: User-space arp daemon
2 Summary(pl): Demon arpd
7 Group: Applications/Networking
8 Group(pl): Aplikacje/Sieciowe
9 Group(de): Applikationen/Netzwerkwesen
10 Source0: %{name}-%{version}.tar.gz
12 Patch0: %{name}-%{version}.debian-patch
13 Patch1: %{name}-%{version}.pld-patch
14 Prereq: /sbin/chkconfig
15 Prereq: rc-scripts >= 0.2.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}.orig
21 User-space arp daemon.
22 It requires kernel arpd support which isn't supported by standard
23 PLD kernel. It shouldn't be run without that!!
27 Standardowe j±dro ma organiczon± wielko¶æ tablicy arp do 255. Ten demon
28 likwiduje t± niedogodno¶æ wystêpuj±c± w du¿ych sieciach
30 Uwaga: wymaga arpd support, którego nie ma w standardowym j±drze PLD!!
31 Nie powinien byæ startowany bez tego!!
34 %setup -q -n %{name}-%{version}.orig
42 %install -n -n %{name}-%{version}
43 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/{usr/sbin,etc/rc.d/init.d}
46 install arpd $RPM_BUILD_ROOT/usr/sbin/arpd
47 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
49 gzip -9nf CHANGES Copyright debian/*
52 /sbin/chkconfig --add arpd
53 if [ ! -f /dev/arpd ]; then
54 mknod /dev/arpd c 36 8
57 echo "You need arpd kernel support which isn't provided by standard PLD-kernel!!"
58 if [ -f /var/lock/subsys/arpd ]; then
59 /etc/rc.d/init.d/arpd restart 1>&2
61 echo "Run \"/etc/rc.d/init.d/arpd start\" to start arpd daemon."
66 /sbin/chkconfig --del arpd
67 if [ "$1" = "0" ]; then
68 if [ -f /var/lock/subsys/arpd ]; then
69 /etc/rc.d/init.d/arpd stop 1>&2
71 /sbin/chkconfig --del arpd
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
81 %doc README.html debian/*
82 %attr(754,root,root) /usr/sbin/arpd
83 %attr(754,root,root) /etc/rc.d/init.d/arpd