apachetop 0.18.4

Closes #38331.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Caleb Xu 2019-03-26 17:19:41 -04:00 committed by Chongyu Zhu
parent ac3a252c3d
commit 6ca1e22ac9
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -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);