Commit graph

31 commits

Author SHA1 Message Date
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg
ddb71d75c2 wget: add debug option
Closes Homebrew/homebrew#12432.
2012-09-02 12:36:55 -07:00
Adam Vandenberg
961c92a074 wget: document awk issue 2012-08-09 20:16:49 -07:00
Adam Vandenberg
3092bce992 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg
21a0f397bf wget: use options dsl 2012-08-09 07:19:40 -07:00
Justin de Vesine
fad26d0d92 wget 1.14
Closes Homebrew/homebrew#14010.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-06 12:36:10 -07:00
Misty De Meo
245cf459cd wget: HEAD has moved to git
http://lists.gnu.org/archive/html/bug-wget/2012-05/msg00022.html
2012-07-03 12:15:40 -05:00
Jack Nagel
63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Misty De Meo
b35b9464e2 wget: add HEAD 2012-04-20 10:44:19 -05:00
Mike McQuaid
c65c904d4b Improve wget test. 2012-03-09 18:45:11 +13:00
Mike McQuaid
9c468439d9 Add test to wget. 2012-03-09 18:28:29 +13:00
Jack Nagel
020a3f289b wget: put wgetrc in HOMEBREW_PREFIX/etc
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-04 23:47:20 -06:00
Jack Nagel
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
a9cc868671 wget 1.13.4
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-19 12:05:17 -05:00
Jack Nagel
fa3d89a7c0 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00
Jack Nagel
b2989729dc wget 1.13.3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-30 20:11:09 -05:00
Adam Vandenberg
e28199fd3a wget 1.12: 1.13 is now 404
This reverts commit 4d39ab424fad311b8cc03ea0e9eb3029ca6af91c.
2011-08-19 09:36:33 -07:00
Jack Nagel
f02c0db9cb wget 1.13
Apparently we have to specify '--with-ssl=openssl', otherwise the
configure script tries to find GnuTLS and aborts if it isn't present.

But hey, we don't need that ugly patch anymore.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-12 12:12:41 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
a321ac7605 wget - use custom OpenSSL on Leopard
Reports of wget failing to compile against Leopard's OpenSSL,
so reluctantly add this dep.
2011-03-10 22:19:01 -08:00
Samuel Cochran
dadf65395d Wget should show some respect to subjectAltNames on SSL certs
Will actually be fixed in 1.12.1, but who knows when that will *actually* happen.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-27 19:55:43 +00:00
Adam Vandenberg
5062422fb9 Update wget comments since libidn doesn't require gettext 2010-08-15 16:03:33 -07:00
Adam Vandenberg
a30cef8544 Document wget option 2010-07-26 08:52:40 -07:00
Adam Vandenberg
b5cfe194c6 Make libidn optional in wget.
wget will find and use libidn if it is present, which uses gettext.
This dependency was not captured in the wget formula.

To keep things simpler, the user must now opt-in to libdin by brewing
with "--enable-iri". Without this flag, we tell configure not to look
for libidn.

Fixes Homebrew/homebrew#1105.
2010-04-19 11:32:58 -07:00
Florian Sowade
fa8d0f3a93 Bump wget from 1.11.4 to 1.12 2009-12-06 15:31:58 +00:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Max Howell
fcfd480167 Don't use quotes with the comma separated version of system()
As you don't escape to that version.
2009-09-25 01:24:05 +01:00
Max Howell
50760c018f Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Max Howell
9bc3e7c0c8 Small tweaks to two formulae 2009-06-08 16:03:13 +01:00
Max Howell
97b1ada08d Created /Library moved brew tool to /bin
Moved Forumla and Cellar/homebrew into Library.

This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.
2009-06-04 19:36:58 +01:00