From 51b791c497507a4119f7829b093cb66b76d1a350 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 20 Dec 2018 19:00:21 -0500 Subject: Patch out references to macOS in the man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Debian isn’t macOS; our man pages don’t need to cover hostname(1)’s foibles there. --- debian/patches/macos.patch | 52 ++++++++++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 53 insertions(+) create mode 100644 debian/patches/macos.patch 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 +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 -- cgit v1.2.3