Tue, 06 Jan 2009 23:46:19 +0100
Rewrite out of scope identifiers and remove IPv6 to correct build.
dhcpd/dhcpd.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/dhcpd/dhcpd.spec Tue Jan 06 23:45:10 2009 +0100 1.2 +++ b/dhcpd/dhcpd.spec Tue Jan 06 23:46:19 2009 +0100 1.3 @@ -32,7 +32,7 @@ 1.4 Group: DHCP 1.5 License: ISC/BSD 1.6 Version: 4.1.0 1.7 -Release: 20081220 1.8 +Release: 20090105 1.9 1.10 # package options 1.11 %option with_fsl yes 1.12 @@ -75,6 +75,12 @@ 1.13 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_DB[^"]*\).*;\1 "%{l_prefix}/var/dhcpd/db/dhcpd.leases";' \ 1.14 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_CONF[^"]*\).*;\1 "%{l_prefix}/etc/dhcpd/dhcpd.conf";' \ 1.15 includes/site.h 1.16 + %{l_shtool} subst \ 1.17 + -e 's;struct option\([, )]\);struct option_dhcpd\1;g' \ 1.18 + includes/*.h \ 1.19 + client/*.c \ 1.20 + common/*.c \ 1.21 + server/*.c 1.22 CC="%{l_cc}" \ 1.23 CFLAGS="%{l_cflags -O}" \ 1.24 CPPFLAGS="%{l_cppflags} -DNOMINUM" \ 1.25 @@ -85,6 +91,7 @@ 1.26 --mandir=%{l_prefix}/man \ 1.27 --sysconfdir=%{l_prefix}/etc/dhcpd \ 1.28 --localstatedir=%{l_prefix}/var/dhcpd \ 1.29 + --disable-dhcpv6 \ 1.30 --with-srv-lease-file=%{l_prefix}/var/dhcpd/db/dhcpd.leases \ 1.31 --with-cli-lease-file=%{l_prefix}/var/dhcpd/db/dhclient.leases \ 1.32 --with-srv-pid-file=%{l_prefix}/var/dhcpd/run/dhcpd.pid \