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] epel9: auto-import changelog data from webalizer-2.01_10-18.src.rpm
Date: Sun, 08 Nov 2026 08:17:05 GMT	[thread overview]
Message-ID: <179412582597.1.6368347328436728056.rpms-webalizer-1aa9cabecf7d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/webalizer
            Branch : epel9
            Commit : 1aa9cabecf7d97ab946e63e33f881ec35b134180
            Author : cvsdist <cvsdist@fedoraproject.org>
            Date   : 2004-09-09T14:20:56+00:00
            Stats  : +84/-16 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/webalizer/c/1aa9cabecf7d97ab946e63e33f881ec35b134180?branch=epel9

            Log:
            auto-import changelog data from webalizer-2.01_10-18.src.rpm
Thu Jan 08 2004 Joe Orton <jorton@redhat.com> 2.01_10-18
- update default config
Thu Jan 08 2004 Joe Orton <jorton@redhat.com> 2.01_10-17
- add fix for #111433
Fri Nov 28 2003 Joe Orton <jorton@redhat.com> 2.01_10-16
- merge from Taroon
Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add %clean specfile target
Fri Aug 01 2003 Joe Orton <jorton@redhat.com> 2.01_10-15.ent
- support large (>2gb) log files on 32-bit platforms
- move default output directory to /var/www/usage
- add conf.d/webalizer.conf to add alias for /usage
- only allow access to usage stats from localhost by default
- change default config: don't ignore out-of-sequence log entries, count
    .php and .shtml as "page" extensions.
Thu Jul 03 2003 Joe Orton <jorton@redhat.com>
- rebuilt

---
diff --git a/webalizer-2.01-10-overflow.patch b/webalizer-2.01-10-overflow.patch
new file mode 100644
index 0000000..4dbf67c
--- /dev/null
+++ b/webalizer-2.01-10-overflow.patch
@@ -0,0 +1,11 @@
+--- webalizer-2.01-10/dns_resolv.c.overflow	2004-01-08 14:51:04.000000000 +0000
++++ webalizer-2.01-10/dns_resolv.c	2004-01-08 14:51:11.000000000 +0000
+@@ -156,7 +156,7 @@
+          strncpy (log_rec->hostname,
+                   ((struct dnsRecord *)response.data)->hostName,
+                   MAXHOST);
+-         log_rec->hostname[MAXHOST]=0;
++         log_rec->hostname[MAXHOST-1]=0;
+          if (debug_mode)
+             fprintf(stderr," found: %s (%ld)\n",
+              log_rec->hostname, alignedRecord.timeStamp);

