aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2015-04-26 03:18:45 +0100
committerMike McQuaid2015-06-14 13:20:07 +0100
commit696d7f3ba0c38f4dff8e7361ea1199a77ddb881a (patch)
treef84ebd08f45870a91ed85140ef0aa444fa28acdf
parent794b08fc0df9c5327f77d44ad4727086bb563a19 (diff)
downloadbrew-696d7f3ba0c38f4dff8e7361ea1199a77ddb881a.tar.bz2
manpages: document new environmental variable
Closes Homebrew/homebrew#38835. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Homebrew/manpages/brew.1.md11
-rw-r--r--share/man/man1/brew.110
2 files changed, 21 insertions, 0 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md
index a77f0f7e8..553e24619 100644
--- a/Library/Homebrew/manpages/brew.1.md
+++ b/Library/Homebrew/manpages/brew.1.md
@@ -585,6 +585,17 @@ can take several different forms:
*Note:* Homebrew will only try to print emoji on Lion or newer.
+ * HOMEBREW\_NO\_INSECURE\_REDIRECT:
+ If set, Homebrew will not permit redirects from secure HTTPS
+ to insecure HTTP.
+
+ While ensuring your downloads are fully secure, this is likely
+ to cause from-source Sourceforge & GNOME based formulae
+ to fail to download.
+
+ Apache formulae are currently unaffected by this variable and
+ can redirect to plaintext.
+
* HOMEBREW\_NO\_GITHUB\_API:
If set, Homebrew will not use the GitHub API for e.g searches or
fetching relevant issues on a failed install.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 305a41d20..9e79852b4 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -614,6 +614,16 @@ If set, Homebrew will not print the \fBHOMEBREW_INSTALL_BADGE\fR on a successful
\fINote:\fR Homebrew will only try to print emoji on Lion or newer\.
.
.TP
+HOMEBREW_NO_INSECURE_REDIRECT
+If set, Homebrew will not permit redirects from secure HTTPS to insecure HTTP\.
+.
+.IP
+While ensuring your downloads are fully secure, this is likely to cause from\-source Sourceforge & GNOME based formulae to fail to download\.
+.
+.IP
+Apache formulae are currently unaffected by this variable and can redirect to plaintext\.
+.
+.TP
HOMEBREW_NO_GITHUB_API
If set, Homebrew will not use the GitHub API for e\.g searches or fetching relevant issues on a failed install\.
.