From cee8fac65f4efee64bba0e46a304ae30c97a8148 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 22 Dec 2014 13:21:22 +0000 Subject: nikto: general cleanup. --- Library/Formula/nikto.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3