]> git.pld-linux.org Git - packages/bootp.git/blob - bootp.spec
- adapterized (sorted verify flags)
[packages/bootp.git] / bootp.spec
1 Summary:        bootp/DHCP server and test programs
2 Summary(de):    bootp/DHCP-Server und Testprogramme
3 Summary(fr):    Serveur bootp/DHCP et programmes test
4 Summary(pl):    Serwer bootp/DHCP wraz z programami pomocniczymi
5 Summary(tr):    bootp/DHCP sunucusu ve test programlarý
6 Name:           bootp
7 Version:        2.4.3
8 Release:        12
9 License:        BSD
10 Group:          Networking/Daemons
11 Source0:        ftp://ftp.ntplx.net/pub/networking/bootp/%{name}-%{version}.tar.gz
12 # Source0-md5:  2a12d862f11908acf84652387be4e03b
13 Source1:        %{name}.inetd
14 Patch0:         %{name}-2.4.3-linux.patch
15 Patch1:         http://www.sghms.ac.uk/~mpreston/tools.htm/dhcp.patch
16 Patch2:         %{name}-2.4.3-glibc.patch
17 Patch3:         %{name}-2.4.3-pathfix.patch
18 Patch4:         %{name}-tmprace.patch
19 Patch5:         %{name}-errno.patch
20 Requires:       inetdaemon
21 Requires:       rc-inetd
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This is a server for the bootp protocol; which allows network
26 administrators to setup networking information for clients via an
27 /etc/bootptab on a server so that the clients can automatically get
28 their networking information. While this server includes rudimentary
29 DHCP support as well, we suggest using the dhcpd package if you need
30 DHCP support, as it is much more complete.
31
32 %description -l de
33 Dies ist ein Server für das bootp-Protokoll, der
34 Netzwerkadministratoren das Einrichten von Netzinfos für Clients über
35 ein /etc/bootptab auf einem Server gestattet, so daß die Clients ihre
36 Infos automatisch bekommen. Obwohl dieser Server rudimentären
37 DHCP-Support beinhaltet, empfehlen wir den Einsatz des dhcpd-Pakets,
38 wenn Sie DHCP-Unterstützung wünschen, weil sie damit umfassenderen
39 Support erhalten.
40
41 %description -l fr
42 C'est un serveur pour le protocole bootp, qui permet aux
43 administrateurs réseau de configurer les informations pour les clients
44 réseau via le fichier /etc/bootptab sur un serveur de telle manière
45 que les clients puissent automatiquement obtenir les informations.
46 Bien que le serveur comprenne aussi un support rudimentaire pour dhcp,
47 nous recommandons d'utiliser le package dhcp si vous désirez un
48 support dhcp, car il est beaucoup plus complet.
49
50 %description -l pl
51 Pakiet ten zawiera serwer protoko³u bootp, który umo¿liwia zarz±dzanie
52 informacjami o konfiguracji sieciowej komputerów w pliku
53 /etc/bootptab, a nastêpnie dostarczenie na ¿±danie w/w informacji
54 komputerom (klientom). Pomimo, ¿e program oferuje czê¶ciow± obs³ugê
55 DHCP, do serwowania informacji przenoszonych za pomoc± tego protoko³u
56 lepiej u¿yæ dedykowanego serwera z pakietu dhcp.
57
58 %description -l tr
59 bootp sunucusu, istemcilerin að bilgilerini sunucu üzerindeki bir
60 dosyadan almalarýna olanak verir. Bu sunucu temel DHCP desteðini
61 içermekle birlikte, DHCP desteðine gerek duyulan durumlarda dhcpd
62 paketinin kullanýmý önerilir
63
64 %prep
65 %setup -q
66 %patch -p1
67 %patch1 -p1
68 %patch2 -p1
69 %patch3 -p1
70 #%patch4 -p1
71 %patch5 -p1
72
73 %build
74 %{__make} linux SYSDEFS="%{rpmcflags}"
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_sbindir},%{_mandir}/man{5,8}}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82 %{__make} install.man \
83         DESTDIR=$RPM_BUILD_ROOT \
84         MANDIR=%{_mandir}
85
86 touch $RPM_BUILD_ROOT%{_sysconfdir}/bootptab
87 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 if [ -f /var/lock/subsys/rc-inetd ]; then
94         /etc/rc.d/init.d/rc-inetd reload 1>&2
95 else
96         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
97 fi
98
99 %postun
100 if [ -f /var/lock/subsys/rc-inetd ]; then
101         /etc/rc.d/init.d/rc-inetd reload 1>&2
102 fi
103
104 %files
105 %defattr(644,root,root,755)
106 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bootptab
107 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/bootp
108 %attr(755,root,root) %{_sbindir}/*
109 %{_mandir}/man[58]/*
This page took 0.080587 seconds and 3 git commands to generate.