Blame SOURCES/9999-fix-pregen-doc.patch

2804ca
From 7c94c0568e3c4a4db49f2a99ff297f7b3efe84e4 Mon Sep 17 00:00:00 2001
2804ca
From: Thomas Haller <thaller@redhat.com>
2804ca
Date: Mon, 18 Jun 2018 14:01:36 +0200
013a0d
Subject: [PATCH] patch documentation with the proper default values
fc9aca
fc9aca
We don't regenerate the documentation for RHEL builds, but
fc9aca
the docs from the tarball are generated with a certain set
fc9aca
of defaults.
fc9aca
fc9aca
Patch the man pages with the proper values.
fc9aca
---
2804ca
 docs/api/html/NetworkManager.conf.html | 8 ++++----
2804ca
 man/NetworkManager.conf.5              | 8 ++++----
2804ca
 2 files changed, 8 insertions(+), 8 deletions(-)
fc9aca
fc9aca
diff --git a/docs/api/html/NetworkManager.conf.html b/docs/api/html/NetworkManager.conf.html
2804ca
index ae2b1081e..6e5282b2a 100644
fc9aca
--- a/docs/api/html/NetworkManager.conf.html
fc9aca
+++ b/docs/api/html/NetworkManager.conf.html
2804ca
@@ -180,7 +180,7 @@ plugins-=remove-me
fc9aca
         clients to be installed. The internal
fc9aca
         option uses a built-in DHCP client which is not currently as
fc9aca
         featureful as the external clients.

fc9aca
-

If this key is missing, it defaults to internal.

fc9aca
+

If this key is missing, it defaults to dhclient.

fc9aca
         It the chosen plugin is not available, clients are looked for
fc9aca
         in this order: dhclient, dhcpcd,
fc9aca
         internal.

2804ca
@@ -339,7 +339,7 @@ no-auto-default=*
fc9aca
 

Set the resolv.conf

fc9aca
         management mode. The default value depends on NetworkManager build
fc9aca
         options, and this version of NetworkManager was build with a default of
fc9aca
-        "symlink".
fc9aca
+        "file".
fc9aca
         Regardless of this setting, NetworkManager will
fc9aca
         always write resolv.conf to its runtime state directory
fc9aca
         /var/run/NetworkManager/resolv.conf.

2804ca
@@ -625,7 +625,7 @@ ipv6.ip6-privacy=0
fc9aca
 
fc9aca
 
fc9aca
 

ethernet.cloned-mac-address

fc9aca
-

If left unspecified, it defaults to "preserve".

fc9aca
+

If left unspecified, it defaults to "permanent".

fc9aca
 
fc9aca
 
fc9aca
 

ethernet.generate-mac-address-mask

2804ca
@@ -703,7 +703,7 @@ ipv6.ip6-privacy=0
fc9aca
 
fc9aca
 
fc9aca
 

wifi.cloned-mac-address

fc9aca
-

If left unspecified, it defaults to "preserve".

fc9aca
+

If left unspecified, it defaults to "permanent".

fc9aca
 
fc9aca
 
fc9aca
 

wifi.generate-mac-address-mask

fc9aca
diff --git a/man/NetworkManager.conf.5 b/man/NetworkManager.conf.5
2804ca
index 26b31e1bd..058177719 100644
fc9aca
--- a/man/NetworkManager.conf.5
fc9aca
+++ b/man/NetworkManager.conf.5
2804ca
@@ -145,7 +145,7 @@ internal
fc9aca
 option uses a built\-in DHCP client which is not currently as featureful as the external clients\&.
fc9aca
 .sp
fc9aca
 If this key is missing, it defaults to
fc9aca
-internal\&. It the chosen plugin is not available, clients are looked for in this order:
fc9aca
+dhclient\&. It the chosen plugin is not available, clients are looked for in this order:
fc9aca
 dhclient,
fc9aca
 dhcpcd,
fc9aca
 internal\&.
2804ca
@@ -254,7 +254,7 @@ rc\-manager\ \&unmanaged
fc9aca
 .RS 4
fc9aca
 Set the
fc9aca
 resolv\&.conf
fc9aca
-management mode\&. The default value depends on NetworkManager build options, and this version of NetworkManager was build with a default of "symlink"\&. Regardless of this setting, NetworkManager will always write resolv\&.conf to its runtime state directory
fc9aca
+management mode\&. The default value depends on NetworkManager build options, and this version of NetworkManager was build with a default of "file"\&. Regardless of this setting, NetworkManager will always write resolv\&.conf to its runtime state directory
fc9aca
 /var/run/NetworkManager/resolv\&.conf\&.
fc9aca
 .sp
fc9aca
 symlink: If
2804ca
@@ -607,7 +607,7 @@ If left unspecified, the default value is 3 tries before failing the connection\
fc9aca
 .PP
fc9aca
 \fIethernet\&.cloned\-mac\-address\fR
fc9aca
 .RS 4
fc9aca
-If left unspecified, it defaults to "preserve"\&.
fc9aca
+If left unspecified, it defaults to "permanent"\&.
fc9aca
 .RE
fc9aca
 .PP
fc9aca
 \fIethernet\&.generate\-mac\-address\-mask\fR
2804ca
@@ -688,7 +688,7 @@ If left unspecified, default value of 60 seconds is used\&.
fc9aca
 .PP
fc9aca
 \fIwifi\&.cloned\-mac\-address\fR
fc9aca
 .RS 4
fc9aca
-If left unspecified, it defaults to "preserve"\&.
fc9aca
+If left unspecified, it defaults to "permanent"\&.
fc9aca
 .RE
fc9aca
 .PP
fc9aca
 \fIwifi\&.generate\-mac\-address\-mask\fR
fc9aca
-- 
2804ca
2.17.0
fc9aca