aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-12-22 13:21:22 +0000
committerMike McQuaid2014-12-22 13:21:22 +0000
commitcee8fac65f4efee64bba0e46a304ae30c97a8148 (patch)
treef59cf1eb629b2fe2cdc298c1fc0b2fd46753efa1
parenta099241f4dcc95ee4b1d76a16b67527586570fa8 (diff)
downloadhomebrew-cee8fac65f4efee64bba0e46a304ae30c97a8148.tar.bz2
nikto: general cleanup.
-rw-r--r--Library/Formula/nikto.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Formula/nikto.rb b/Library/Formula/nikto.rb
index 0491d6d93..463e5e7c3 100644
--- a/Library/Formula/nikto.rb
+++ b/Library/Formula/nikto.rb
@@ -1,15 +1,11 @@
-require "formula"
-
class Nikto < Formula
homepage "http://cirt.net/nikto2"
url "https://www.cirt.net/nikto/nikto-2.1.5.tar.bz2"
sha1 "9fafa51f630ce241aff58b217882e514d577939f"
def install
- # adjust default paths in perl script
inreplace "nikto.pl", "/etc/nikto.conf", "#{etc}/nikto.conf"
- # adjust default paths in configuration file
inreplace "nikto.conf" do |s|
s.gsub! "# EXECDIR=/opt/nikto", "EXECDIR=#{prefix}"
s.gsub! "# PLUGINDIR=/opt/nikto/plugins", "PLUGINDIR=#{prefix}/plugins"