]>
Commit | Line | Data |
---|---|---|
1 | Summary: DHCP Client Daemon | |
2 | Summary(de.UTF-8): DHCPC-Dämon | |
3 | Summary(es.UTF-8): Cliente (daemon) DHCP | |
4 | Summary(fr.UTF-8): Démon DHCPC | |
5 | Summary(pl.UTF-8): Klient (daemon) DHCP | |
6 | Summary(pt_BR.UTF-8): Servidor DHCPC | |
7 | Summary(tr.UTF-8): DHCPC sunucu süreçi (daemon) | |
8 | Name: dhcpcd | |
9 | Version: 5.1.0 | |
10 | Release: 2 | |
11 | License: BSD | |
12 | Group: Networking/Daemons | |
13 | Source0: http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.bz2 | |
14 | # Source0-md5: beb430d11f982881ce3d824643467490 | |
15 | Patch0: %{name}-sbindir.patch | |
16 | URL: http://roy.marples.name/dhcpcd | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _sbindir /sbin | |
20 | %define _libexecdir %{_libdir}/%{name} | |
21 | ||
22 | %description | |
23 | dhcpcd is an implementation of the DHCP client specified in | |
24 | draft-ietf-dhc-dhcp-09 (when -r option is not specified) and RFC1541 | |
25 | (when -r option is specified). | |
26 | ||
27 | It gets the host information (IP address, netmask, broadcast address, | |
28 | etc.) from a DHCP server and configures the network interface of the | |
29 | machine on which it is running. It also tries to renew the lease time | |
30 | according to RFC1541 or draft-ietf-dhc-dhcp-09. | |
31 | ||
32 | %description -l de.UTF-8 | |
33 | dhcpcd ist eine Implementierung des DHCP-Client, spezifiziert in | |
34 | draft-ietf-dhc-dhcp-09 (wenn -r option nicht angegeben) und RFC1541 | |
35 | (wenn -r option angegeben). | |
36 | ||
37 | Es bezieht die Host-Infos (IP-Adresse, Netmask, Broadcast-Adresse, | |
38 | usw.) von einem DHCP-Server und konfiguriert die Netzschnittstelle des | |
39 | Computers, auf dem es läuft Es versucht, die Verleihzeit gemäß RFC1541 | |
40 | bzw. draft-ietf-dhc-dhcp-09 zu verlängern. | |
41 | ||
42 | %description -l es.UTF-8 | |
43 | dhcpcd es una implementación del cliente DHCP especificado en | |
44 | draft-ietf-dhc-dhcp-09 (cuando la opción -r no está especificada) y | |
45 | RFC1541 (cuando la opción -r está especificada). Captura la | |
46 | información del host (dirección IP, máscara de red, dirección de | |
47 | broadcast, etc.) de un servidor DHCP y configura la interface de red | |
48 | de la máquina donde esté ejecutando. También intenta renovar el tiempo | |
49 | de alquiler de los direcciones de acuerdo con RFC1541 o | |
50 | draft-ietf-dhc-dhcp-09. | |
51 | ||
52 | %description -l fr.UTF-8 | |
53 | dhcpcd est une implantation du client DHCP spécifié dans les | |
54 | draft-ietf-dhc-dhcp-09 (sans l'option -r) et RFC1541 (avec l'option | |
55 | - -r). | |
56 | ||
57 | Il obtient l'information sur l'hôte (adresse IP, masque réseau, | |
58 | adresse de diffusion, etc.) à partir d'un serveur DHCP et configure | |
59 | l'interface réseau de la machine sur laquelle il tourne. Il essaie | |
60 | aussi de renouveler le « lease time » selon les RFC1541 ou | |
61 | draft-ietf-dhc-dhcp-09. | |
62 | ||
63 | %description -l pl.UTF-8 | |
64 | dhcpd jest implementacja klienta DHCP, opisaną w | |
65 | draft-ietf-dhc-dhcp-09 (kiedy nie podaje się opcji -r) oraz RFC1544 | |
66 | (kiedy podaje się opcję -r). | |
67 | ||
68 | Pobiera on informację o komputerze (adres IP, maska sieci, adres | |
69 | rozgłoszeniowy itd.) i konfiguruje interfejs sieciowy maszyny, na | |
70 | której jest uruchomiony. Próbuje również odświeżyć czas przestoju | |
71 | zgodnie z RFC1541 oraz draft-ietf-dhc-dhcp-09. | |
72 | ||
73 | %description -l pt_BR.UTF-8 | |
74 | dhcpcd é uma implementação do cliente DHCP especificado em | |
75 | draft-ietf-dhc-dhcp-09 (quando a opção -r não é especificada) e | |
76 | RFC1541 (quando a opção -r é especificada). Ele captura a informação | |
77 | do host (endereço IP, máscara de rede, endereço de broadcast, etc.) de | |
78 | um servidor DHCP e configura a interface de rede da máquina em que | |
79 | está rodando. Ele também tenta renovar o tempo de aluguel dos | |
80 | endereços de acordo com RFC1541 ou draft-ietf-dhc-dhcp-09. | |
81 | ||
82 | %description -l tr.UTF-8 | |
83 | Makina bilgilerini (IP adresi, ağ maskesi, yayın adresi, vb.) bir DHCP | |
84 | sunucusundan alır ve üzerinde çalıştığı makinanın ağ arayüzünü | |
85 | ayarlar. Ayrıca RFC1541 veya draft-ietf-dhc-dhcp-09'a uygun olarak, | |
86 | kira zamanını (lease time) yenilemeye çalışır. | |
87 | ||
88 | %prep | |
89 | %setup -q | |
90 | %patch0 -p1 | |
91 | ||
92 | %build | |
93 | %configure \ | |
94 | --dbdir=%{_sharedstatedir}/dhcpcd | |
95 | ||
96 | %{__make} | |
97 | ||
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sharedstatedir}/dhcpcd} | |
101 | ||
102 | %{__make} install \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | touch $RPM_BUILD_ROOT%{_sysconfdir}/dhcpcd.{enter-hook,exit-hook} | |
106 | ||
107 | %clean | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %files | |
111 | %defattr(644,root,root,755) | |
112 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf | |
113 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*-hook | |
114 | %attr(755,root,root) %{_sbindir}/dhcpcd | |
115 | %dir %{_libdir}/%{name} | |
116 | %dir %{_libdir}/%{name}/dhcpcd-hooks | |
117 | %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-hooks/* | |
118 | %attr(755,root,root) %{_libdir}/%{name}/dhcpcd-run-hooks | |
119 | %dir %{_sharedstatedir}/dhcpcd | |
120 | %{_mandir}/man?/dhcpcd*.* |