From 4964ca33123f05d4d324c78ba79ddec5b237e02b Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Tue, 10 Mar 2015 15:01:47 +0000 Subject: chkrootkit 0.50 Version bump, modernisation, tweak to the way we install bins. Closes #37575. Signed-off-by: Mike McQuaid --- Library/Formula/chkrootkit.rb | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3