]> git.pld-linux.org Git - packages/apachetop.git/commitdiff
- rel 7; read default config file, really auto/th/apachetop-0_12_6-7
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 14 Dec 2011 07:18:09 +0000 (07:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apachetop-debian.patch -> 1.2
    apachetop.spec -> 1.32

apachetop-debian.patch
apachetop.spec

index 676e3892ba4fb27a85fa5f804daa055faf67795e..f5fd350c762c0b98a44c9c7df1071b072c3f03f8 100644 (file)
@@ -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
 +              {
index 361f7eabbcac70858dfefeb5bad3db50e72fec49..95557c0fadf7fe838d8c9dbc2d5106493fd58d25 100644 (file)
@@ -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}" \
This page took 0.127192 seconds and 4 git commands to generate.