]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- -DUSE_SOCKET_FALLBACK already in osdeps.h auto/th/dhcp-3_1_0a1-0_5
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Nov 2006 17:53:37 +0000 (17:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcp.spec -> 1.124

dhcp.spec

index 79a32df9f7e245c3473f863977c1602c7fea9951..96b688b92717809f747cbfd65a25d23e08c2996d 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -1,7 +1,6 @@
 #
 # Conditional build:
 %bcond_with    ldap    # with support for ldap storage
-%bcond_with    socket_fallback # add support so dhcp is able to work on kernels without CONFIG_PACKET (Packet socket) and CONFIG_FILTER (Socket Filtering) 
 #
 Summary:       DHCP Server
 Summary(es):   Servidor DHCP
@@ -139,8 +138,7 @@ install %{SOURCE4} .
 %patch6 -p1
 
 %build
-# Notice: this is not autoconf configure!!!!!!!
-#         do not change it to %%configure
+# NOTE: this is not autoconf configure - do not change it to %%configure
 ./configure
 
 %{__make} \
@@ -149,7 +147,6 @@ install %{SOURCE4} .
                -D_PATH_DHCPD_DB=\\\"/var/lib/%{name}/dhcpd.leases\\\" \
                -DEXTENDED_NEW_OPTION_INFO \
                -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\" \
-               %{?with_socket_fallback:-DUSE_SOCKET_FALLBACK} \
        "
        LFLAGS="%{rpmldflags}" \
        DEBUG="" \
@@ -195,9 +192,6 @@ rm -rf $RPM_BUILD_ROOT
 %post
 /sbin/chkconfig --add dhcpd
 touch /var/lib/%{name}/dhcpd.leases
-if [ ! -d /var/lib/dhcp ]; then
-       install -d /var/lib/dhcp
-fi
 %service dhcpd restart "dhcpd daemon"
 
 %preun
@@ -207,6 +201,7 @@ if [ "$1" = "0" ];then
 fi
 
 %post client
+# TODO: fix this
 if [ ! -d /var/lib/dhcp ]; then
        install -d /var/lib/dhcp
 fi
This page took 0.034465 seconds and 4 git commands to generate.