]> git.pld-linux.org Git - packages/bootparamd.git/blob - bootparamd.spec
- small fixes in permissions for pam.d or init.d
[packages/bootparamd.git] / bootparamd.spec
1 Summary: A server process which provides boot information to diskless clients.
2 Name: bootparamd
3 Version: 0.10
4 Release: 22
5 Copyright: BSD
6 Group: System Environment/Daemons
7 Source: ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/netkit-bootparamd-0.10.tar.gz
8 Source1: bootparamd.init
9 Patch: netkit-bootparamd-0.10-misc.patch
10 Prereq: /sbin/chkconfig
11 Requires: portmap
12 BuildRoot: /var/tmp/%{name}-root
13
14 %description
15 The bootparamd process provides bootparamd, a server process which
16 provides the information needed by diskless clients in order for them
17 to successfully boot.  Bootparamd looks first in /etc/bootparams for an
18 entry for that particular client; if a local bootparams file doesn't
19 exist, it looks at the appropriate Network Information Service (NIS)
20 map.  Some network boot loaders (notably Sun's) rely on special boot
21 server code on the server, in addition to the rarp and tftp servers.
22 This bootparamd server process is compatible with SunOS bootparam clients
23 and servers which need that boot server code.
24
25 You should install bootparamd if you need to provide boot information to
26 diskless clients on your network.
27
28 %prep
29 %setup -q -n netkit-bootparamd-0.10
30 %patch -p1
31
32 %build
33 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p $RPM_BUILD_ROOT/usr/bin
38 mkdir -p $RPM_BUILD_ROOT/usr/sbin
39 mkdir -p $RPM_BUILD_ROOT/usr/man/man1
40 mkdir -p $RPM_BUILD_ROOT/usr/man/man8
41 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
42 make INSTALLROOT=$RPM_BUILD_ROOT install
43 install -m 755 $RPM_SOURCE_DIR/bootparamd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 /sbin/chkconfig --add bootparamd
50
51 %postun
52 if [ $1 = 0 ]; then
53     /sbin/chkconfig --del bootparamd
54 fi
55
56 %files
57 /usr/sbin/rpc.bootparamd
58 /usr/bin/callbootd
59 /usr/man/man8/rpc.bootparamd.8
60 /usr/man/man8/bootparamd.8
61 %attr(754,root,root) /etc/rc.d/init.d/bootparamd
This page took 0.078146 seconds and 3 git commands to generate.