From 696d7f3ba0c38f4dff8e7361ea1199a77ddb881a Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sun, 26 Apr 2015 03:18:45 +0100 Subject: [PATCH] manpages: document new environmental variable Closes Homebrew/homebrew#38835. Signed-off-by: Mike McQuaid --- Library/Homebrew/manpages/brew.1.md | 11 +++++++++++ share/man/man1/brew.1 | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index a77f0f7e86..553e246190 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 305a41d209..9e79852b4f 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\. .