| 73 %{l_shtool} subst \ |
73 %{l_shtool} subst \ |
| 74 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_PID[^"]*\).*;\1 "%{l_prefix}/var/dhcpd/run/dhcpd.pid";' \ |
74 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_PID[^"]*\).*;\1 "%{l_prefix}/var/dhcpd/run/dhcpd.pid";' \ |
| 75 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_DB[^"]*\).*;\1 "%{l_prefix}/var/dhcpd/db/dhcpd.leases";' \ |
75 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_DB[^"]*\).*;\1 "%{l_prefix}/var/dhcpd/db/dhcpd.leases";' \ |
| 76 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_CONF[^"]*\).*;\1 "%{l_prefix}/etc/dhcpd/dhcpd.conf";' \ |
76 -e 's;^[^#]*\(#define[^_]*_PATH_DHCPD_CONF[^"]*\).*;\1 "%{l_prefix}/etc/dhcpd/dhcpd.conf";' \ |
| 77 includes/site.h |
77 includes/site.h |
| |
78 %{l_shtool} subst \ |
| |
79 -e 's;struct option\([, )]\);struct option_dhcpd\1;g' \ |
| |
80 includes/*.h \ |
| |
81 client/*.c \ |
| |
82 common/*.c \ |
| |
83 server/*.c |
| 78 CC="%{l_cc}" \ |
84 CC="%{l_cc}" \ |
| 79 CFLAGS="%{l_cflags -O}" \ |
85 CFLAGS="%{l_cflags -O}" \ |
| 80 CPPFLAGS="%{l_cppflags} -DNOMINUM" \ |
86 CPPFLAGS="%{l_cppflags} -DNOMINUM" \ |
| 81 LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ |
87 LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ |
| 82 LIBS="%{l_fsl_libs}" \ |
88 LIBS="%{l_fsl_libs}" \ |
| 83 ./configure \ |
89 ./configure \ |
| 84 --prefix=%{l_prefix} \ |
90 --prefix=%{l_prefix} \ |
| 85 --mandir=%{l_prefix}/man \ |
91 --mandir=%{l_prefix}/man \ |
| 86 --sysconfdir=%{l_prefix}/etc/dhcpd \ |
92 --sysconfdir=%{l_prefix}/etc/dhcpd \ |
| 87 --localstatedir=%{l_prefix}/var/dhcpd \ |
93 --localstatedir=%{l_prefix}/var/dhcpd \ |
| |
94 --disable-dhcpv6 \ |
| 88 --with-srv-lease-file=%{l_prefix}/var/dhcpd/db/dhcpd.leases \ |
95 --with-srv-lease-file=%{l_prefix}/var/dhcpd/db/dhcpd.leases \ |
| 89 --with-cli-lease-file=%{l_prefix}/var/dhcpd/db/dhclient.leases \ |
96 --with-cli-lease-file=%{l_prefix}/var/dhcpd/db/dhclient.leases \ |
| 90 --with-srv-pid-file=%{l_prefix}/var/dhcpd/run/dhcpd.pid \ |
97 --with-srv-pid-file=%{l_prefix}/var/dhcpd/run/dhcpd.pid \ |
| 91 --with-cli-pid-file=%{l_prefix}/var/dhcpd/run/dhclient.pid \ |
98 --with-cli-pid-file=%{l_prefix}/var/dhcpd/run/dhclient.pid \ |
| 92 --with-relay-pid-file=%{l_prefix}/var/dhcpd/run/dhrelay.pid |
99 --with-relay-pid-file=%{l_prefix}/var/dhcpd/run/dhrelay.pid |