diff --git a/Formula/apachetop.rb b/Formula/apachetop.rb index 72b6386e3f..45f171a06b 100644 --- a/Formula/apachetop.rb +++ b/Formula/apachetop.rb @@ -1,8 +1,8 @@ class Apachetop < Formula desc "Top-like display of Apache log" homepage "https://web.archive.org/web/20170809160553/freecode.com/projects/apachetop" - url "https://deb.debian.org/debian/pool/main/a/apachetop/apachetop_0.12.6.orig.tar.gz" - sha256 "850062414517055eab2440b788b503d45ebe9b290d4b2e027a5f887ad70f3f29" + url "https://deb.debian.org/debian/pool/main/a/apachetop/apachetop_0.18.4.orig.tar.gz" + sha256 "1cbbfd1bf12275fb21e0cb6068b9050b2fee8c276887054a015bf103a1ae9cc6" bottle do cellar :any_skip_relocation @@ -15,11 +15,11 @@ class Apachetop < Formula sha256 "78aa56c9141cfc658120edfb27e795cf178067d54f66c79fc752536d8e0335ea" => :mavericks end - # Freecode is officially static from this point forwards. Do not rely on it for up-to-date package information. - # Upstream hasn't had activity in years, patch from MacPorts - patch :p0, :DATA + depends_on "autoconf" => :build + depends_on "automake" => :build def install + system "./autogen.sh" system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--disable-debug", @@ -33,17 +33,3 @@ class Apachetop < Formula assert_match "ApacheTop v#{version}", output end end - -__END__ ---- src/resolver.h 2005-10-15 18:10:01.000000000 +0200 -+++ src/resolver.h 2007-02-17 11:24:37.000000000 -0100 -@@ -10,8 +10,8 @@ - class Resolver - { - public: -- Resolver::Resolver(void); -- Resolver::~Resolver(void); -+ Resolver(void); -+ ~Resolver(void); - int add_request(char *request, enum resolver_action act);