
delete 1 unused patch Story: 2003389 Task: 24493 Change-Id: I22c522945380f4d2d956208d64cdd232b0f2739f Signed-off-by: slin14 <shuicheng.lin@intel.com>
80 lines
2.2 KiB
Diff
80 lines
2.2 KiB
Diff
From 7e7a9f1bce5884da1e57d5bdc4f5215b7231924e Mon Sep 17 00:00:00 2001
|
|
From: Scott Little <scott.little@windriver.com>
|
|
Date: Mon, 2 Oct 2017 15:25:05 -0400
|
|
Subject: [PATCH] WRS: spec-include-TiS-patches.patch
|
|
|
|
---
|
|
SPECS/dhcp.spec | 28 ++++++++++++++++++++++++++++
|
|
1 file changed, 28 insertions(+)
|
|
|
|
diff --git a/SPECS/dhcp.spec b/SPECS/dhcp.spec
|
|
index 14da097..904e3ad 100644
|
|
--- a/SPECS/dhcp.spec
|
|
+++ b/SPECS/dhcp.spec
|
|
@@ -39,6 +39,10 @@ Source8: dhcrelay.service
|
|
Source9: azure-cloud.sh
|
|
Source10: README.scripts
|
|
|
|
+# WRS
|
|
+Source20: dhclient-exit-hooks
|
|
+Source21: dhclient.conf
|
|
+
|
|
|
|
Patch0: dhcp-4.2.0-errwarn-message.patch
|
|
Patch1: dhcp-4.2.4-dhclient-options.patch
|
|
@@ -111,6 +115,14 @@ Patch70: dhcp-4.2.5-reference_count_overflow.patch
|
|
Patch71: dhcp-4.2.5-centos-branding.patch
|
|
|
|
|
|
+# WRS
|
|
+Patch101: support-disable-nsupdate.patch
|
|
+Patch102: dhclient-restrict-interfaces-to-command-line.patch
|
|
+Patch103: dhclient-ipv6-bind-to-interface.patch
|
|
+Patch104: dhclient-ipv6-conditionally-set-hostname.patch
|
|
+Patch105: dhclient-handle-wrs-install-uuid.patch
|
|
+Patch106: dhclient-dhcp6-wrs-install-uuid.patch
|
|
+
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libtool
|
|
@@ -439,6 +451,14 @@ rm -rf includes/isc-dhcp
|
|
%patch70 -p1 -b .reference_overflow
|
|
%patch71 -p1
|
|
|
|
+# WRS
|
|
+%patch101 -p1
|
|
+%patch102 -p1
|
|
+%patch103 -p1
|
|
+%patch104 -p1
|
|
+%patch105 -p1
|
|
+%patch106 -p1
|
|
+
|
|
# Update paths in all man pages
|
|
for page in client/dhclient.conf.5 client/dhclient.leases.5 \
|
|
client/dhclient-script.8 client/dhclient.8 ; do
|
|
@@ -582,6 +602,10 @@ EOF
|
|
# Don't package libtool *.la files
|
|
find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
|
|
|
|
+# WRS: Overwrite with our config
|
|
+%{__install} -p -m 0755 %{SOURCE20} %{buildroot}%{dhcpconfdir}/dhclient-exit-hooks
|
|
+%{__install} -p -m 0644 %{SOURCE21} %{buildroot}%{dhcpconfdir}/dhclient.conf
|
|
+
|
|
%pre
|
|
# /usr/share/doc/setup/uidgid
|
|
%global gid_uid 177
|
|
@@ -697,6 +721,10 @@ done
|
|
%attr(0644,root,root) %{_mandir}/man8/dhclient.8.gz
|
|
%attr(0644,root,root) %{_mandir}/man8/dhclient-script.8.gz
|
|
|
|
+# WRS
|
|
+%{dhcpconfdir}/dhclient-exit-hooks
|
|
+%{dhcpconfdir}/dhclient.conf
|
|
+
|
|
%files common
|
|
%doc LICENSE README RELNOTES doc/References.txt
|
|
%attr(0644,root,root) %{_mandir}/man5/dhcp-options.5.gz
|
|
--
|
|
2.7.4
|
|
|