Commit graph

13 commits

Author SHA1 Message Date
Jack Nagel
7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Adam Vandenberg
e9476de1f5 john 1.7.9 2012-03-17 20:50:03 -07:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Jeffrey Hardy
58d5431248 john: fix typo in fails_with_llvm
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-04 21:08:23 -05:00
Charlie Sharpsteen
3442fa778d John the Ripper: Builds with LLVM >= 2335
Closes Homebrew/homebrew#7405.
2011-09-04 16:11:56 -07:00
Ruben Fonseca
8026697b79 john 1.7.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-31 14:48:35 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Adam Vandenberg
95d9785ff5 Clean ups to several formulas, including:
* Removing silly concatenation
* Removing .bat files before installing
* Removing silly quoting
* Fixing download URLs
* Removing explicit versions
2010-04-17 18:24:02 -07:00
tstevens
613a605dfd Add John 1.7.3.4 formula 2010-01-30 14:11:29 +01:00