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

fc9aca
From 7ead660da136cbfd56a63a960a0eaead64b3f819 Mon Sep 17 00:00:00 2001
fc9aca
From: Thomas Haller <thaller@redhat.com>
fc9aca
Date: Fri, 19 Aug 2016 10:58:53 +0200
fc9aca
Subject: [PATCH 1/1] 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
---
fc9aca
 docs/api/html/NetworkManager.conf.html              | 21 ++++++++++++++++-----
fc9aca
 ...gdbus-org.freedesktop.NetworkManager.Device.html | 15 +++++++++++++++
fc9aca
 man/NetworkManager.conf.5                           | 19 ++++++++++++++-----
fc9aca
 3 files changed, 45 insertions(+), 10 deletions(-)
fc9aca
fc9aca
diff --git a/docs/api/html/NetworkManager.conf.html b/docs/api/html/NetworkManager.conf.html
fc9aca
index b43f5ac56..a57e46ebe 100644
fc9aca
--- a/docs/api/html/NetworkManager.conf.html
fc9aca
+++ b/docs/api/html/NetworkManager.conf.html
fc9aca
@@ -183,7 +183,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.

fc9aca
@@ -338,7 +338,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.

fc9aca
@@ -396,6 +396,17 @@ no-auto-default=*
fc9aca
             times.
fc9aca
           

fc9aca
 
fc9aca
+
fc9aca
+

slaves-order

fc9aca
+

fc9aca
+            This key specifies in which order slave connections are
fc9aca
+            auto-activated on boot or when the master activates
fc9aca
+            them. Allowed values are name (order
fc9aca
+            connection by interface name, the default), or
fc9aca
+            index (order slaves by their kernel
fc9aca
+            index).
fc9aca
+          

fc9aca
+
fc9aca
 
fc9aca
 
fc9aca
 
fc9aca
@@ -601,7 +612,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

fc9aca
@@ -609,7 +620,7 @@ ipv6.ip6-privacy=0
fc9aca
 
fc9aca
 
fc9aca
 

ethernet.mtu

fc9aca
-

If configured explicitly to 0, the MTU is not reconfigured during device activation unless it is required due to IPv6 constraints. If left unspecified, a DHCP/IPv6 SLAAC provided value is used or a default of 1500.

fc9aca
+

If configured explicitly to 0, the MTU is not reconfigured during device activation unless it is required due to IPv6 constraints. If left unspecified, a DHCP/IPv6 SLAAC provided value is used or the MTU is not reconfigured during activation.

fc9aca
 
fc9aca
 
fc9aca
 

ethernet.wake-on-lan

fc9aca
@@ -652,7 +663,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/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
fc9aca
index b46b05ed6..229f11b40 100644
fc9aca
--- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
fc9aca
+++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html
fc9aca
@@ -250,6 +250,9 @@ Udi  readable   s
fc9aca
         for a way to track a specific piece of hardware across reboot or hotplug,
fc9aca
         use a MAC address or USB serial number.
fc9aca
 

fc9aca
+

Note that non-UTF-8 characters are backslash escaped. Use g_strcompress()

fc9aca
+        to obtain the true (non-UTF-8) string.
fc9aca
+

fc9aca
 
fc9aca
 
fc9aca
 
fc9aca
@@ -258,6 +261,9 @@ Udi  readable   s
fc9aca
 Interface  readable   s
fc9aca
 
fc9aca
 

The name of the device's control (and often data) interface.

fc9aca
+        Note that non UTF-8 characters are backslash escaped, so the
fc9aca
+        resulting name may be longer then 15 characters. Use g_strcompress()
fc9aca
+        to revert the escaping.
fc9aca
 

fc9aca
 
fc9aca
 
fc9aca
@@ -270,6 +276,9 @@ IpInterface  readable   s
fc9aca
         not refer to the actual data interface until the device has successfully
fc9aca
         established a data connection, indicated by the device's State becoming
fc9aca
         ACTIVATED.
fc9aca
+        Note that non UTF-8 characters are backslash escaped, so the
fc9aca
+        resulting name may be longer then 15 characters. Use g_strcompress()
fc9aca
+        to revert the escaping.
fc9aca
 

fc9aca
 
fc9aca
 
fc9aca
@@ -279,6 +288,8 @@ IpInterface  readable   s
fc9aca
 Driver  readable   s
fc9aca
 
fc9aca
 

The driver handling the device.

fc9aca
+        Non-UTF-8 sequences are backslash escaped. Use g_strcompress()
fc9aca
+        to revert.
fc9aca
 

fc9aca
 
fc9aca
 
fc9aca
@@ -288,6 +299,8 @@ Driver  readable   s
fc9aca
 DriverVersion  readable   s
fc9aca
 
fc9aca
 

The version of the driver handling the device.

fc9aca
+        Non-UTF-8 sequences are backslash escaped. Use g_strcompress()
fc9aca
+        to revert.
fc9aca
 

fc9aca
 
fc9aca
 
fc9aca
@@ -297,6 +310,8 @@ DriverVersion  readable   s
fc9aca
 FirmwareVersion  readable   s
fc9aca
 
fc9aca
 

The firmware version for the device.

fc9aca
+        Non-UTF-8 sequences are backslash escaped. Use g_strcompress()
fc9aca
+        to revert.
fc9aca
 

fc9aca
 
fc9aca
 
fc9aca
diff --git a/man/NetworkManager.conf.5 b/man/NetworkManager.conf.5
fc9aca
index 339a106de..3809de066 100644
fc9aca
--- a/man/NetworkManager.conf.5
fc9aca
+++ b/man/NetworkManager.conf.5
fc9aca
@@ -144,7 +144,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\&.
fc9aca
@@ -252,7 +252,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
fc9aca
@@ -295,6 +295,15 @@ The number of times a connection activation should be automatically tried before
fc9aca
 connection\&.autoconnect\-retries
fc9aca
 property set to \-1\&. If not specified, connections will be retried 4 times\&.
fc9aca
 .RE
fc9aca
+.PP
fc9aca
+\fIslaves\-order\fR
fc9aca
+.RS 4
fc9aca
+This key specifies in which order slave connections are auto\-activated on boot or when the master activates them\&. Allowed values are
fc9aca
+name
fc9aca
+(order connection by interface name, the default), or
fc9aca
+index
fc9aca
+(order slaves by their kernel index)\&.
fc9aca
+.RE
fc9aca
 .SH "KEYFILE SECTION"
fc9aca
 .PP
fc9aca
 This section contains keyfile\-plugin\-specific options, and is normally only used when you are not using any other distro\-specific plugin\&.
fc9aca
@@ -584,7 +593,7 @@ for details)\&. A default value is only consulted if the corresponding per\-conn
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
fc9aca
@@ -593,7 +602,7 @@ If left unspecified, it defaults to "preserve"\&.
fc9aca
 .PP
fc9aca
 \fIethernet\&.mtu\fR
fc9aca
 .RS 4
fc9aca
-If configured explicitly to 0, the MTU is not reconfigured during device activation unless it is required due to IPv6 constraints\&. If left unspecified, a DHCP/IPv6 SLAAC provided value is used or a default of 1500\&.
fc9aca
+If configured explicitly to 0, the MTU is not reconfigured during device activation unless it is required due to IPv6 constraints\&. If left unspecified, a DHCP/IPv6 SLAAC provided value is used or the MTU is not reconfigured during activation\&.
fc9aca
 .RE
fc9aca
 .PP
fc9aca
 \fIethernet\&.wake\-on\-lan\fR
fc9aca
@@ -641,7 +650,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
-- 
fc9aca
2.13.0
fc9aca