]> git.pld-linux.org Git - packages/bootp.git/blobdiff - bootp.spec
- many small fixes, inspired by kloczek
[packages/bootp.git] / bootp.spec
index 9ece632277cf465c7858437083ee59d86a895950..dded04cc7a9dc2fe7827dfdd6d449f4c7dae748b 100644 (file)
@@ -1,21 +1,24 @@
-Summary:     bootp/DHCP server and test programs
-Summary(de): bootp/DHCP-Server und Testprogramme
-Summary(fr): Serveur bootp/DHCP et programmes test
-Summary(pl): Serwer BOOTP/DHCP wraz z programami pomocniczymi
-Summary(tr): bootp/DHCP sunucusu ve test programlarý
-Name:        bootp
-Version:     2.4.3
-Release:     9
-Copyright:   BSD
-Group:       Networking/Daemons
-Source:      ftp://ftp.mc.com/pub/%{name}-%{version}.tar.Z
-Patch:       bootp-2.4.3-linux.patch
-Patch1:      http://www.sghms.ac.uk/~mpreston/tools.htm/dhcp.patch
-Patch2:      bootp-2.4.3-glibc.patch
-Patch3:      bootp-2.4.3-pathfix.patch
-Patch4:      bootp-tmprace.patch
-Requires:    inetd
-BuildRoot:     /tmp/%{name}-%{version}-root
+Summary:       bootp/DHCP server and test programs
+Summary(de):   bootp/DHCP-Server und Testprogramme
+Summary(fr):   Serveur bootp/DHCP et programmes test
+Summary(pl):   Serwer BOOTP/DHCP wraz z programami pomocniczymi
+Summary(tr):   bootp/DHCP sunucusu ve test programlarý
+Name:          bootp
+Version:       2.4.3
+Release:       10
+License:       BSD
+Group:         Networking/Daemons
+Source0:       ftp://ftp.mc.com/pub/%{name}-%{version}.tar.gz
+# Source0-md5: 2a12d862f11908acf84652387be4e03b
+Source1:       %{name}.inetd
+Patch0:                %{name}-2.4.3-linux.patch
+Patch1:                http://www.sghms.ac.uk/~mpreston/tools.htm/dhcp.patch
+Patch2:                %{name}-2.4.3-glibc.patch
+Patch3:                %{name}-2.4.3-pathfix.patch
+Patch4:                %{name}-tmprace.patch
+Requires:      inetdaemon
+Requires:      rc-inetd
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is a server for the bootp protocol; which allows network
@@ -26,34 +29,36 @@ DHCP support as well, we suggest using the dhcpd package if you need
 DHCP support, as it is much more complete.
 
 %description -l de
-Dies ist ein Server für das bootp-Protokoll, der Netzwerkadministratoren
-das Einrichten von Netzinfos für Clients über ein /etc/bootptab auf einem
-Server gestattet, so daß die Clients ihre Infos automatisch bekommen. 
-Obwohl dieser Server rudimentären DHCP-Support beinhaltet, 
-empfehlen wir den Einsatz des dhcpd-Pakets, wenn Sie DHCP-Unterstützung
-wünschen, weil sie damit umfassenderen Support erhalten.
+Dies ist ein Server für das bootp-Protokoll, der
+Netzwerkadministratoren das Einrichten von Netzinfos für Clients über
+ein /etc/bootptab auf einem Server gestattet, so daß die Clients ihre
+Infos automatisch bekommen. Obwohl dieser Server rudimentären
+DHCP-Support beinhaltet, empfehlen wir den Einsatz des dhcpd-Pakets,
+wenn Sie DHCP-Unterstützung wünschen, weil sie damit umfassenderen
+Support erhalten.
 
 %description -l fr
