diff options
| author | Dominyk Tiller | 2015-03-10 15:01:47 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-11 07:44:17 +0000 |
| commit | 4964ca33123f05d4d324c78ba79ddec5b237e02b (patch) | |
| tree | 5eb69f4b75e89c47d6372fc1bf04f92c4f30dd21 /Library/Formula | |
| parent | 00cd353d08f2d1d80aafc6460d7586a182e5fa6f (diff) | |
| download | homebrew-4964ca33123f05d4d324c78ba79ddec5b237e02b.tar.bz2 | |
chkrootkit 0.50
Version bump, modernisation, tweak to the way we install bins.
Closes #37575.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chkrootkit.rb | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/Library/Formula/chkrootkit.rb b/Library/Formula/chkrootkit.rb index 1d1f0990f..a9987c64d 100644 --- a/Library/Formula/chkrootkit.rb +++ b/Library/Formula/chkrootkit.rb @@ -1,20 +1,14 @@ -require 'formula' - class Chkrootkit < Formula - homepage 'http://www.chkrootkit.org/' - url 'http://ftp.de.debian.org/debian/pool/main/c/chkrootkit/chkrootkit_0.49.orig.tar.gz' - sha1 'cec1a3c482b95b20d3a946b07fffb23290abc4a6' + homepage "http://www.chkrootkit.org/" + url "https://mirrors.kernel.org/debian/pool/main/c/chkrootkit/chkrootkit_0.50.orig.tar.gz" + sha256 "9548fc922b0cb8ddf055faff4a4887f140a31c45f2f5e3aa64aad91ecfa56cc7" def install - system "make", "CC=#{ENV.cc}", - "CFLAGS=#{ENV.cflags}", - "STATIC=", - "sense", "all" + system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", + "STATIC=", "sense", "all" - bin.install %w{check_wtmpx chkdirs chklastlog chkproc - chkrootkit chkutmp chkwtmp ifpromisc - strings-static} - doc.install %w{README README.chklastlog README.chkwtmp} + bin.install Dir[buildpath/"*"].select { |f| File.executable? f } + doc.install %w[README README.chklastlog README.chkwtmp] end test do |
