6628 Commits

Author SHA1 Message Date
Jack Nagel
9f3d88158b Save and restore build attribute
This probably doesn't matter in practice, but I don't want to take any
chances.
2015-02-07 11:02:35 -05:00
Jack Nagel
cd522b1719 Always respect build options when invoking post_install
Fixes Homebrew/homebrew#36335.
2015-02-07 11:02:35 -05:00
Jack Nagel
4851b1e7a8 Use a local instead of an instance variable 2015-02-07 11:02:35 -05:00
Mike McQuaid
5e62d7503e formula_cellar_checks: tweak postgresql on 10.8.
It shadows system headers sometimes (probably just Server.app?) but we don't
really care.
2015-02-06 08:30:42 +00:00
Roberto Nibali
39ead112f3 brew.rb: fix help regex.
Don't match `help` at the end of every string because `brew installhelp`
shouldn't really be running help.

Closes Homebrew/homebrew#36559.
Closes Homebrew/homebrew#36576.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-06 08:19:35 +00:00
Tim D. Smith
e40d302dee audit_installed: give better Python advice
Update advice about easy-install.pth files.

Closes Homebrew/homebrew#36547.
2015-02-04 23:35:42 -08:00
Mike McQuaid
e8d8c3a486 test-bot: don't try and bottle unstable formulae.
e.g. devel-only or head-only formulae.
2015-02-04 14:20:21 +00:00
Xu Cheng
2787eaa853 pyenv-pip-rehash: boneyarded
Since pyenv v20141211, it bundles built-in pip-rehash feature.

Closes Homebrew/homebrew#36524.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-04 11:18:36 +00:00
Jack Nagel
2bf409d888 brew list foo should always error when foo is not installed
Fixes Homebrew/homebrew#36484.
2015-02-03 20:26:57 -05:00
Christian Moritz
79bde9c13b GitDownloadStrategy: support submodule changes
This commits adds support for updating a formula with changed git
submodules with GitDownloadStrategy when the cloned repository is still
in the cache. This is done by running git submodule sync --recursive
before updating the submodules, so that git can reload the submodule
config from the updated .gitmodules file.

Fixes Homebrew/homebrew#36395.
Closes Homebrew/homebrew#36466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-02-03 20:00:34 -05:00
Mike McQuaid
f2a9b9cbd2 test-bot: optional requirements are satisfied. 2015-02-03 16:46:36 +00:00
Jack Nagel
291e900abc AprRequirement should not generate a build-time dependency
We want the apr requirement to act as a build-time requirement in case
it is satisfied (that is, the CLT is installed), as the resulting
binaries will link to the system libapr which is always present.

When it is *not* satisfied by the CLT, and we need to install the
formula, we have to treat it as a runtime dependency since the resulting
binaries will link to it.

Fixes Homebrew/homebrew#36301.
Fixes Homebrew/homebrew#36438.
Closes Homebrew/homebrew#36443.
2015-02-02 00:39:04 -05:00
Jack Nagel
208bc0516b AprRequirement should not short-circuit if apr is installed
If apr is installed, we still want to grab it during dependency
resolution in case we need to pass options to the generated dependency.

In other words, it doesn't make sense for the satisfiable condition to
include the default formula, as the default formula is the fallback for
when the requirement is *not* satisfied.
2015-02-02 00:39:04 -05:00
Jack Nagel
d362f5a2fb Remove message that is never displayed
Requirements with default formulae cannot fail the build.
2015-02-02 00:39:04 -05:00
Jack Nagel
12e4602a3b AprRequirement's default formula should be apr-util
This matches the recommendation in the message.
2015-02-02 00:39:04 -05:00
chdiza
5e854164a7 untap: Handle multiple arguments
Closes Homebrew/homebrew#36436.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 20:12:13 +01:00
Dominyk Tiller
8a707ebb2b ngircd: system openssl fix
Fix for linking into the system OpenSSL, strict audit fixes, and the
plist.

Closes Homebrew/homebrew#36386.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 17:31:05 +01:00
Baptiste Fontaine
40447c239d JavaDependency: ignore trailing + in the version 2015-02-01 09:31:01 +01:00
Jack Nagel
e298f09ab6 Move mysqlreport to the boneyard
The project was deprecated in favor of percona-toolkit:
http://blog.codenode.com/2015/01/hack-mysql-has-been-retired.html

Closes Homebrew/homebrew#36342.
2015-01-31 23:58:04 -05:00
Jack Nagel
649579072c Move cdf to the boneyard
Closes Homebrew/homebrew#36009.
2015-01-31 23:54:37 -05:00
Dominyk Tiller
5fcf40fffd sitecopy: boneyarding
Sitecopy currently compiles against the insecure system OpenSSL, and
won’t compile against our OpenSSL because it wants SSLv2 at runtime
(Ouch) and it won’t compile against GnuTLS because GnuTLS have
considerably changed the structure of their build since the last update
of sitecopy (2008).

Closes Homebrew/homebrew#36389.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-31 18:27:57 -05:00
Baptiste Fontaine
a9c4091de7 Fix more version misdetections for URLs with archs
Closes Homebrew/homebrew#36368.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-30 08:55:49 +00:00
Baptiste Fontaine
06f6fd5b83 zenity moved into homebrew/x11
Closes Homebrew/homebrew#35626.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-29 14:35:47 +00:00
Baptiste Fontaine
a9e8dfb996 Fix version misdetections for URLs with OS/archs
Closes Homebrew/homebrew#36308.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28 14:19:21 +00:00
Dominyk Tiller
5ac0446fd7 test-bot: support --devel and/or --HEAD install
See discussion in https://github.com/Homebrew/homebrew-devel-only/pull/8

