4 |
Name: dhcp |
Name: dhcp |
5 |
Epoch: 3 |
Epoch: 3 |
6 |
Version: 4.2.2 |
Version: 4.2.2 |
7 |
Release: %mkrel 2 |
Release: %mkrel 3 |
8 |
License: Distributable |
License: Distributable |
9 |
Group: System/Servers |
Group: System/Servers |
10 |
URL: http://www.isc.org/software/dhcp |
URL: http://www.isc.org/software/dhcp |
23 |
Source14: dhcpd6.service |
Source14: dhcpd6.service |
24 |
Source15: dhcrelay.init |
Source15: dhcrelay.init |
25 |
Source16: dhcrelay.service |
Source16: dhcrelay.service |
26 |
# customize ifup script |
# mageia patches |
27 |
Patch0: dhcp-4.2.2-ifup.patch |
Patch100: dhcp-4.2.2-ifup.patch |
28 |
Patch5: dhcp-4.2.2-fix-format-errors.patch |
Patch101: dhcp-4.2.2-fix-format-errors.patch |
|
# (fc) 4.1.0-3mdv no IPv6 is no longer fatal for dhclient |
|
|
Patch6: dhcp-4.1.1-missing-ipv6-not-fatal.patch |
|
29 |
# prevents needless deassociation, working around mdv bug #43441 |
# prevents needless deassociation, working around mdv bug #43441 |
30 |
Patch7: dhcp-4.1.1-prevent_wireless_deassociation.patch |
Patch102: dhcp-4.1.1-prevent_wireless_deassociation.patch |
31 |
|
# fedora patches |
32 |
|
Patch8: dhcp-4.2.2-xen-checksum.patch |
33 |
|
Patch15: dhcp-4.2.2-missing-ipv6-not-fatal.patch |
34 |
|
Patch17: dhcp-4.2.0-add_timeout_when_NULL.patch |
35 |
|
Patch18: dhcp-4.2.1-64_bit_lease_parse.patch |
36 |
BuildRequires: groff-for-man |
BuildRequires: groff-for-man |
37 |
BuildRequires: openldap-devel |
BuildRequires: openldap-devel |
38 |
BuildRequires: bind-devel |
BuildRequires: bind-devel |
137 |
|
|
138 |
%prep |
%prep |
139 |
%setup -q |
%setup -q |
140 |
%patch0 -p1 -b .ifup |
%patch100 -p1 -b .ifup |
141 |
%patch5 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
%patch101 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
142 |
%patch6 -p1 -b .noipv6nonfatal |
%patch102 -p1 -b .prevent_wireless_deassociation |
143 |
%patch7 -p1 -b .prevent_wireless_deassociation |
|
144 |
|
# Handle Xen partial UDP checksums |
145 |
|
%patch8 -p1 -b .xen |
146 |
|
# If the ipv6 kernel module is missing, do not segfault |
147 |
|
# (Submitted to dhcp-bugs@isc.org - [ISC-Bugs #19367]) |
148 |
|
%patch15 -p1 -b .noipv6 |
149 |
|
# Handle cases in add_timeout() where the function is called with a NULL |
150 |
|
# value for the 'when' parameter |
151 |
|
%patch17 -p1 -b .dracut |
152 |
|
# Ensure 64-bit platforms parse lease file dates & times correctly |
153 |
|
%patch18 -p1 -b .64-bit_lease_parse |
154 |
|
|
155 |
install -m0644 %{SOURCE10} doc |
install -m0644 %{SOURCE10} doc |
156 |
|
|