]> git.pld-linux.org Git - packages/bootp.git/blobdiff - bootp.spec
- dropped pre-cvs changelog
[packages/bootp.git] / bootp.spec
index 4e897f696d3661c47cc2daeaed098b796d0ac2d7..1be72785a987a76a8b1def90751ac1e9a356d246 100644 (file)
@@ -1,22 +1,23 @@
 Summary:       bootp/DHCP server and test programs
 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ý
+Summary(de.UTF-8):     bootp/DHCP-Server und Testprogramme
+Summary(fr.UTF-8):     Serveur bootp/DHCP et programmes test
+Summary(pl.UTF-8):     Serwer bootp/DHCP wraz z programami pomocniczymi
+Summary(tr.UTF-8):     bootp/DHCP sunucusu ve test programları
 Name:          bootp
 Version:       2.4.3
 Name:          bootp
 Version:       2.4.3
-Release:       10
+Release:       12
 License:       BSD
 Group:         Networking/Daemons
 License:       BSD
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
-Source0:       ftp://ftp.mc.com/pub/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.ntplx.net/pub/networking/bootp/%{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
 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
+Patch5:                %{name}-errno.patch
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      inetdaemon
 Requires:      rc-inetd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      inetdaemon
 Requires:      rc-inetd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,45 +30,46 @@ their networking information. While this server includes rudimentary
 DHCP support as well, we suggest using the dhcpd package if you need
 DHCP support, as it is much more complete.
 
 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
+%description -l de.UTF-8
+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,
 DHCP-Support beinhaltet, empfehlen wir den Einsatz des dhcpd-Pakets,
-wenn Sie DHCP-Unterstützung wünschen, weil sie damit umfassenderen
+wenn Sie DHCP-Unterstützung wünschen, weil sie damit umfassenderen
 Support erhalten.
 
 Support erhalten.
 
-%description -l fr
+%description -l fr.UTF-8
 C'est un serveur pour le protocole bootp, qui permet aux
 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
+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,
 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
+nous recommandons d'utiliser le package dhcp si vous désirez un
 support dhcp, car il est beaucoup plus complet.
 
 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 ¿±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 pl.UTF-8
+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 żą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
+%description -l tr.UTF-8
+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
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 #%patch4 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 #%patch4 -p1
+%patch5 -p1
 
 %build
 %{__make} linux SYSDEFS="%{rpmcflags}"
 
 %build
 %{__make} linux SYSDEFS="%{rpmcflags}"
@@ -76,8 +78,11 @@ paketinin kullan
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_sbindir},%{_mandir}/man{5,8}}
 
 rm -rf $RPM_BUILD_ROOT
 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 MANDIR=%{_mandir} install.man
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+%{__make} install.man \
+       DESTDIR=$RPM_BUILD_ROOT \
+       MANDIR=%{_mandir}
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/bootptab
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/bootptab
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
@@ -85,9 +90,17 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bootp
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%service -q rc-inetd reload
+
+%postun
+if [ "$1" = 0 ]; then
+       %service -q rc-inetd reload
+fi
+
 %files
 %defattr(644,root,root,755)
 %files
 %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(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bootptab
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/bootp
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man[58]/*
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man[58]/*
This page took 0.03746 seconds and 4 git commands to generate.