-C'est un serveur pour le protocole bootp, qui permet aux administrateurs
-réseau de configurer les informations pour les clients réseau via
-le fichier /etc/bootptab sur un serveur de telle manière que les clients
-puissent automatiquement obtenir les informations. Bien que le serveur
-comprenne aussi un support rudimentaire pour dhcp, nous recommandons
-d'utiliser le package dhcp si vous désirez un support dhcp, car
-il est beaucoup plus complet.
+C'est un serveur pour le protocole bootp, qui permet aux
+administrateurs réseau de configurer les informations pour les clients
+réseau via le fichier /etc/bootptab sur un serveur de telle manière
+que les clients puissent automatiquement obtenir les informations.
+Bien que le serveur comprenne aussi un support rudimentaire pour dhcp,
+nous recommandons d'utiliser le package dhcp si vous désirez un
+support dhcp, car il est beaucoup plus complet.
 
 %description -l pl
 Pakiet ten zawiera serwer protoko³u bootp, który umo¿liwia zarz±dzanie
-informacjami o konfiguracji sieciowej komputerów w pliku /etc/bootptab, a
-nastêpnie dostarczenie na rz±danie w/w informacji komputerom (klientom).
-Pomimo, ¿e program oferuje czê¶ciow± obs³ugê DHCP, do serwowania informacji
-przenoszonych za pomoc± tego protoko³u lepiej u¿yæ dedykowanego serwera z
-pakietu dhcp.
+informacjami o konfiguracji sieciowej komputerów w pliku
+/etc/bootptab, a nastêpnie dostarczenie na ¿±danie w/w informacji
+komputerom (klientom). Pomimo, ¿e program oferuje czê¶ciow± obs³ugê
+DHCP, do serwowania informacji przenoszonych za pomoc± tego protoko³u
+lepiej u¿yæ dedykowanego serwera z pakietu dhcp.
 
 %description -l tr
-bootp sunucusu, istemcilerin að bilgilerini sunucu üzerindeki bir dosyadan
-almalarýna olanak verir. Bu sunucu temel DHCP desteðini içermekle birlikte,
-DHCP desteðine gerek duyulan durumlarda dhcpd paketinin kullanýmý önerilir
+bootp sunucusu, istemcilerin að bilgilerini sunucu üzerindeki bir
+dosyadan almalarýna olanak verir. Bu sunucu temel DHCP desteðini
+içermekle birlikte, DHCP desteðine gerek duyulan durumlarda dhcpd
+paketinin kullanýmý önerilir
 
 %prep
 %setup -q
@@ -64,59 +69,27 @@ DHCP deste
 #%patch4 -p1
 
 %build
-make linux
+%{__make} linux SYSDEFS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc,usr/{sbin,man/man{5,8}}}
+install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_sbindir},%{_mandir}/man{5,8}}
 
-make DESTDIR=$RPM_BUILD_ROOT install
-make DESTDIR=$RPM_BUILD_ROOT install.man
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+%{__make} install.man \
+       DESTDIR=$RPM_BUILD_ROOT \
+       MANDIR=%{_mandir}
 
-touch $RPM_BUILD_ROOT/etc/bootptab
+touch $RPM_BUILD_ROOT%{_sysconfdir}/bootptab
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%attr(600,root,root) %config(noreplace) %verify(not size md5 mtime) /etc/bootptab
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/bootptab
+%attr(640,root,root) /etc/sysconfig/rc-inetd/bootp
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man[58]/*
-
-%changelog
-* Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.4.3-9]
-- added empty /etc/bootptab %config file,
-- fixed tmp race (bootp-tmprace.patch).
-
-* Fri Sep 18 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [2.4.3-8]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- simplification in %install and %files,
-- added using %%{name} and %%{version} in Source.
-
-* Sat Aug 29 1998 Marcin Korzonek <mkorz@shadow.eu.org>
-  [2.4.3-8]
-- added pl translation,
-- added %attr and %defattr macros in %files (allows build package from
-  non-root account).
-
-* Mon Jun 01 1998 Prospector System <bugs@redhat.com>
-- translations modified for de
-
-* Wed May 13 1998 Alan Cox <alan@redhat.com>
-- Fixed a potential problem with the bootfile buffer being non terminated
-  allowing a theoretical exploit. We now check the buffer as we walk it. Bug
-  noted and reported by Chris Evans.
-
-* Tue May 05 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
-- minor spec file cleanups
-- now uses a build root and %attr
-- requires inetd server
-
-* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
This page took 0.120484 seconds and 4 git commands to generate.