X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dhcp.spec;h=44f005ab4b89385091c4575f6fb3c31c3bcc64dd;hb=f7d75131f5e7d8dfd394ca85d63c2b8d4138b0f2;hp=96d18583d8b7249eaf9e9af965966a4a3d54986c;hpb=d5596430df3f1e923837b94a23a1ad3446481290;p=packages%2Fdhcp.git diff --git a/dhcp.spec b/dhcp.spec index 96d1858..44f005a 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -2,20 +2,19 @@ # Conditional build: %bcond_with ldap # with support for ldap storage # -%define _rc rc3 Summary: DHCP Server 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 +Version: 3.0.3 +Release: 2 Epoch: 3 Vendor: ISC License: distributable Group: Networking/Daemons -Source0: ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}%{_rc}.tar.gz -# Source0-md5: 7c5dd4587d0236275ddf026750513131 +Source0: ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}.tar.gz +# Source0-md5: f91416a0b8ed3fd0601688cf0b7df58f Source1: %{name}.init Source2: %{name}-relay.init Source3: %{name}-relay.sysconfig @@ -24,7 +23,6 @@ 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} @@ -124,12 +122,11 @@ 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 @@ -145,7 +142,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