exploitdb 2016-12-02

Closes #7498.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
ilovezfs 2016-12-02 14:43:59 -08:00 committed by Andrew Janke
parent cc707d85e4
commit c332da9ff9

View file

@ -2,10 +2,9 @@ class Exploitdb < Formula
desc "The official Exploit Database"
homepage "https://www.exploit-db.com/"
url "https://github.com/offensive-security/exploit-database.git",
:tag => "2016-08-20",
:revision => "ae53a02150a104b1c03f205db6168cfd1efafb32"
version "2016-08-20"
:tag => "2016-12-02",
:revision => "a5cd225af0e33df78eb3f3a97852ec69e577162f"
version "2016-12-02"
head "https://github.com/offensive-security/exploit-database.git"
bottle do
@ -17,7 +16,7 @@ class Exploitdb < Formula
end
def install
inreplace "searchsploit", /gitpath=\"\$\( cd .*/, "gitpath=\"#{pkgshare}\""
inreplace "searchsploit", "gitpath=\"/opt/exploit-database\"", "gitpath=\"#{pkgshare}\""
bin.install "searchsploit"
pkgshare.install %w[files.csv platforms .git]
end