public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: cvsdist <cvsdist@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/webalizer] epel10: auto-import webalizer-2.01_09-1.72 from webalizer-2.01_09-1.72.src.rpm
Date: Sun, 08 Nov 2026 08:15:50 GMT	[thread overview]
Message-ID: <179412575076.1.848351805098057874.rpms-webalizer-77c05e656af7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/webalizer
Branch : epel10
Commit : 77c05e656af7a25325130ea5e90084a74b6480d7
Author : cvsdist <cvsdist@fedoraproject.org>
Date   : 2004-09-09T14:17:25+00:00
Stats  : +60/-23 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/webalizer/c/77c05e656af7a25325130ea5e90084a74b6480d7?branch=epel10

Log:
auto-import webalizer-2.01_09-1.72 from webalizer-2.01_09-1.72.src.rpm

---
diff --git a/webalizer.conf b/webalizer.conf
index df1a485..8e5a553 100644
--- a/webalizer.conf
+++ b/webalizer.conf
@@ -49,7 +49,7 @@ OutputDir      /var/www/html/usage
 # it will be kept in the specified output directory.  Otherwise, the path
 # is relative to the output directory, unless absolute (leading /).
 
-#HistoryName	webalizer.hist
+HistoryName	/var/lib/webalizer/webalizer.hist
 
 # Incremental processing allows multiple partial log files to be used
 # instead of one huge one.  Useful for large sites that have to rotate
@@ -64,7 +64,7 @@ OutputDir      /var/www/html/usage
 # with the IncrementalName option below).  Please read at least the section
 # on Incremental processing in the README file before you enable this option.
 
-#Incremental	no
+Incremental	yes
 
 # IncrementalName allows you to specify the filename for saving the
 # incremental data in.  It is similar to the HistoryName option where the
@@ -73,7 +73,7 @@ OutputDir      /var/www/html/usage
 # kept in the normal output directory.  If you don't specify "Incremental"
 # as 'yes' then this option has no meaning.
 
-#IncrementalName	webalizer.current
+IncrementalName	/var/lib/webalizer/webalizer.current
 
 # ReportTitle is the text to display as the title.  The hostname
 # (unless blank) is appended to the end of this string (seperated with
@@ -126,7 +126,7 @@ PageType	cgi
 # relative to the default output directory.  See the DNS.README file for
 # additional information.
 
-#DNSCache	dns_cache.db
+DNSCache	/var/lib/webalizer/dns_cache.db
 
 # DNSChildren allows you to specify how many "children" processes are
 # run to perform DNS lookups to create or update the DNS cache file.
@@ -140,7 +140,7 @@ PageType	cgi
 # normal system operations.  Reasonable values should be between 5 and
 # 20.  See the DNS.README file for additional information.
 
-#DNSChildren	0
+DNSChildren	10
 
 # HTMLPre defines HTML code to insert at the very beginning of the
 # file.  Default is the DOCTYPE line shown below.  Max line length
@@ -191,7 +191,7 @@ PageType	cgi
 # "yes" or "no".  Default is "no".  Note: this does not suppress
 # warnings and errors (which are printed to stderr).
 
-#Quiet		no
+Quiet		yes
 
 # ReallyQuiet will supress all messages including errors and
 # warnings.  Values can be 'yes' or 'no' with 'no' being the

diff --git a/webalizer.spec b/webalizer.spec
index a5986ed..3ec8eb2 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -1,20 +1,30 @@
 %define ver 2.01
 %define patchlevel 09
-Name:      webalizer
+
+Name: webalizer
 Summary: A flexible Web server log file analysis program.
 Group: Applications/Internet
-Version:   %{ver}_%{patchlevel}
-Release:   0.72s.1
-Source0:   ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tar.bz2
-Source1:   webalizer.conf
-Source2:   webalizer.cron
-Patch0:    webalizer-2.01-06-rh.patch
-Patch1:    dns-db1.patch
-URL:       http://www.mrunix.net/webalizer/
-License:   GPL
-Requires:  webserver
+Version: %{ver}_%{patchlevel}
+Release: 1.72
+URL: http://www.mrunix.net/webalizer
+License: GPL
 Buildroot: %{_tmppath}/%{name}-root
