Compare commits

..

No commits in common. "rawhide" and "f39" have entirely different histories.

View file

@ -10,10 +10,9 @@
Name: webalizer
Summary: A flexible Web server log file analysis program
Version: 2.23_08
Release: 29%{?dist}
Release: 23%{?dist}
URL: http://www.mrunix.net/webalizer/
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tgz
Source1: webalizer.conf
Source2: webalizer.cron
@ -33,6 +32,7 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: gd-devel, %{db_devel}, bzip2-devel
BuildRequires: GeoIP-devel
Requires(pre): shadow-utils
Requires: httpd, crontabs
%description
@ -44,20 +44,15 @@ Web traffic is coming from easy.
%prep
%setup -q -n %{name}-%{ver}-%{patchlevel}
%patch -P4 -p1 -b .underrun
%patch -P6 -p1 -b .confuser
%patch -P9 -p1 -b .groupvisit
%patch -P10 -p1 -b .memmove
%patch -P21 -p1 -b .spelling_error
%patch -P22 -p1 -b .cast_warnings
%patch -P23 -p1 -b .sample_add_search_engines
%patch -P24 -p1 -b .sample_typo
%patch -P25 -p1 -b .gcc10_common_support
# Create a sysusers.d config file
cat >webalizer.sysusers.conf <<EOF
u webalizer - 'Webalizer' %{_localstatedir}/www/usage -
EOF
%patch4 -p1 -b .underrun
%patch6 -p1 -b .confuser
%patch9 -p1 -b .groupvisit
%patch10 -p1 -b .memmove
%patch21 -p1 -b .spelling_error
%patch22 -p1 -b .cast_warnings
%patch23 -p1 -b .sample_add_search_engines
%patch24 -p1 -b .sample_typo
%patch25 -p1 -b .gcc10_common_support
%build
#CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
@ -87,8 +82,12 @@ install -p -m 644 %{SOURCE4} \
rm -f %{buildroot}%{_sysconfdir}/webalizer.conf.sample
install -m0644 -D webalizer.sysusers.conf %{buildroot}%{_sysusersdir}/webalizer.conf
%pre
getent group webalizer >/dev/null || groupadd -r webalizer
getent passwd webalizer >/dev/null || \
useradd -r -g webalizer -d %{_localstatedir}/www/usage -s /sbin/nologin \
-c "Webalizer" webalizer
exit 0
%files
%doc README
@ -101,27 +100,8 @@ install -m0644 -D webalizer.sysusers.conf %{buildroot}%{_sysusersdir}/webalizer.
%attr(-, webalizer, root) %dir %{_localstatedir}/www/usage
%attr(-, webalizer, root) %dir %{_localstatedir}/lib/webalizer
%attr(-, webalizer, root) %{_localstatedir}/www/usage/*.png
%{_sysusersdir}/webalizer.conf
%changelog
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.23_08-28
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 2.23_08-26
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild