chkrootkit: style cleanups
- use a versioned tarball Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
0572bf8625
commit
4371532bfb
1 changed files with 8 additions and 7 deletions
|
@ -1,10 +1,9 @@
|
|||
require 'formula'
|
||||
|
||||
class Chkrootkit < Formula
|
||||
url 'ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz'
|
||||
homepage 'http://www.chkrootkit.org/'
|
||||
url 'ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.49.tar.gz'
|
||||
md5 '304d840d52840689e0ab0af56d6d3a18'
|
||||
version '0.49'
|
||||
|
||||
def install
|
||||
chmod 0644, 'Makefile' # Makefile is read-only
|
||||
|
@ -13,12 +12,14 @@ class Chkrootkit < Formula
|
|||
s.remove_make_var! 'STATIC'
|
||||
end
|
||||
|
||||
system "make CC=#{ENV.cc} sense"
|
||||
system "make", "CC=#{ENV.cc}",
|
||||
"CFLAGS=#{ENV.cflags}",
|
||||
"sense", "all"
|
||||
|
||||
sbin.install ['check_wtmpx', 'chkdirs', 'chklastlog', 'chkproc',
|
||||
'chkrootkit', 'chkutmp', 'chkwtmp', 'ifpromisc',
|
||||
'strings-static']
|
||||
doc.install ['README', 'README.chklastlog', 'README.chkwtmp']
|
||||
sbin.install %w{check_wtmpx chkdirs chklastlog chkproc
|
||||
chkrootkit chkutmp chkwtmp ifpromisc
|
||||
strings-static}
|
||||
doc.install %w{README README.chklastlog README.chkwtmp}
|
||||
end
|
||||
|
||||
def test
|
||||
|
|
Loading…
Reference in a new issue