public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/webalizer] epel9: auto-import webalizer-2.01_10-8 from webalizer-2.01_10-8.src.rpm
@ 2026-11-08 8:17 cvsdist
0 siblings, 0 replies; only message in thread
From: cvsdist @ 2026-11-08 8:17 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-08 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 8:17 [rpms/webalizer] epel9: auto-import webalizer-2.01_10-8 from webalizer-2.01_10-8.src.rpm cvsdist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox