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

97acb4
From ea5cb54ccbd2e165d135a01a1c0351eb6b994b82 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
97acb4
index 0069f1e4164f..88f8b72e8597 100644
fc9aca
--- a/docs/api/html/NetworkManager.conf.html
fc9aca
+++ b/docs/api/html/NetworkManager.conf.html
97acb4
@@ -193,7 +193,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.

97acb4
@@ -359,7 +359,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.

97acb4
@@ -675,7 +675,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

97acb4
@@ -771,7 +771,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
97acb4
index 63959c9fb14b..73ccd7073e27 100644
fc9aca
--- a/man/NetworkManager.conf.5
fc9aca
+++ b/man/NetworkManager.conf.5
97acb4
@@ -155,7 +155,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\&.
97acb4
@@ -281,7 +281,7 @@ that contains the original name servers pushed to the DNS plugin\&.
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
97acb4
@@ -668,7 +668,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
97acb4
@@ -768,7 +768,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
-- 
97acb4
2.21.0
fc9aca