diff --git a/webalizer-2.01_10-lfs.patch b/webalizer-2.01_10-lfs.patch
new file mode 100644
index 0000000..938837e
--- /dev/null
+++ b/webalizer-2.01_10-lfs.patch
@@ -0,0 +1,11 @@
+--- webalizer-2.01-10/webalizer.c.lfs	2002-04-16 23:11:31.000000000 +0100
++++ webalizer-2.01-10/webalizer.c	2003-08-02 09:42:11.000000000 +0100
+@@ -419,7 +419,7 @@
+    {
+       if (log_fname)
+       {
+-         log_fp = fopen(log_fname,"r");
++         log_fp = fopen64(log_fname,"r");
+          if (log_fp==NULL)
+          {
+             /* Error: Can't open log file ... */

diff --git a/webalizer-httpd.conf b/webalizer-httpd.conf
new file mode 100644
index 0000000..ef95f4e
--- /dev/null
+++ b/webalizer-httpd.conf
@@ -0,0 +1,13 @@
+#
+# This configuration file maps the webalizer log analysis
+# results (generated daily) into the URL space.  By default
+# these results are only accessible from the local host.
+# 
+Alias /usage /var/www/usage
+
+<Location /usage>
+    Order deny,allow
+    Deny from all
+    Allow from localhost
+    # Allow from .example.com
+</Location>

diff --git a/webalizer.conf b/webalizer.conf
index 8e5a553..a485257 100644
--- a/webalizer.conf
+++ b/webalizer.conf
@@ -39,7 +39,7 @@ LogFile        /var/log/httpd/access_log
 # should be a full path name, however relative ones might work as well.
 # If no output directory is specified, the current directory will be used.
 
-OutputDir      /var/www/html/usage
+OutputDir      /var/www/usage
 
 # HistoryName allows you to specify the name of the history file produced
 # by the Webalizer.  The history file keeps the data for up to 12 months
@@ -107,6 +107,8 @@ IncrementalName	/var/lib/webalizer/webalizer.current
 
 PageType	htm*
 PageType	cgi
+PageType        php
+PageType        shtml
 #PageType	phtml
 #PageType	php3
 #PageType	pl
@@ -229,14 +231,10 @@ Quiet		yes
 #Debug		no
 
 # FoldSeqErr forces the Webalizer to ignore sequence errors.
-# This is useful for Netscape and other web servers that cache
-# the writing of log records and do not guarentee that they
-# will be in chronological order.  The use of the FoldSeqErr
-# option will cause out of sequence log records to be treated
-# as if they had the same time stamp as the last valid record.
-# Default is to ignore out of sequence log records.
-
-#FoldSeqErr	no
+# The Apache HTTP server may generate out-of-sequence log entries
+# so this option is enabled.
+
+FoldSeqErr	yes
 
 # VisitTimeout allows you to set the default timeout for a visit
 # (sometimes called a 'session').  The default is 30 minutes,

diff --git a/webalizer.spec b/webalizer.spec
index 1cd57ed..133e7e8 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -5,7 +5,7 @@ Name: webalizer
 Summary: A flexible Web server log file analysis program.
 Group: Applications/Internet
 Version: %{ver}_%{patchlevel}
-Release: 14
+Release: 18
 URL: http://www.mrunix.net/webalizer/
 License: GPL
 Buildroot: %{_tmppath}/%{name}-root
@@ -13,9 +13,12 @@ Buildroot: %{_tmppath}/%{name}-root
 Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tar.bz2
 Source1: webalizer.conf
 Source2: webalizer.cron
+Source3: webalizer-httpd.conf
 
 Patch0:  webalizer-2.01-06-rh.patch
 Patch1: dns-db1.patch
+Patch2: webalizer-2.01_10-lfs.patch
+Patch3: webalizer-2.01-10-overflow.patch
 
 BuildPrereq: gd-devel
 BuildPrereq: zlib-devel
@@ -38,10 +41,12 @@ Web traffic is coming from easy.
 %setup -q -n %{name}-%{ver}-%{patchlevel}
 %patch0 -p1 -b .rh
 %patch1 -p1 -b .db1
+%patch2 -p1 -b .lfs
+%patch3 -p1 -b .overflow
 
 %build
 CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
-CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" ; export CFLAGS
+CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -D_LARGEFILE64_SOURCE" ; export CFLAGS
 %configure --enable-dns --with-dblib=/lib
 
 make
@@ -51,7 +56,7 @@ 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/var/www/usage \
          $RPM_BUILD_ROOT/etc/cron.daily
 
 mkdir -p $RPM_BUILD_ROOT/var/lib/webalizer
@@ -59,12 +64,18 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/webalizer
 %makeinstall
 
 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 644 *.png $RPM_BUILD_ROOT/var/www/usage
 install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/00webalizer
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
+install -m 644 $RPM_SOURCE_DIR/webalizer-httpd.conf \
+        $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/webalizer.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %pre
 /usr/sbin/adduser -c "Webalizer" -u 67 \
-	-s /sbin/nologin -r -d /var/www/html/usage webalizer 2>/dev/null || :
+	-s /sbin/nologin -r -d /var/www/usage webalizer 2>/dev/null || :
 
 %post
 # are we upgrading?
@@ -95,11 +106,35 @@ fi
 %config /etc/webalizer.conf
 /etc/webalizer.conf.sample
 %config(noreplace) /etc/cron.daily/00webalizer
-%attr(-, webalizer, root) %dir /var/www/html/usage
+%config(noreplace) /etc/httpd/conf.d/webalizer.conf
+%attr(-, webalizer, root) %dir /var/www/usage
 %attr(-, webalizer, root) %dir /var/lib/webalizer
-%attr(-, webalizer, root) /var/www/html/usage/*.png
+%attr(-, webalizer, root) /var/www/usage/*.png
 
 %changelog
+* Thu Jan  8 2004 Joe Orton <jorton@redhat.com> 2.01_10-18
+- update default config
+
+* Thu Jan  8 2004 Joe Orton <jorton@redhat.com> 2.01_10-17
+- add fix for #111433
+
+* Fri Nov 28 2003 Joe Orton <jorton@redhat.com> 2.01_10-16
+- merge from Taroon
+
+* Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
+- add %%clean specfile target
+
+* Fri Aug  1 2003 Joe Orton <jorton@redhat.com> 2.01_10-15.ent
+- support large (>2gb) log files on 32-bit platforms
+- move default output directory to /var/www/usage
+- add conf.d/webalizer.conf to add alias for /usage
+- only allow access to usage stats from localhost by default
+- change default config: don't ignore out-of-sequence log entries,
+  count .php and .shtml as "page" extensions.
+
+* Thu Jul  3 2003 Joe Orton <jorton@redhat.com> 
+- rebuilt
+
 * Wed Jun 05 2003 Elliot Lee <sopwith@redhat.com>
 - rebuilt
 

                 reply	other threads:[~2026-11-08  8:17 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=179412582597.1.6368347328436728056.rpms-webalizer-1aa9cabecf7d@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