aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
AgeCommit message (Collapse)Author
2012-09-03brew-audit: recommend SHA1 over MD5.Mike McQuaid
2012-08-29superenv: build-environments that just workMax Howell
1. A minimal build environment, we don't set CFLAGS, CPPFLAGS, LDFLAGS, etc. the rationale being, the less that is set, the less variables we are introducing that can break builds. 2. A set of scripts that replace cc, ld, etc. and inject the -I, -L, etc. flags we need into the args passed to the build-tools. Because we now have complete control over compiler instantiations we do a variety of clean-up tasks, like removing bad flags, enforcing universal builds and ensuring makefiles don't try to change the order of library and include paths from ones that work to ones that don't. The previous ENV-system is still available when --env=std is specified. superenv applies to Xcode >= 4.3 only currently.
2012-08-27audit: Formula#deps returns Dependency objectsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-27audit: fix redundant version checkJack Nagel
The == comparison was comparing the versions rather than directly comparing the strings, which lead to false positives. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-25audit checks for passing dashes to build.include?Adam Vandenberg
2012-08-22audit: be a bit more lenientAdam Vandenberg
2012-08-22audit: allow certain ARGV usagesAdam Vandenberg
2012-08-22audit: complain until we use option and buildAdam Vandenberg
2012-08-21Formula.EnumerableMax Howell
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-18Add Version#detected_from_url?Jack Nagel
2012-08-17Remove executable bits from audit.rb and bottle.rbJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12Refactor `brew audit`Jack Nagel
2012-08-09Remove options audit checkAdam Vandenberg
2012-07-28brew-audit: Warn against depending on MPICharlie Sharpsteen
Depending on `open-mpi` or `mpich2` will cause problems since both formulae install components with the same names. `brew audit` now recommends using MPIDependency. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-07-04Refactor checksummingJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04audit: handle new formula specsJack Nagel
2012-06-17audit: prefer ARGV.build_head? to inspecting 'version'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: prefer modifying ENV to using env or exportJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17audit: catch unnecessary 'ENV.foo' interpolationJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15audit: fix broken deps checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07audit: don't count printed URLs as problemsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07audit: check MacPorts patch URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid
2012-04-29audit: reduce false-positivesAdam Vandenberg
2012-03-29Exit with bad exit code on command failures.Mike McQuaid
2012-03-19audit: add tests for patchesAdam Vandenberg
2012-03-17bsdmake is a build-time depJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-17audit: check for install options being shadowedAdam Vandenberg
2012-03-10Add specialty formulase to inheritance checkAdam Vandenberg
2012-03-01audit: check for gfotran in Formula#deps insteadJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-28audit: automake, autoconf, and libtool are build-time depsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21audit: flag imake as a build depAdam Vandenberg
2012-02-18audit: use a heredoc for this long lineJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-18audit: tighten xcodebuild SYMROOT checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16audit: warn about ARGV.include? '--devel'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16audit: make checksum warnings more clearJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-16audit: add problem countsAdam Vandenberg
2012-02-15audit: warn about correct empty checksum typeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15audit: only look for empty checksums onceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15more stringent auditing of checksumsTrevor Wennblom
Closes #10213. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-13Boost-jam is now part of boost-buildJack Nagel
So remove it, and add/update the appropriate aliases. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-28audit: make boost-jam a build-time dependencyAdam Vandenberg
2012-01-25audit: reorganize some checksJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25audit: make devel check more specificJack Nagel
There are a few false positives where the string 'devel' occurs in other contexts. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25Add `devel` to the DSL, + stable and bottle blocksMisty De Meo
This commit adds a `devel` entry to the DSL, allowing formulae to specify an unstable branch. `devel` takes a block, which should contain standard `url` and `md5` fields (and `version`, if necessary). This must come after the standard DSL fields. This commit also migrates over all formulae currently using `devel` to the new syntax, as well as formulae which used `head` for non-VCS urls. The new syntax is also available for `stable` and `bottle`. `stable` is an option alongside the old syntax. `bottle` replaces the old syntax. Note that the @stable ivar in Formula has been renamed to @standard, and the @bottle ivar has been renamed to @bottle_url. Closes #9735. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-17audit: check for mercurial dependencyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-02audit: do not complain about --32-bitAdam Vandenberg
2011-12-31audit: check for trailing newlineJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-21audit: remove --strictAdam Vandenberg
2011-12-18Audit: warn about head-only formulaeAdam Vandenberg