Summary(pt_BR.UTF-8): Servidor DHCP (Protocolo de configuração dinâmica de hosts)
Name: dhcp
# 4.1.0a1 is on DEVEL
-Version: 4.0.0
-Release: 3
+Version: 4.0.1p1
+Release: 1
Epoch: 4
License: MIT
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}.tar.gz
-# Source0-md5: 31d79b27ce4a94089a0b9ce7f72307fa
+# Source0-md5: 42bac85e1513e177c6bb2bf64d448dbe
Source1: %{name}.init
Source2: %{name}6.init
Source3: %{name}-relay.init
Patch18: %{name}-dhclient-anycast.patch
Patch19: %{name}-manpages.patch
Patch20: %{name}-NetworkManager-crash.patch
+Patch21: %{name}-no-ipv6.patch
URL: http://www.isc.org/sw/dhcp/
BuildRequires: autoconf
BuildRequires: automake
%patch18 -p1
%patch19 -p1
%patch20 -p1
+%patch21 -p1
# Copy in documentation and example scripts for LDAP patch to dhcpd
cp -a %{SOURCE11} README.ldap
%endif
# Install headers for libdhcp4client-devel
+install -d $RPM_BUILD_ROOT%{_includedir}/dhcp4client
+install libdhcp4client/dhcp4client.h $RPM_BUILD_ROOT%{_includedir}/dhcp4client/dhcp4client.h
install -d $RPM_BUILD_ROOT%{_includedir}/dhcp4client/minires
for hdr in cdefs.h ctrace.h dhcp.h dhcp6.h dhcpd.h dhctoken.h failover.h \
heap.h inet.h minires/minires.h minires/res_update.h \
%post
touch /var/lib/dhcpd/dhcpd.leases
+touch /var/lib/dhcpd/dhcpd6.leases
/sbin/chkconfig --add dhcpd
%service dhcpd restart "dhcpd daemon"
/sbin/chkconfig --add dhcpd6