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