-BuildPrereq: gd-devel, zlib-devel, libpng-devel
+
+Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tar.bz2
+Source1: webalizer.conf
+Source2: webalizer.cron
+
+Patch0: webalizer-2.01-06-rh.patch
+Patch1: dns-db1.patch
+Patch2: webalizer-2.01-09-dns.patch
+
+Requires: webserver
+Prereq: fileutils
+
+BuildPrereq: gd-devel
+BuildPrereq: zlib-devel
+BuildPrereq: libpng-devel
+BuildPrereq: perl
 
 %description
 The Webalizer is a Web server log analysis program. It is designed to
@@ -27,6 +37,7 @@ Web traffic is coming from easy.
 %setup -q -n %{name}-%{ver}-%{patchlevel}
 %patch0 -p1 -b .rh
 %patch1 -p1 -b .db1
+%patch2 -p1 -b .dns
 
 %build
 %configure --enable-dns
@@ -40,7 +51,8 @@ rm -fr $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_bindir} \
          $RPM_BUILD_ROOT/%{_mandir}/man1 \
          $RPM_BUILD_ROOT/var/www/html/usage \
-         $RPM_BUILD_ROOT/etc/cron.daily
+         $RPM_BUILD_ROOT/etc/cron.daily \
+         $RPM_BUILD_ROOT/var/lib/webalizer
 
 %makeinstall
 
@@ -48,6 +60,26 @@ install -m 644 $RPM_SOURCE_DIR/webalizer.conf $RPM_BUILD_ROOT/etc
 install -m 644 *.png $RPM_BUILD_ROOT/var/www/html/usage
 install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/00webalizer
 
+%post
+# are we upgrading?
+if [ $1 -gt 1 ]; then
+  if [ -f /var/www/html/usage/webalizer.current ]; then
+       mv /var/www/html/usage/webalizer.current /var/lib/webalizer
+  fi
+  if [ -f /var/www/html/usage/webalizer.hist ]; then
+       mv /var/www/html/usage/webalizer.hist /var/lib/webalizer
+  fi
+
+fi
+
+%triggerpostun -- webalizer <= 2.0
+# older files incompatible with 2.01 and later
+# trigger will run (if necessary) after postinstall script
+if [ -f /var/lib/webalizer/webalizer.current ]; then
+  rm -f /var/lib/webalizer/webalizer.current
+fi
+
+
 %files
 %defattr(-,root,root)
 %doc README
@@ -56,13 +88,18 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/00webalizer
 %config(noreplace) /etc/webalizer.conf
 %config(noreplace) /etc/cron.daily/00webalizer
 %dir /var/www/html/usage
+%dir /var/lib/webalizer
 /var/www/html/usage/*.png
 
 %changelog
-* Wed Mar 18 2003 D. Marlin <dmarlin@redhat.com>
-- new s390 release number and rebuild for s390 (bug #85960)
-
-* Wed Oct 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.01_09-1
+* Mon Nov  4 2002 Than Ngo <than@redhat.com> 2.01_09-1.72
+- fix posible obscure buffer overflow bug in DNS resolver code
+- put transient files in /var/lib/webalizer
+- make default quiet operation
+- allows multiple partial log files to be used instead of one huge one. (#60295)
+- dns_cache missing (#64392)
+
+* Wed Oct 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.01_09-0.72
 - Update to 2.01-09, fixing security bugs
 
 * Thu Sep 20 2001 Than Ngo <than@redhat.com> 2.01_06-13

                 reply	other threads:[~2026-11-08  8:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179412575076.1.848351805098057874.rpms-webalizer-77c05e656af7@fedoraproject.org \
    --to=cvsdist@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox