1 Summary: A server process which provides boot information to diskless clients
2 Summary(pl.UTF-8): Demon zapewniający informacje potrzebne do uruchomienia bezdyskowych klientów
7 Group: Networking/Daemons
8 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
9 # Source0-md5: 00d211115b11aec2e214b701fe72f397
11 Patch0: %{name}-install_man_fix.patch
13 BuildRequires: rpmbuild(macros) >= 1.268
14 Requires(post,preun): /sbin/chkconfig
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The bootparamd process provides bootparamd, a server process which
21 provides the information needed by diskless clients in order for them
22 to successfully boot. Bootparamd looks first in /etc/bootparams for an
23 entry for that particular client; if a local bootparams file doesn't
24 exist, it looks at the appropriate Network Information Service (NIS)
25 map. Some network boot loaders (notably Sun's) rely on special boot
26 server code on the server, in addition to the rarp and tftp servers.
27 This bootparamd server process is compatible with SunOS bootparam
28 clients and servers which need that boot server code.
30 %description -l pl.UTF-8
31 Pakiet zawiera program bootparamd - demon, który zapewnia informacje
32 potrzebne dla uruchomienia bezdyskowych klientów. bootparamd szuka w
33 /etc/bootparams wpisu dla konkretnego klienta; jeżeli plik ten nie
34 istnieje, szuka odpowiedniej mapy NIS. Niektóre sieciowe bootloadery
35 (np. Suna) polegają na specjalnym kodzie bootującym na serwerze. Ten
36 bootparamd jest kompatybilny z klientami bootparam na SunOS-ie i
37 serwerami potrzebującymi tego kodu.
40 %setup -q -n netkit-%{name}-%{version}
45 --with-c-compiler="%{__cc}"
46 %{__make} CFLAGS="%{rpmcflags}"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8} \
51 $RPM_BUILD_ROOT/etc/rc.d/init.d
54 INSTALLROOT=$RPM_BUILD_ROOT \
57 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpc.bootparamd
60 rm -rf $RPM_BUILD_ROOT
63 /sbin/chkconfig --add rpc.bootparamd
64 %service rpc.bootparamd restart "rpc.bootparamd server"
67 if [ "$1" = "0" ]; then
68 %service rpc.bootparamd stop
69 /sbin/chkconfig --del rpc.bootparamd
73 %defattr(644,root,root,755)
75 %attr(754,root,root) /etc/rc.d/init.d/rpc.bootparamd
76 %attr(755,root,root) %{_sbindir}/rpc.bootparamd
77 %attr(755,root,root) %{_bindir}/callbootd