1 |
%define _catdir /var/cache/man |
%define _catdir /var/cache/man |
2 |
|
|
3 |
%define oversion 4.2.3-P2 |
%define major_version 4.2.3 |
4 |
|
%define patch_version P2 |
5 |
|
|
|
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client |
|
6 |
Name: dhcp |
Name: dhcp |
7 |
Epoch: 3 |
Epoch: 3 |
8 |
Version: %(tr - _ <<< %oversion) |
Version: %{major_version}%{patch_version} |
9 |
Release: %mkrel 1 |
Release: %mkrel 1 |
10 |
|
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}/%{oversion}/%{name}-%{oversion}.tar.gz |
Source0: ftp://ftp.isc.org/isc/%{name}/%{major_version}/%{name}-%{major_version}-%{patch_version}.tar.gz |
15 |
Source1: ftp://ftp.isc.org/isc/%{name}/%{oversion}/%{name}-%{oversion}.tar.gz.sha512.asc |
Source1: ftp://ftp.isc.org/isc/%{name}/%{major_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 |
139 |
Internet Software Consortium (ISC) dhcpctl API. |
Internet Software Consortium (ISC) dhcpctl API. |
140 |
|
|
141 |
%prep |
%prep |
142 |
%setup -q -n %name-%oversion |
%setup -q -n %{name}-%{major_version}-%{patch_version} |
143 |
%patch100 -p1 -b .ifup |
%patch100 -p1 -b .ifup |
144 |
%patch101 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
%patch101 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
145 |
%patch102 -p1 -b .prevent_wireless_deassociation |
%patch102 -p1 -b .prevent_wireless_deassociation |