From e0e166a8d13b87395070867db8edd57e8849cd43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 14 Dec 2011 07:18:09 +0000 Subject: [PATCH] - rel 7; read default config file, really Changed files: apachetop-debian.patch -> 1.2 apachetop.spec -> 1.32 --- apachetop-debian.patch | 2 +- apachetop.spec | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apachetop-debian.patch b/apachetop-debian.patch index 676e389..f5fd350 100644 --- a/apachetop-debian.patch +++ b/apachetop-debian.patch @@ -6406,7 +6406,7 @@ diff -Naurp apachetop.orig/src/apachetop.cc apachetop/src/apachetop.cc if (cf.input_count == 0) { - if (new_file(DEFAULT_LOGFILE, SEEK_TO_END) != -1) -+ if (new_file("/var/log/apache2/access.log", SEEK_TO_END) != -1) ++ if (new_file(DEFAULT_LOGFILE, SEEK_TO_END) != -1) cf.input_count++; + else + { diff --git a/apachetop.spec b/apachetop.spec index 361f7ea..95557c0 100644 --- a/apachetop.spec +++ b/apachetop.spec @@ -5,7 +5,7 @@ Summary: Apache top-like display Summary(pl.UTF-8): Podobny do topa program pokazujący pracę Apache'a Name: apachetop Version: 0.12.6 -Release: 6 +Release: 7 Epoch: 1 License: BSD Group: Networking/Utilities @@ -42,7 +42,8 @@ sed -i -e 's#fam#fambroken#g' configure* %{__aclocal} %{__autoconf} %{__automake} -%configure +%configure \ + --with-logfile=/var/log/httpd/access_log %{__make} \ CXX="%{__cxx}" \ -- 2.44.0