1 Summary: A server process which provides boot information to diskless clients
2 Summary(pl): Demon zapewniaj±cy informacje potrzebne do uruchomienia bezdyskowych klientów
7 Group: Networking/Daemons
8 Group(de): Netzwerkwesen/Server
9 Group(pl): Sieciowe/Serwery
10 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
12 Patch0: %{name}-install_man_fix.patch
14 Prereq: /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The bootparamd process provides bootparamd, a server process which
20 provides the information needed by diskless clients in order for them
21 to successfully boot. Bootparamd looks first in /etc/bootparams for an
22 entry for that particular client; if a local bootparams file doesn't
23 exist, it looks at the appropriate Network Information Service (NIS)
24 map. Some network boot loaders (notably Sun's) rely on special boot
25 server code on the server, in addition to the rarp and tftp servers.
26 This bootparamd server process is compatible with SunOS bootparam
27 clients and servers which need that boot server code.
30 Pakiet zawiera program bootparamd - demon, który zapewnia informacje
31 potrzebne dla uruchomienia bezdyskowych klientów. bootparamd szuka w
32 /etc/bootparams wpisu dla konkretnego klienta; je¿eli plik ten nie
33 istnieje, szuka odpowiedniej mapy NIS. Niektóre sieciowe bootloadery
34 (np. Suna) polegaj± na specjalnym kodzie bootuj±cym na serwerze. Ten
35 bootparamd jest kompatybilny z klientami bootparam na SunOS-ie i
36 serwerami potrzebuj±cymi tego kodu.
39 %setup -q -n netkit-bootparamd-%{version}
43 ./configure --with-c-compiler=%{__cc}
44 %{__make} CFLAGS="%{rpmcflags}"
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8} \
49 $RPM_BUILD_ROOT/etc/rc.d/init.d
52 INSTALLROOT=$RPM_BUILD_ROOT \
55 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
58 rm -rf $RPM_BUILD_ROOT
61 /sbin/chkconfig --add bootparamd
62 if [ -f /var/lock/subsys/rpc.bootparamd ]; then
63 /etc/rc.d/init.d/bootparamd restart 1>&2
65 echo "Type \"/etc/rc.d/init.d/bootparamd start\" to start rpc.bootparamd server" 1>&2
69 if [ "$1" = "0" ]; then
70 if [ -f /var/lock/subsys/rpc.bootparamd ]; then
71 /etc/rc.d/init.d/bootparamd stop 1>&2
73 /sbin/chkconfig --del bootparamd
77 %defattr(644,root,root,755)
78 %attr(754,root,root) /etc/rc.d/init.d/bootparamd
79 %attr(755,root,root) %{_sbindir}/rpc.bootparamd
80 %attr(755,root,root) %{_bindir}/callbootd