aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
AgeCommit message (Collapse)Author
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 Homebrew/homebrew#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 Homebrew/homebrew#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
2011-12-15audit: hard wrap dep warningJack Nagel
The warning is lengthy, and usually wraps on 80-column terminals. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08audit: check for hard-coded compilersJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30audit: only perform GNU URL check on primary URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30audit: disable GNU url checkJack Nagel
It needs to be reworked to only check the primary URLs, as we are now using ftp.gnu.org as a mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29audit: smake is also a build toolAdam Vandenberg
2011-11-29audit: check for DB deps tooAdam Vandenberg
2011-11-29audit: warn about more "forbidden" dependenciesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29audit: check for build-time dependenciesJack Nagel
This can be made more robust in the future when we stop throwing away the ':build' type flag in Formula#depends_on. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-27audit: remove --strictAdam Vandenberg
2011-11-23audit: check for MacPorts patches from trunkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-21audit.rb: Check version strings by defaultCharlie Sharpsteen
Tired of telling people that version numbers are redundant. Just check it by default since the `--strict` flag to `brew audit` is not well advertised.
2011-11-18audit: check for ARGV.flag? in formulaeJack Nagel
We don't want single letter options like '-v' or '-d' to unintentionally trigger formula-specific options. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-15audit: don't check duplicate URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-02audit: check for build_universal? calls if --universal unusedOleg Oshmyan
Closes Homebrew/homebrew#8123. Signed-off-by: Jack Nagel <jacknagel@gmail.com>