6963 Commits

Author SHA1 Message Date
Larry Gilbert
5345c06e63 More explanation of HOMEBREW_{CELLAR,PREFIX,REPOSITORY}
Closes Homebrew/homebrew#39447.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-05-26 20:37:58 +01:00
Mike McQuaid
d8f9552cab bottle: handle nil bottle revision case. 2015-05-26 15:49:39 +01:00
Ian Lancaster
c327fdafa9 bottle: discard bottle revision from prior pkg_version
Closes Homebrew/homebrew#38628.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-26 19:21:15 +08:00
Ryan Hendrickson
798711cade Use canonical representation of the superenv bin directory
The xcrun script should be skipping the ENV directory when it scans
$PATH looking for tools to run. Unfortunately, the script compares the
paths found to the real path of the ENV directory (following symlinks),
but superenv was adding the nominal path to $PATH, not following
symlinks. As a consequence, platforms with Xcode < 4.3 would get into
infinite loops when trying to call non-system versions of gcc, as xcrun
calls the ENV version of gcc-X.X which calls xcrun and so on forever.

This commit changes superenv to follow symlinks when determining the bin
path to use.

Fixes Homebrew/homebrew#33731.
Closes Homebrew/homebrew#40062.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-25 22:01:12 -04:00
Nikolaus Wittenstein
664c8deaab example-formula.rb has a 'desc'
Closes Homebrew/homebrew#39911.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-25 17:23:51 +01:00
Nikolaus Wittenstein
f1ed19d96b brew create adds a desc field to the new formula 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
39498af1c6 audit looks for and validates 'desc' 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
148cafa9cd brew search can take a --desc argument to search descriptions 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
5e73e68ab1 Info shows the desc if present 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
86365470e6 Add a desc field to Formula 2015-05-25 17:23:49 +01:00
Xu Cheng
60f2377853 audit: formula version string should have digit
Closes Homebrew/homebrew#40025.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:44 +08:00
Xu Cheng
78ccd41251 audit: add rules for non-ascii character and encoding comment
Closes Homebrew/homebrew#40042.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:33 +08:00
Xu Cheng
e4ff0a2f2e audit: move audit_java_home inside audit_line 2015-05-24 16:27:54 +08:00
Xu Cheng
cc0c9cf619 audit: don't complain ENV.fortran if depends_on :fortran
Fix the audit problem in Homebrew/homebrew#40000.

Closes Homebrew/homebrew#40012.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-23 19:40:55 +08:00
Dominyk Tiller
df246cba44 lilypond: move to homebrew/tex
Re https://github.com/Homebrew/homebrew-tex/pull/4#issuecomment-104186361

Closes Homebrew/homebrew#39973.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-22 11:20:55 +01:00
Jack Nagel
e398e4519d Add test demonstrating installing a relative symlink 2015-05-21 20:43:38 -04:00
Dominyk Tiller
ad467f0386 os: support xcode 6.3.2
Closes Homebrew/homebrew#39909.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-21 13:55:02 +01:00
Xu Cheng
8b57871220 uses/deps: fix for recursive deps/reqs
Closes Homebrew/homebrew#39906.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-20 16:29:15 +08:00
Xu Cheng
cacad69a8e uses: make skip arguments work for requirement 2015-05-20 16:29:15 +08:00
Xu Cheng
2ea9d7749b non_apple_gcc_version: support gcc5
Closes Homebrew/homebrew#39899.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-19 16:10:17 +08:00
Xu Cheng
471c5502f5 test-bot: don't complain bottle errors when installing gcc and hg
Closes Homebrew/homebrew#39626.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-18 19:48:06 +08:00
Xu Cheng
ae41a51976 test-bot: unlink conflicted formulae 2015-05-18 19:48:06 +08:00
Larry Gilbert
522711f6ba dupx: retire to the boneyard
GDB is a requirement, but GDB lives in the homebrew/dupes tap now,
so dupx cannot stay in core.

Closes Homebrew/homebrew#39332.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-18 09:03:46 +01:00
Jack Nagel
703d8a1aa3 Revert "Remove conditional"
This method may see values originating HOMEBREW_CC.

This reverts commit 9c74f42962090c016143744b057e13aa75d9b13e.
2015-05-17 19:22:08 -04:00
なつき
3649b31765 ENV: Add gcc-5 to compilers support C++11
Closes Homebrew/homebrew#39758.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-16 11:16:55 -04:00
Shaun Jackman
cf757b001d datamash: move to homebrew/science.
See Homebrew/homebrew-science#2261