In essence, the test bot currently does this:

```
==> brew install --verbose --build-bottle j2objc			 FAILED
Error: j2objc is a devel-only formula
Install with `brew install --devel j2objc`
```

I’m proposing that we pass that arg to the test-bot automatically to
allow the bot to pass head-only and devel-only formulae without that
failure message. I’ve also trimmed the arguments further down to
prevent it duplicating the —devel install in formulae which define no
stable block.

Closes Homebrew/homebrew#36030.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27 12:40:36 +00:00
Mike McQuaid
c2e0fb0c08 config: be quieter with java_home.
References Homebrew/homebrew#36249.
2015-01-27 12:25:27 +00:00
Dominyk Tiller
40ddea637a audit: stop red-flagging devel-only
Currently the bot is failing certain devel-only formulae because it
thinks having ` devel ` defined with an added ` head ` defined
as well = a head-only formula.

```
==> audit problems
docker-machine:
 * Head-only (no stable download)
```

This is a pretty simple fix for that problem:

```
==> brew style docker-machine
1 file inspected, no offenses detected
```

Closes Homebrew/homebrew#36197.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-26 14:39:12 +00:00
Xu Cheng
8fc3c4c8e9 brew-config: check whether java exists in PATH
For OS X, we will call `/usr/libexec/java_home` to exam whehter
java is installed.

Also rename the method to follow the same naming pattern of other
similar methods.

Closes Homebrew/homebrew#36187.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25 10:05:56 +00:00
Jack Nagel
c60454a72f Fix warning about using %w[] instead of %W[] 2015-01-24 21:08:26 -05:00
Mike McQuaid
105fcb5399 pull: allow temporarily editing an empty commit. 2015-01-23 17:35:20 +01:00
Jack Nagel
bf6887bc59 Deprecate GithubGistFormula
Closes Homebrew/homebrew#36094.
2015-01-22 20:34:51 -05:00
Jack Nagel
f0fc15ade8 Remove unnecessary early return
Iterating over an empty list is a no-op so we can remove this early
return.
2015-01-22 17:36:31 -05:00
Jack Nagel
2804e0ed3b Hide "Patching" message when there aren't any patches 2015-01-22 17:04:38 -05:00
Jack Nagel
7978209469 Use formula patches accessor 2015-01-22 17:03:54 -05:00
Jack Nagel
165b47c0e6 Audit check for gnome unstable as stable 2015-01-22 16:58:54 -05:00
Baptiste Fontaine
aec2f01a55 config: add Java to output.
Closes Homebrew/homebrew#35596.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-22 17:16:36 +01:00
Xu Cheng
011b47aeff Add depends_on :gpg 2015-01-22 17:15:28 +01:00
Jack Nagel
af1e9a9610 Expose bottle details on the formula object
Fixes Homebrew/homebrew#36032.
2015-01-20 22:27:23 -05:00
Baptiste Fontaine
8b793c6ab3 pipe_output optional result assertion added
Closes Homebrew/homebrew#36024.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-19 18:35:33 +01:00
Mike McQuaid
3a3f56e9a3 language/haskell: optionally add args to install. 2015-01-17 19:29:36 +01:00
Mike McQuaid
6a6b56127c test-bot: handle devel-only formulae. 2015-01-17 19:12:10 +01:00
Xu Cheng
6d786e7dbb brew-config: show realpath for pyenv and rbenv
Closes Homebrew/homebrew#35819.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-17 18:48:34 +01:00
Jack Nagel
c6dee041eb install: fix --HEAD for formulae with head and devel but no stable 2015-01-16 00:00:21 -05:00
Dominyk Tiller
3f318b8ed4 install: handle devel-only correctly
See the discussion in
https://github.com/Homebrew/homebrew-devel-only/pull/6

Closes Homebrew/homebrew#35793.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-15 23:50:45 -05:00
Mike McQuaid
3613f0349e brew.rb: remove unneeded exit code duplication.
Fixes comments made in:
91c267bdb1 (commitcomment-9146910).
2015-01-15 15:58:22 +00:00
Mike McQuaid
fd8bb8776c doctor: accepting the Xcode license requires sudo. 2015-01-15 15:46:35 +00:00
Mike McQuaid
dac4848661 pull: merge and rebase when pulling bottles.
This seems to be a more robust approach when a PR has multiple commits.
2015-01-15 11:15:13 +00:00
Misty De Meo
53d848e364 cc: filter out -Wno-unused-but-set-variable
Fixes Homebrew/homebrew#35750.
2015-01-14 10:18:00 -08:00
Dominyk Tiller
001c238606 bcwipe: boneyard
bcwipe seems to have gone commercial. 1.9-9 is still “free” as in
price, but contains an [incredibly restrictive
license](https://www.jetico.com/linux/bcwipe-help/wu_licen.htm) that
I’m not particularly sure we want to ship given our rejection of
similar situations recently. 1.9-10 onwards, including the latest
1.9-11 release are all “trial” releases which “expire” after 21 days of
use and cost some $35 to continue using.

Closes Homebrew/homebrew#35850.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-14 15:00:42 +00:00
Jochen Schalanda
8269c25a6a graylog2-server: move to boneyard.
The formula is for an ancient version of Graylog2 and doesn't work because
the tarball doesn't exist any more.

Closes Homebrew/homebrew#35868.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-14 14:26:04 +00:00