]> git.pld-linux.org Git - packages/arpd.git/blobdiff - arpd.spec
- added Source URL (from slackware, because original returns 404)
[packages/arpd.git] / arpd.spec
index b3fbaa36d5c423ee52ccfcff4d72ba97730b9646..7602eaf935a4a912d01afea86f23be8a714a9996 100644 (file)
--- a/arpd.spec
+++ b/arpd.spec
@@ -7,17 +7,19 @@ License:      GPL
 Group:         Daemons
 Group(de):     Server
 Group(pl):     Serwery
-Source0:       %{name}-%{version}.tar.gz
+#Source0:      http://www.loran.com/~layes/arpd/%{name}-%{version}.tar.gz  (origin, but 404)
+Source0:       ftp://ftp.slackware.org:/pub/slackware/slackware-4.0/source/n/tcpip1/%{name}-%{version}.tar.gz
 Source1:       %{name}-init
 Patch0:                %{name}-%{version}.debian-patch
 Patch1:                %{name}-%{version}.pld-patch
 Patch2:                %{name}-makefile-patch
 Patch3:                %{name}-more_tables.patch
 Patch4:                %{name}-uid.patch
+#URL:          http://www.loran.com/~layes/arpd/
 Prereq:                /sbin/chkconfig
 Prereq:                rc-scripts >= 0.2.0
 Prereq:                fileutils
-Requires:      dev >= 2.8.0-3
+Requires:      dev >= 2.8.0-4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,8 +29,7 @@ LARGE network segments (256+ systems per segment), because the kernel
 hash tables are not optimized to handle this situation. To use the ARP
 daemon your kernel needs to have ARPD and NETLINK support enabled. The
 standard kernels of PLD lack this support. It shouldn't be run without
-that!! This version can alocate 2048 entries.
-
+that! This version can alocate 2048 entries.
 
 %description -l pl
 Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution
@@ -37,9 +38,8 @@ u
 segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie
 sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK
 support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma
-supportu ARPD!!. Demon nie powinien byæ startowany bez tego!! Ta
-wersja potrafi zaakceptowaæ 2048 pozycji.
-
+supportu ARPD. Demon nie powinien byæ startowany bez tego! Ta wersja
+potrafi zaakceptowaæ 2048 pozycji.
 
 %prep
 %setup  -q -n %{name}-%{version}.orig
@@ -61,6 +61,8 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
 
 gzip -9nf CHANGES
 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add arpd
@@ -71,7 +73,6 @@ else
 fi
 
 %preun
-/sbin/chkconfig --del arpd
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/arpd ]; then
                /etc/rc.d/init.d/arpd stop 1>&2
@@ -80,9 +81,6 @@ if [ "$1" = "0" ]; then
 fi
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc *.gz README.html
This page took 0.028483 seconds and 4 git commands to generate.