1 |
%define _catdir /var/cache/man |
%define _catdir /var/cache/man |
2 |
|
|
3 |
%define major_version 4.2.5 |
%define major_version 4.3.0 |
4 |
%define patch_version P1 |
%define patch_version %{nil} |
5 |
|
|
6 |
Name: dhcp |
Name: dhcp |
7 |
Epoch: 3 |
Epoch: 3 |
8 |
Version: %{major_version}%{patch_version} |
Version: %{major_version}%{patch_version} |
9 |
Release: %mkrel 2 |
Release: %mkrel 1 |
10 |
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client |
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client |
11 |
License: Distributable |
License: Distributable |
12 |
Group: System/Servers |
Group: System/Servers |
13 |
URL: http://www.isc.org/software/dhcp |
URL: http://www.isc.org/software/dhcp |
14 |
Source0: ftp://ftp.isc.org/isc/%{name}/%{major_version}-%{patch_version}/%{name}-%{major_version}-%{patch_version}.tar.gz |
Source0: ftp://ftp.isc.org/isc/%{name}/%{major_version}%{patch_version}/%{name}-%{major_version}%{patch_version}.tar.gz |
15 |
Source1: ftp://ftp.isc.org/isc/%{name}/%{major_version}-%{patch_version}/%{name}-%{major_version}-%{patch_version}.tar.gz.sha512.asc |
Source1: ftp://ftp.isc.org/isc/%{name}/%{major_version}%{patch_version}/%{name}-%{major_version}%{patch_version}.tar.gz.sha512.asc |
16 |
Source2: dhcpd.conf |
Source2: dhcpd.conf |
17 |
Source4: dhcp-dynamic-dns-examples.tar.bz2 |
Source4: dhcp-dynamic-dns-examples.tar.bz2 |
18 |
Source7: dhcpreport.pl |
Source7: dhcpreport.pl |
37 |
Patch8: dhcp-4.2.2-xen-checksum.patch |
Patch8: dhcp-4.2.2-xen-checksum.patch |
38 |
Patch15: dhcp-4.2.2-missing-ipv6-not-fatal.patch |
Patch15: dhcp-4.2.2-missing-ipv6-not-fatal.patch |
39 |
Patch17: dhcp-4.2.0-add_timeout_when_NULL.patch |
Patch17: dhcp-4.2.0-add_timeout_when_NULL.patch |
40 |
Patch18: dhcp-4.2.4-64_bit_lease_parse.patch |
Patch18: dhcp-4.3.0-64_bit_lease_parse.patch |
41 |
BuildRequires: groff-for-man |
BuildRequires: groff-for-man |
42 |
BuildRequires: openldap-devel |
BuildRequires: openldap-devel |
43 |
Requires(post): rpm-helper >= 0.24.8-1 |
Requires(post): rpm-helper >= 0.24.8-1 |
145 |
Internet Software Consortium (ISC) dhcpctl API. |
Internet Software Consortium (ISC) dhcpctl API. |
146 |
|
|
147 |
%prep |
%prep |
148 |
%setup -q -n %{name}-%{major_version}-%{patch_version} |
%setup -q -n %{name}-%{major_version}%{patch_version} |
149 |
%patch100 -p1 -b .ifup |
%patch100 -p1 -b .ifup |
150 |
%patch101 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
%patch101 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
151 |
%patch102 -p1 -b .prevent_wireless_deassociation |
%patch102 -p1 -b .prevent_wireless_deassociation |