]> git.pld-linux.org Git - packages/bootp.git/commitdiff
- added %post(un) rc-inetd reload AC-branch AC-STABLE auto/ac/bootp-2_4_3-12
authordzeus <dzeus@pld-linux.org>
Mon, 27 Dec 2004 20:47:30 +0000 (20:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed Source0 URL
- rel. 12

Changed files:
    bootp.spec -> 1.28

bootp.spec

index ac85e8be31f1de4bcbb9968e13dcf4aaac84f836..0d623860e698df2195ffcab92fb4df911c1585f8 100644 (file)
@@ -5,10 +5,10 @@ Summary(pl):  Serwer BOOTP/DHCP wraz z programami pomocniczymi
 Summary(tr):   bootp/DHCP sunucusu ve test programlarĂ˝
 Name:          bootp
 Version:       2.4.3
-Release:       11
+Release:       12
 License:       BSD
 Group:         Networking/Daemons
-Source0:       ftp://ftp.mc.com/pub/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.ntplx.net/pub/networking/bootp/%{name}-%{version}.tar.gz
 # Source0-md5: 2a12d862f11908acf84652387be4e03b
 Source1:       %{name}.inetd
 Patch0:                %{name}-2.4.3-linux.patch
@@ -89,6 +89,18 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ -f /var/lock/subsys/rc-inetd ]; then
+    /etc/rc.d/init.d/rc-inetd reload 1>&2
+else
+    echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
+fi
+
+%postun
+if [ -f /var/lock/subsys/rc-inetd ]; then
+    /etc/rc.d/init.d/rc-inetd reload 1>&2
+fi
+
 %files
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/bootptab
This page took 0.090473 seconds and 4 git commands to generate.