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