Author: glen                         Date: Wed Nov  1 17:51:17 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add socket fallback bcond

---- Files affected:
SPECS:
   dhcp.spec (1.122 -> 1.123) 

---- Diffs:

================================================================
Index: SPECS/dhcp.spec
diff -u SPECS/dhcp.spec:1.122 SPECS/dhcp.spec:1.123
--- SPECS/dhcp.spec:1.122       Thu Oct 26 14:08:04 2006
+++ SPECS/dhcp.spec     Wed Nov  1 18:51:12 2006
@@ -2,6 +2,7 @@
 #
 # 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
@@ -9,7 +10,7 @@
 Summary(pt_BR):        Servidor DHCP (Protocolo de configuraçăo dinâmica de 
hosts)
 Name:          dhcp
 Version:       3.1.0a1
-Release:       0.3
+Release:       0.5
 Epoch:         3
 License:       distributable
 Group:         Networking/Daemons
@@ -146,9 +147,11 @@
 %{__make} \
        CC="%{__cc}" \
        CC_OPTIONS="%{rpmcflags} \
-       -D_PATH_DHCPD_DB=\\\"/var/lib/%{name}/dhcpd.leases\\\" \
-       -DEXTENDED_NEW_OPTION_INFO \
-       -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\" " \
+               -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="" \
        VARDB="/var/lib/%{name}"
@@ -272,6 +275,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.123  2006/11/01 17:51:12  glen
+- add socket fallback bcond
+
 Revision 1.122  2006/10/26 12:08:04  baggins
 - another obvious fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dhcp.spec?r1=1.122&r2=1.123&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to