]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp.spec
- build with USE_SOCKET_FALLBACK. Without that dhcp-relay always uses the last interf...
[packages/dhcp.git] / dhcp.spec
index 3655b0c4038b84cd8024d0c2a342e4a07ba68a53..b49fdb9df80948a8738ca138536f95e9ed2a5cf9 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -2,20 +2,19 @@
 # Conditional build:
 %bcond_with    ldap    # with support for ldap storage
 #
-%define        _rc     rc1
 Summary:       DHCP Server
-Summary(es):   Servidor DHCP (Protocolo de configuración dinámica de hosts)
+Summary(es):   Servidor DHCP
 Summary(pl):   Serwer DHCP
 Summary(pt_BR):        Servidor DHCP (Protocolo de configuração dinâmica de hosts)
 Name:          dhcp
 Version:       3.0.2
-Release:       0.%{_rc}.1
+Release:       2.1
 Epoch:         3
 Vendor:                ISC
 License:       distributable
 Group:         Networking/Daemons
-Source0:       ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}%{_rc}.tar.gz
-# Source0-md5: 943b1d8f7f6ffccf522490566acf0b3e
+Source0:       ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}.tar.gz
+# Source0-md5: 04800a111521e7442749b2ce883f962b
 Source1:       %{name}.init
 Source2:       %{name}-relay.init
 Source3:       %{name}-relay.sysconfig
@@ -24,6 +23,7 @@ Source5:      %{name}.sysconfig
 Patch0:                %{name}-if_buffer_size.patch
 Patch1:                %{name}-ldap.patch
 Patch2:                %{name}-ldap1.patch
+Patch3:                %{name}-gcc343-fix.patch
 URL:           http://www.isc.org/sw/dhcp/
 BuildRequires: groff
 %{?with_ldap:BuildRequires:    openldap-devel}
@@ -45,8 +45,7 @@ DHCP permite que hosts en una red TCP/IP soliciten y tengan sus
 direcciones IP alocadas dinámicamente, permite también descubrir
 información sobre la red en que están conectados. BOOTP provee una
 funcionalidad similar, con ciertas restricciones. Este servidor
-también las atiende. Esta versión aún está considerada como un
-software BETA.
+también las atiende.
 
 %description -l pl
 Serwer DHCP (Dynamic Host Configuration Protocol).
@@ -70,6 +69,7 @@ Summary(pl):  Klient DHCP
 Group:         Networking/Daemons
 Requires(post):        fileutils
 Obsoletes:     pump
+Obsoletes:     dhclient
 
 %description client
 Dynamic Host Configuration Protocol Client.
@@ -123,11 +123,12 @@ dhcpctl to zbi
 komunikacji z dzia³aj±cym serwerem ISC DHCP i jego kontroli.
 
 %prep
-%setup -q -n %{name}-%{version}%{_rc}
+%setup -q
 install %{SOURCE4} .
 %patch0 -p1
 %{?with_ldap:%patch1 -p1}
 %{?with_ldap:%patch2 -p1}
+%patch3 -p1
 
 cd doc
 echo "dhcpd complies with the following RFCs:" > rfc-compliance
@@ -143,7 +144,8 @@ cd ..
 %{__make} \
        COPTS="%{rpmcflags} \
        -D_PATH_DHCPD_DB=\\\"/var/lib/%{name}/dhcpd.leases\\\" \
-       -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\"" \
+       -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\" \
+       -DUSE_SOCKET_FALLBACK" \
        DEBUG="" VARDB="/var/lib/%{name}"
 
 %install
This page took 0.030925 seconds and 4 git commands to generate.