Compare commits

..

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

View file

@ -10,7 +10,7 @@
Name: webalizer
Summary: A flexible Web server log file analysis program
Version: 2.23_08
Release: 29%{?dist}
Release: 26%{?dist}
URL: http://www.mrunix.net/webalizer/
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
@ -33,6 +33,7 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: gd-devel, %{db_devel}, bzip2-devel
BuildRequires: GeoIP-devel
Requires(pre): shadow-utils
Requires: httpd, crontabs
%description
@ -54,11 +55,6 @@ Web traffic is coming from easy.
%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
%build
#CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
#CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -D_GNU_SOURCE" ; export CFLAGS
@ -87,8 +83,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,18 +101,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