Closes Homebrew/homebrew#39736.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-15 09:11:05 +01:00
Misty De Meo
c72877cc82 Stop supporting Leopard
Is this really Misty?!
2015-05-14 20:58:49 -07:00
Jack Nagel
bf4dc7449b Clear GOPATH and GOROOT in build environment
Fixes Homebrew/homebrew#37936.
2015-05-14 20:04:45 -04:00
Dominyk Tiller
e4db0adf54 doctor: add homebrew_temp sticky bit check
Adds a small check to the Doctor command to ensure HOMEBREW_TEMP
has a sticky bit set. This has become a significant issue lately.

Closes Homebrew/homebrew#39735
Original issue: Homebrew/homebrew#39170

Closes Homebrew/homebrew#39739.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Viktor Szakats
a054005883 audit: fix two message typos
Originally submitted as part of https://github.com/Homebrew/homebrew/pull/38824/files,
later reverted due another hunk.

Closes Homebrew/homebrew#39753.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Mike McQuaid
0a2dd832b9 Install specific Rubocop version.
Closes Homebrew/homebrew#39620.
2015-05-14 16:05:00 +01:00
Mike McQuaid
7d88c110f6 test-bot: rerun brew update if it fails. 2015-05-14 09:40:53 +01:00
Mike McQuaid
d05d185d2e test-bot: cleanup more locks. 2015-05-14 08:45:39 +01:00
Jack Nagel
f242381e2a Tweak audit copy
URLs are not links.
2015-05-14 00:15:41 -04:00
Jack Nagel
b638c1d597 Use "directory", not "folder" 2015-05-14 00:15:41 -04:00
Shaun Jackman
e5f6264f32 brew.1.md: Document HOMEBREW_LOGS
Edit Library/Homebrew/manpages/brew.1.md
Regenerate share/man/man1/brew.1

Closes Homebrew/homebrew#39722.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-14 00:15:41 -04:00
Jack Nagel
c16a1d9aba Extend gnome stable/unstable audit to download.gnome.org URLs 2015-05-14 00:01:00 -04:00
Xu Cheng
68a654dd26 pull: warning if we are not in master
Closes Homebrew/homebrew#39708.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-13 18:32:37 +08:00
Geoff Nixon
1600658fcc ghc: cleanup/decruft.
- Fix static GMP
- Remove --32-bit option (ghc 7.6 or newer is needed to build).
- Building with llvm-gcc and 7.6.3 works on Snow Leopard and Lion.

Closes Homebrew/homebrew#39134.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-13 11:27:55 +01:00
Misty De Meo
ce6885e784 Audit: stop warning about Github .patch URLs
These no longer have a git version appended; e.g.:
ddb966061f.patch
2015-05-12 20:20:13 -07:00
Jack Nagel
ff11789933 Close the socket after sending the file descriptor to the child
Fixes Homebrew/homebrew#39691.
2015-05-12 21:53:04 -04:00
Jack Nagel
eda5922eb4 Disable trailing comma style rule for Ruby 1.8 support 2015-05-12 21:06:48 -04:00
Jack Nagel
e04e898d5c Avoid explicit control flow 2015-05-12 20:33:34 -04:00
Larry Gilbert
fca020cde1 texwrapper: emigrating to homebrew/tex tap
Closes Homebrew/homebrew#39196.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-12 19:04:24 +08:00
Jack Nagel
71f4e90cdb Handle deprecated options in dependency specifications
Fixes Homebrew/homebrew#38069.
2015-05-11 22:07:14 -04:00
Jack Nagel
37b5fb2e1e Stop enforcing the use of "fail" instead of "raise"
We use raise everywhere else in the codebase.
2015-05-10 20:40:10 -04:00
Xu Cheng
64c0927087 sandbox: fix the rules
1. `script` (used to fake the tty) requires write access to /dev/ptmx
and /dev/ttys*
2. sandbox profile only accepts `[0-9]` instead of `\d`.
2015-05-10 17:39:53 +08:00
Dominyk Tiller
a80c2ae06f audit: tweak ftp.gnu.org language for clarity
Closes Homebrew/homebrew#39421.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-09 13:26:52 -04:00
Jack Nagel
dcaaa20b34 Remove conditional 2015-05-08 22:23:30 -04:00
なつき
6181a786c0 compilers: support gcc 5
Closes Homebrew/homebrew#39470.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08 22:23:30 -04:00