summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@debian.org>2018-12-20 19:00:21 -0500
committerGravatar Benjamin Barenblat <bbaren@debian.org>2018-12-20 19:26:13 -0500
commit51b791c497507a4119f7829b093cb66b76d1a350 (patch)
treeb183d39fe905b43e03b2dae4ca36f5958572ebdc
parentb5fddb95f27836953f89f10ccd36da95d3586d08 (diff)
Patch out references to macOS in the man pages
Debian isn’t macOS; our man pages don’t need to cover hostname(1)’s foibles there.
-rw-r--r--debian/patches/macos.patch52
-rw-r--r--debian/patches/series1
2 files changed, 53 insertions, 0 deletions
diff --git a/debian/patches/macos.patch b/debian/patches/macos.patch
new file mode 100644
index 0000000..b17977b
--- /dev/null
+++ b/debian/patches/macos.patch
@@ -0,0 +1,52 @@
+From: Benjamin Barenblat <bbaren@debian.org>
+Subject: Remove references to macOS from documentation
+Forwarded: not-needed
+--- a/man/lsrc.1
++++ b/man/lsrc.1
+@@ -181,16 +181,6 @@
+ and
+ .Lk http://thoughtbot.se thoughtbot
+ .Sh BUGS
+-For macOS systems, we strongly encourage the use of the
+-.Va HOSTNAME
+-variable in your
+-.Xr rcrc 5 .
+-We use the
+-.Xr hostname 1
+-program to determine the unique identifier for the host. This program is
+-not specified by POSIX and can vary by system. On macOS the hostname is
+-unpredictable, and can even change as part of the DHCP handshake.
+-.Pp
+ There are a few bugs around shell globs. Anything involving an exclude
+ pattern is unpredictable, so use
+ .Fl v
+--- a/man/rcm.7.mustache
++++ b/man/rcm.7.mustache
+@@ -244,10 +244,6 @@
+ flag.
+ .Pp
+ .Dl mkrc -B eggplant .rcrc
+-.Pp
+-macOS users should see the
+-.Sx BUGS
+-section for more details.
+ .
+ .Sh STANDALONE INSTALLATION SCRIPT
+ .
+@@ -301,16 +297,6 @@
+ .An "Mike Burns" Aq Mt mburns@thoughtbot.com
+ and
+ .Lk http://thoughtbot.se thoughtbot
+-.Sh BUGS
+-For macOS systems, we strongly encourage the use of the
+-.Va HOSTNAME
+-variable in your
+-.Xr rcrc 5 .
+-We use the
+-.Xr hostname 1
+-program to determine the unique identifier for the host. This program is
+-not specified by POSIX and can vary by system. On macOS, the hostname is
+-unpredictable, and can even change as part of the DHCP handshake.
+ .Sh CONTRIBUTORS
+ .An -split
+ {{#contributors}}
diff --git a/debian/patches/series b/debian/patches/series
index df41c62..f3a1eda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
contributors.patch
+macos.patch