]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp.spec
- up to 4.0.1p1 (fixes CVE-2009-0692 but Th wasn't vulnerable due to FORTIFY_SOURCE...
[packages/dhcp.git] / dhcp.spec
index bbed5d4b932d10173118fb6dc5fca64caa2c66fe..a07da4dc8b54c3aa642aa41d2df91c84979d96c1 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -12,13 +12,13 @@ Summary(pl.UTF-8):  Serwer DHCP
 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
@@ -55,6 +55,7 @@ Patch17:      %{name}-xen-checksum.patch
 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
@@ -242,6 +243,7 @@ Statyczna biblioteka kliencka DHCP.
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
 
 # Copy in documentation and example scripts for LDAP patch to dhcpd
 cp -a %{SOURCE11} README.ldap
@@ -316,6 +318,8 @@ install %{SOURCE10} $RPM_BUILD_ROOT%{schemadir}
 %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 \
@@ -360,6 +364,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.028324 seconds and 4 git commands to generate.