]> git.pld-linux.org Git - packages/bootp.git/commitdiff
- added rc-inetd support
authorwaszi <waszi@pld-linux.org>
Mon, 11 Oct 1999 07:07:33 +0000 (07:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootp.spec -> 1.14

bootp.spec

index 48c9a8ad77c7b1a5e00e9219f10d2175d4bc7d31..f96f711653b3af0a220aca9a65acd226d5823d90 100644 (file)
@@ -9,12 +9,14 @@ Release:      10
 Copyright:     BSD
 Group:         Networking/Daemons
 Source:                ftp://ftp.mc.com/pub/%{name}-%{version}.tar.gz
+Source1:       %{name}.inetd
 Patch:         bootp-2.4.3-linux.patch
 Patch1:                http://www.sghms.ac.uk/~mpreston/tools.htm/dhcp.patch
 Patch2:                bootp-2.4.3-glibc.patch
 Patch3:                bootp-2.4.3-pathfix.patch
 Patch4:                bootp-tmprace.patch
-Requires:      inetd
+Requires:      inetdaemon
+Requires:      rc-inetd
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -68,12 +70,13 @@ make linux SYSDEFS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc,%{_sbindir},%{_mandir}/man{5,8}}
+install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_sbindir},%{_mandir}/man{5,8}}
 
 make DESTDIR=$RPM_BUILD_ROOT install
 make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} install.man
 
 touch $RPM_BUILD_ROOT/etc/bootptab
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
 
 strip $RPM_BUILD_ROOT%{_sbindir}/* || :
 
@@ -83,6 +86,7 @@ gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{5,8}/*
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%attr(600,root,root) %config(noreplace) %verify(not size md5 mtime) /etc/bootptab
+%attr(640,root,root) %config(noreplace) %verify(not size md5 mtime) /etc/bootptab
+%attr(640,root,root) /etc/sysconfig/rc-inetd/bootp
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man[58]/*
This page took 0.155091 seconds and 4 git commands to generate.