aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
AgeCommit message (Collapse)Author
2016-11-26diagnostic: silence outdated Travis Xcode warning.Mike McQuaid
This doesn't add any value and stops us from testing `brew doctor` and others from running `brew doctor` on Travis CI.
2016-11-12diagnostic: skip xcode-select check with no Xcode.Mike McQuaid
Skip the `xcode-select` configuration check if there's no CLT or Xcode installed as in that case neither will be used. Fixes #1055.
2016-11-10Merge pull request #1381 from adzenith/patch-1Mike McQuaid
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-09`brew doctor` recommends using cask to upgrade XQuartzNikolaus Wittenstein
Also changes exceptions.rb to use Formatter.url
2016-11-06Merge pull request #1443 from MikeMcQuaid/better-development-tools-checksMike McQuaid
Improve debugging information based on failures
2016-11-05software_spec: no `_or_later` in bottle filenames.Mike McQuaid
It's more useful to be able to "bless" an existing bottle to be used on later OSs (e.g. where it cannot yet be built) than it is to have to create a new, identical bottle just to have a different filename.
2016-11-05diagnostic: add build error checks.Mike McQuaid
2016-11-05diagnostic: only make minimum Xcode/CLT version checks fatal.Mike McQuaid
Also: freeze the relevant arrays.
2016-11-05os/mac/diagnostic: split some unless conditions.Mike McQuaid
2016-11-05diagnostic: add checks for minimum Xcode/CLT versions.Mike McQuaid
2016-10-29superenv: treat timingsafe_bcmp as weak on 10.11ilovezfs
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd, and 10.12.1 added it to libsystem_c.dylib, but it is not present in libsystem_c.dylib on 10.11.6 (15G1108). It may appear in libsystem_c.dylib in a later 10.11 release or it may be marked weak on 10.11 in a later Xcode release. Fixes Homebrew/homebrew-core#6344.
2016-10-24keg_relocate: wrap relocation locations in structJosh Hagins
2016-10-16dependency_collector: need xz dep on <= macOS 10.8ilovezfs
Mountain Lion: http://opensource.apple.com/source/libarchive/libarchive-25.1/config.h `/* #undef HAVE_LIBLZMA */` Mavericks: http://opensource.apple.com/source/libarchive/libarchive-29/config.h `#define HAVE_LIBLZMA 1`
2016-10-15Use BSD tar's libarchive LZMA support if availableMike McQuaid
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-02*/diagnostic: tweak messaging.Mike McQuaid
Update some messaging based on recent user confusion and the `/usr/local/Homebrew` and Ruby 2 migrations.
2016-09-28superenv: more 10.11 clock_gettime Autotools fixesilovezfs
some build systems check ac_cv_search_clock_gettime instead of ac_cv_func_clock_gettime so the former should also be set to "no" libev.m4 unsets ac_cv_func_clock_gettime, but if ac_have_clock_syscall is defined, it will leave ac_cv_func_clock_gettime alone: http://cvs.schmorp.de/libev/libev.m4?view=markup#l23
2016-09-24Merge pull request #1113 from reitermarkus/rubocop-guardclauseMarkus Reiter
RuboCop: Fix Style/GuardClause.
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23diagnostic: limit fatal dev tools check to SierraDominyk Tiller
2016-09-23Merge pull request #1106 from reitermarkus/rubocopMike McQuaid
Even more RuboCop changes.
2016-09-23Merge pull request #1097 from DomT4/software_dev_is_hardMike McQuaid
diagnostic: make using outdated dev tools fatal
2016-09-23Style/Alias: Prefer `alias`.Markus Reiter
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-23Merge pull request #1086 from woodruffw/macho-cosmeticsMike McQuaid
Remove old cctools references now that only ruby-macho is used.
2016-09-23diagnostic: make using outdated dev tools fatalDominyk Tiller
A smarter form of https://github.com/Homebrew/brew/commit/559cea7fa9d7f9f2557f2523092687dec45c5316. Travis users can't force Travis to update 10.11 to Xcode 8, so this was murdering builds left, right & centre. Fixes https://github.com/Homebrew/brew/issues/1096 whilst still retaining the point of the original commit. Also offers developers an opt-out so if we need to test something on 10.11 with Xcode 7.x we can, etc.
2016-09-22Revert "diagnostic: make using outdated development tools fatal"Dominyk Tiller
This reverts commit a124680b189f50ebeb550845e3c0efd34db66247. Will need to be smarter than this, since people can't force Travis to update. I'm losing count of the amount of times Travis has forced a change of plans around Homebrew this year. Closes https://github.com/Homebrew/brew/issues/1096.
2016-09-22Remove old cctools references now that only ruby-macho is used.William Woodruff
2016-09-22diagnostic: make using outdated development tools fatalDominyk Tiller
2016-09-22one less block in mac depBob W. Hogg
2016-09-22follow the pattern more closelyBob W. Hogg
2016-09-22make names more genericBob W. Hogg
2016-09-22switch to using extend patternBob W. Hogg
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-18Merge pull request #989 from MikeMcQuaid/rubocop-finalMike McQuaid
Rubocop: apply auto-corrections and don't use hash-rockets
2016-09-17no_weak_imports: always check for supportilovezfs
ENV.no_weak_imports should be a no-op when Xcode doesn't support the feature to avoid breaking builds with <= Xcode 7.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-16Merge pull request #965 from mistydemeo/warn_xcode_8_without_cltMisty De Meo
Warn when using Xcode 8 without CLT on 10.11
2016-09-16Warn when using Xcode 8 without CLT on 10.11Misty De Meo
2016-09-15superenv: help Autotools with 10.12 SDK on 10.11ilovezfs
The GNU Autotools tests for whether a given symbol is defined are reliably coming to incorrect conclusions on 10.11 with the 10.12 SDK in Xcode 8. This overrides its decisions by forcing the right answer in superenv using ac_cv_func_* environment variables and setting them to "no" on 10.11. The list of problematic symbols is from grep 'weak$os10.11' MacOSX.sdk/usr/lib/system/libsystem_c.tbd
2016-09-13extend/os/mac/development_tools: fix Rubocop warnings.Mike McQuaid
2016-09-10diagnostic: tweak check_xcode_up_to_date messagingDominyk Tiller
2016-09-07Merge pull request #833 from DomT4/death_by_xcodeMike McQuaid
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07Refactor MacOS check_development_tools usage.Mike McQuaid
Better use the abstraction layer so e.g. Linux could have similarly fatal checks for these things.
2016-09-05Merge pull request #866 from tdsmith/audit-libresslTim D. Smith
Catch system libressl in openssl audit as well
2016-09-04Catch LibreSSL libtls as wellTim D. Smith
Update the description to reflect that we may be talking about either crypto library and neither is okay. :)
2016-09-04Merge pull request #201 from gregory-nisbet/feature-env-shellsMike McQuaid
--env: support more shells, allow explicit shell selection
2016-09-03Catch system libressl in openssl audit as wellTim D. Smith
The regex didn't match libcrypto.35.dylib, and it should have.
2016-08-30diagnostic: add strict_development_tools_checksDominyk Tiller
2016-08-24no_weak_imports: call ENV.append, not .addMisty De Meo
2016-08-22Make -no_weak_imports opt-in.Mike McQuaid
The experiment to add `-no_weak_imports` unconditionally has been a bit of a failure. It's broken more than it's fixed and I don't think we can have this as a default for Xcode 8. Add `ENV.no_weak_imports` to be used by formulae authors and make `ENV.no_weak_imports a no-op (for now). We may reconsider this behaviour in future.