From c07ebab2de7b53d7f8b65dc37a604aef03c77f84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 31 Aug 2006 21:58:01 +0000 Subject: [PATCH] - fix ntp.conf path - package /etc/dhcpc/dhcpcd.exe (harmless but useful for making own) - rel 3 Changed files: dhcpcd.spec -> 1.57 --- dhcpcd.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dhcpcd.spec b/dhcpcd.spec index 7bd425f..22d4684 100644 --- a/dhcpcd.spec +++ b/dhcpcd.spec @@ -7,15 +7,16 @@ Summary(pt_BR): Servidor DHCPC Summary(tr): DHCPC sunucu süreçi (daemon) Name: dhcpcd Version: 2.0.1 -Release: 2 +Release: 3 License: GPL v2 Group: Networking/Daemons Source0: http://download.berlios.de/dhcpcd/%{name}-%{version}.tar.bz2 # Source0-md5: c5766aafd51f581c2b2c8620b26f5e02 Patch0: %{name}-ntpdrift-66136.patch +Patch1: %{name}-ntp-path.patch URL: http://developer.berlios.de/projects/dhcpcd/ -BuildRequires: automake BuildRequires: autoconf +BuildRequires: automake BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin @@ -52,7 +53,8 @@ draft-ietf-dhc-dhcp-09. %description -l fr dhcpcd est une implantation du client DHCP spécifié dans les -draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option -r). +draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option +- -r). Il obtient l'information sur l'hôte (adresse IP, masque réseau, adresse de diffusion, etc.) à partir d'un serveur DHCP et configure @@ -88,6 +90,7 @@ kira zaman %prep %setup -q %patch0 -p0 +%patch1 -p1 %build rm -f missing @@ -101,7 +104,7 @@ rm -f missing %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_var}/lib/dhcpc +install -d $RPM_BUILD_ROOT/var/lib/dhcpc %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ @@ -114,6 +117,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README AUTHORS ChangeLog NEWS +%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcpc/dhcpcd.exe %attr(755,root,root) %{_sbindir}/dhcpcd %dir %{_var}/lib/dhcpc %{_mandir}/man8/dhcpcd.8* -- 2.44.0