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