Mike McQuaid
d7fbcc6211
Merge pull request #3190 from MikeMcQuaid/curl_https_fix
...
development_tools: fix curl https handling.
2017-09-23 10:58:10 +01:00
ilovezfs
352a8817e9
superenv: more help for Autotools with 10.13 SDK on 10.12
...
Add fmemopen and open_memstream to the list of ac_cv_func_*=no symbols
for 10.12 with the 10.13 SDK.
2017-09-22 17:10:40 -07:00
Mike McQuaid
0e766d00a5
development_tools: fix curl https handling.
...
`curl` can handle modern certificates _unless_ it is too old. This
broke `brew audit`'s HTTPS detection code.
2017-09-22 16:02:09 +01:00
Mike McQuaid
7d720e8fac
Merge pull request #3164 from MikeMcQuaid/portable-ruby-2.3.3
...
Upgrade vendored Ruby to 2.3.3.
2017-09-21 15:32:41 +01:00
Mike McQuaid
b2b413165f
Upgrade vendored Ruby to 2.3.3.
...
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux
portable Ruby for now until it's built to be the same version.
2017-09-21 14:27:17 +01:00
ilovezfs
733d485065
superenv: help Autotools with 10.13 SDK on 10.12
...
The GNU Autotools tests for whether futimens and utimensat are available
reliably come to incorrect conclusions on 10.12 with the 10.13 SDK in
Xcode 9. This overrides its decisions by forcing the right answer
in superenv using ac_cv_func_* environment variables and setting them to
"no" on 10.12.
2017-09-21 04:11:34 -07:00
Shaun Jackman
8bb57187ab
locate: Suppress stderr
...
Suppress the error message:
xcrun: error: unable to find utility "gcc-4.0", not a developer tool or in PATH
2017-09-20 13:25:37 -07:00
Mike McQuaid
ffdda0eb9f
Tweaks for older Mac OS X versions.
...
- `brew update` should try to install `curl` before `git` on older
versions of Mac OS X where it is needed for accessing modern SSL
certificates.
- We don't need an HTTP mirror for `git` because `curl` will already be
installed before it is downloaded.
- Don't recommend GCC on Mac OS X versions where it can't be built with
the default system compiler.
- Start using the Homebrew `curl` on Mac OS X versions where it is
needed as soon as it is installed.
2017-09-16 12:41:08 +01:00
Mike McQuaid
e12d2746b6
os/mac/diagnostic: allow custom Ruby for devs.
...
This avoids `brew doctor` warnings on High Sierra but in general this is
a good idea for future versions and to allow Homebrew developers to test
things out with different versions of Ruby.
2017-09-15 08:06:58 +01:00
ilovezfs
a4c5e64da4
Revert "mach: Avoid reopening the file for relocation"
2017-09-08 12:32:32 -07:00
William Woodruff
a77a1f949a
Merge pull request #3101 from woodruffw/macho-use-object
...
mach: Avoid reopening the file for relocation
2017-09-08 14:30:23 -04:00
Dominyk Tiller
9899a5d0a8
mac/hardware/cpu: recognise Kaby Lake
...
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.
2017-09-05 03:16:18 +01:00
William Woodruff
18115f0639
mach: Avoid reopening the file for relocation
...
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-08-28 19:05:12 -04:00
Mike McQuaid
93051b27d6
formula_cellar_checks: fix broken dylib spacing.
2017-08-08 11:08:35 +01:00
Mike McQuaid
69799d97b1
formula_cellar_checks: remove stray backtick.
2017-08-07 11:48:45 +01:00
Mike McQuaid
0950d1f195
Merge pull request #3017 from MikeMcQuaid/reinstall_broken_bottles
...
formula_cellar_checks: reinstall broken bottles.
2017-08-07 11:45:15 +01:00
Mike McQuaid
5327b304a6
Merge pull request #2998 from andrewyatz/bugfix/pkgconfiglibdir
...
Bugfix/pkgconfiglibdir
2017-08-07 11:44:58 +01:00
Mike McQuaid
e2070780f1
formula_cellar_checks: reinstall broken bottles.
...
If we pour from a bottle and then immediately know it’s broken then
we should tell users how to resolve their issue and where to file a
issue to.
Inspired by https://github.com/Homebrew/homebrew-core/issues/16477 .
2017-08-07 11:21:55 +01:00
Andrew Yates
9b5a3b80bf
Incorrect - added
...
I added an extra un-wanted - into the pkgconfig path. Now removed
2017-08-07 11:20:56 +01:00
Andrew Yates
365c55573b
Moving /usr/lib/pkg-config to be first
...
Ensuring old functionality still happens and /usr/lib/pkg-config is the first location found in macOS.
2017-08-03 17:22:18 +01:00
Andrew Yates
19cfcc34ef
Adding in "/usr/lib/pkg-config"
...
Moving "/usr/lib/pkg-config" into the pkg-path path
2017-08-03 10:46:12 +01:00
Jan Viljanen
85da376233
audit: add additional php header ignore patterns
2017-08-03 06:13:15 +02:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
constXife
4f5643a676
Fix undefined variable ruby_version
2017-06-06 13:45:09 +07:00
Markus Reiter
2d6ae61314
Re-revert "Fix operator spacing."
2017-06-02 19:22:05 +02:00
ilovezfs
197392b56d
Revert "Fix operator spacing."
2017-06-01 04:06:40 -07:00
Markus Reiter
d34ba7395b
Fix operator spacing.
2017-05-31 19:53:41 +02:00
Mike McQuaid
945cfc7cb7
diagnostic: move some more macOS doctor checks.
...
Move some `brew doctor` checks that are pretty macOS specific so they
are only run on macOS.
2017-05-27 13:34:59 +01:00
Markus Reiter
5828eefd01
Remove to_s
from some Pathname
s.
2017-05-08 13:37:28 +02:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Mike McQuaid
2be7999878
Merge pull request #2274 from rwhogg/fuse-requirement
...
Port OsxfuseRequirement to Linux
2017-04-20 17:14:42 +01:00
Mike McQuaid
3f8722c971
audit: allow skipping audit methods.
...
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
2017-04-18 08:17:26 +01:00
Bob W. Hogg
608d72a35f
OsxfuseRequirement: Port to Linux
2017-04-15 21:20:09 -07:00
Misty De Meo
944bff4de2
Mac Hardware: provide a more Mac-specific implementation of can_run?
2017-04-15 22:59:55 +08:00
Mike McQuaid
d84655efb9
Merge pull request #2442 from tdsmith/fix-symlink-relocation
...
Virtualenv relocation fixes
2017-04-05 09:32:52 +01:00
Mike McQuaid
715132642f
Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."
2017-04-04 13:29:27 +01:00
Mike McQuaid
a084776f95
diagnostic: also ignore outdated CLT on Travis CI.
2017-04-02 17:24:33 +01:00
Tim D. Smith
2f4eaf26a0
Use extend/OS mechanism for grep args
2017-04-02 09:04:49 -07:00
EricFromCanada
60f6dfea14
update suggested Xcode/CLT download URLs
2017-03-28 11:12:34 -04:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Mike McQuaid
45f52f77e5
Merge pull request #2244 from jonchang/java
...
java_requirement: don't consider macOS Java stub
2017-03-05 15:32:00 +01:00
Mike McQuaid
e26cf3a83f
Don't check Subversion HTTPS pre-Sierra.
...
The system Subversion doesn't handle new certificate authorities (e.g.
Let's Encrypt) well enough for this check to be useful.
2017-03-05 11:42:59 +01:00
Mike McQuaid
960768d8ed
mac/java_requirement: avoid adding/removing stub.
2017-03-05 11:26:30 +01:00
Jonathan Chang
ea28c79031
java_requirement: avoid nil in possible_javas
2017-03-02 20:31:55 -08:00
Jonathan Chang
0ca4bd030a
java_requirement: don't consider macOS Java stub
2017-03-02 19:45:58 -08:00
William Woodruff
ebb2b3aa6b
Merge pull request #2036 from woodruffw/rust-hack
...
keg_relocate: Don't relocate dylib IDs containing metavariables.
2017-02-21 15:02:54 -05:00
Bob W. Hogg
e0d5afc237
java_requirement: Make macOS overrides extend Requirement
...
This doesn't actually seem to make that much difference,
but it is at least consistent with the main class body and with
the Linux overrides.
2017-02-20 19:19:26 -08:00