homebrew-core/Formula/apachetop.rb

44 lines
1.3 KiB
Ruby
Raw Normal View History

require 'formula'
2009-09-29 22:02:47 +00:00
2011-03-10 05:11:03 +00:00
class Apachetop < Formula
2012-03-23 05:16:44 +00:00
homepage 'http://freecode.com/projects/apachetop'
url 'http://ftp.debian.org/debian/pool/main/a/apachetop/apachetop_0.12.6.orig.tar.gz'
sha1 '005c9479800a418ee7febe5027478ca8cbf3c51b'
2009-09-29 22:02:47 +00:00
2014-06-29 03:47:43 +00:00
bottle do
cellar :any
sha1 "5d9cac60ff10e36bcf346a7cd333c2d16eed3ecf" => :mavericks
sha1 "a70bbfb92d902f89032f83fb1072deb0787836a4" => :mountain_lion
sha1 "7743bd957fb2e9da0337f9674ff2d281bd4c3ff5" => :lion
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
2014-03-18 03:44:48 +00:00
patch :p0, :DATA
2009-09-29 22:02:47 +00:00
def install
system "./configure", "--prefix=#{prefix}",
2013-11-07 03:47:25 +00:00
"--mandir=#{man}",
2009-09-29 22:02:47 +00:00
"--disable-debug",
"--disable-dependency-tracking",
"--with-logfile=/var/log/apache2/access_log"
system "make install"
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);