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 webalizer-2.01_10-8 from webalizer-2.01_10-8.src.rpm
Date: Sun, 08 Nov 2026 08:17:02 GMT	[thread overview]
Message-ID: <179412582265.1.13346711280144981145.rpms-webalizer-128248fe8907@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/webalizer
Branch : epel9
Commit : 128248fe8907953d8975b71be10f781fd6b21df8
Author : cvsdist <cvsdist@fedoraproject.org>
Date   : 2004-09-09T14:18:42+00:00
Stats  : +38/-10 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/webalizer/c/128248fe8907953d8975b71be10f781fd6b21df8?branch=epel9

Log:
auto-import webalizer-2.01_10-8 from webalizer-2.01_10-8.src.rpm

---
diff --git a/webalizer.conf b/webalizer.conf
index 68e4bba..8e5a553 100644
--- a/webalizer.conf
+++ b/webalizer.conf
@@ -140,7 +140,7 @@ DNSCache	/var/lib/webalizer/dns_cache.db
 # 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

diff --git a/webalizer.spec b/webalizer.spec
index b82a862..07287bd 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -4,7 +4,7 @@ Name: webalizer
 Summary: A flexible Web server log file analysis program.
 Group: Applications/Internet
 Version: %{ver}_%{patchlevel}
-Release: 1
+Release: 8
 Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tar.bz2
 Source1: webalizer.conf
 Source2: webalizer.cron
@@ -12,9 +12,9 @@ Patch0:  webalizer-2.01-06-rh.patch
 Patch1: dns-db1.patch
 URL: http://www.mrunix.net/webalizer/
 License: GPL
-Requires: webserver
 Buildroot: %{_tmppath}/%{name}-root
-BuildPrereq: gd-devel, zlib-devel, libpng-devel, db3-devel
+BuildPrereq: gd-devel, zlib-devel, libpng-devel, db4-devel
+Prereq: shadow-utils, fileutils
 
 %description
 The Webalizer is a Web server log analysis program. It is designed to
@@ -29,8 +29,9 @@ Web traffic is coming from easy.
 %patch1 -p1 -b .db1
 
 %build
-%configure --enable-dns
-perl -pi -e "s/-Wall -O2/$RPM_OPT_FLAGS/" Makefile
+CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
+CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS" ; export CFLAGS
+%configure --enable-dns --with-dblib=/lib
 
 make
 
@@ -50,6 +51,10 @@ 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
 
+%pre
+/usr/sbin/adduser -c "Webalizer" -u 67 \
+	-s /sbin/nologin -r -d /var/www/html/usage webalizer 2>/dev/null || :
+
 %post
 # are we upgrading?
 if [ $1 -gt 1 ]; then
@@ -59,7 +64,9 @@ if [ $1 -gt 1 ]; then
   if [ -f /var/www/html/usage/webalizer.hist ]; then
 	mv /var/www/html/usage/webalizer.hist /var/lib/webalizer
   fi
-  
+  for i in /var/lib/webalizer/* /var/www/html/usage/*; do
+   /bin/chown webalizer $i
+  done
 fi
 
 %triggerpostun -- webalizer <= 2.0
@@ -74,14 +81,35 @@ fi
 %defattr(-,root,root)
 %doc README
 %{_mandir}/man1/webalizer.1*
-%{_bindir}/*
+%attr(-, webalizer, root) %{_bindir}/*
 %config(noreplace) /etc/webalizer.conf
 %config(noreplace) /etc/cron.daily/00webalizer
-%dir /var/www/html/usage
-%dir /var/lib/webalizer
+%attr(-, webalizer, root) %dir /var/www/html/usage
+%attr(-, webalizer, root) %dir /var/lib/webalizer
 /var/www/html/usage/*.png
 
 %changelog
+* Mon Jul 01 2002 Than Ngo <than@redhat.com> 2.01_10-8
+- fix a bug in pre (bug #67634)
+
+* Wed Jun 27 2002 Than Ngo <than@redhat.com> 2.01_10-7
+- add shadow-utils in prereq 
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Fri Jun 21 2002 Than Ngo <than@redhat.com> 2.01_10-5
+- fixed bug #62062, #64392, #63685
+
+* Thu May 30 2002 Nalin Dahyabhai <nalin@redhat.com> 2.01_10-4
+- fixup some linkage problems (was getting db2, which shouldn't happen)
+
+* Sun May 26 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.01_10-2
+- Use db4
+
 * Wed Apr 17 2002 Than Ngo <than@redhat.com> 2.01_10-1
 - 2.01_10 fixes a posible buffer overflow bug in DNS resolver code
 

                 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=179412582265.1.13346711280144981145.rpms-webalizer-128248fe8907@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