public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simon de Vlieger <cmdr@supakeen.com>
To: git-commits@fedoraproject.org
Subject: [rpms/webalizer] epel9: universal specfile for epel9 and epel10
Date: Sun, 08 Nov 2026 08:18:06 GMT [thread overview]
Message-ID: <179412588678.1.1276507492488779967.rpms-webalizer-ca2d4c15b2c2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/webalizer
Branch : epel9
Commit : ca2d4c15b2c2c6b6d95d65bb5165b33cf1925df2
Author : Simon de Vlieger <cmdr@supakeen.com>
Date : 2026-11-08T09:08:22+01:00
Stats : +28/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/webalizer/c/ca2d4c15b2c2c6b6d95d65bb5165b33cf1925df2?branch=epel9
Log:
universal specfile for epel9 and epel10
I've wanted to bring webalizer to EPEL9 and EPEL10 for a while; this
changes up the specfile to do that from the same one as we run on
rawhide.
Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
---
diff --git a/webalizer.spec b/webalizer.spec
index b27690c..00d45c5 100644
--- a/webalizer.spec
+++ b/webalizer.spec
@@ -10,7 +10,7 @@
Name: webalizer
Summary: A flexible Web server log file analysis program
Version: 2.23_08
-Release: 31%{?dist}
+Release: 32%{?dist}
URL: http://www.mrunix.net/webalizer/
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
@@ -32,7 +32,11 @@ Patch25: 27_fix_compilation_with_gcc-10.diff
BuildRequires: make
BuildRequires: gcc
BuildRequires: gd-devel, %{db_devel}, bzip2-devel
+%if !0%{?rhel} || 0%{?rhel} > 10
BuildRequires: GeoIP-devel
+%else
+Requires(pre): shadow-utils
+%endif
Requires: httpd, crontabs
%description
@@ -54,15 +58,22 @@ Web traffic is coming from easy.
%patch -P24 -p1 -b .sample_typo
%patch -P25 -p1 -b .gcc10_common_support
+%if !0%{?rhel} || 0%{?rhel} > 10
# Create a sysusers.d config file
cat >webalizer.sysusers.conf <<EOF
u webalizer - 'Webalizer' %{_localstatedir}/www/usage -
EOF
+%endif
%build
#CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
#CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -D_GNU_SOURCE" ; export CFLAGS
-%configure --enable-dns --enable-bz2 --enable-geoip
+%configure --enable-dns --enable-bz2 \
+%if 0%{?rhel} && 0%{?rhel} <= 10
+ --disable-geoip
+%else
+ --enable-geoip
+%endif
%make_build
@@ -87,7 +98,16 @@ install -p -m 644 %{SOURCE4} \
rm -f %{buildroot}%{_sysconfdir}/webalizer.conf.sample
+%if !0%{?rhel} || 0%{?rhel} > 10
install -m0644 -D webalizer.sysusers.conf %{buildroot}%{_sysusersdir}/webalizer.conf
+%else
+%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
+%endif
%files
@@ -101,9 +121,15 @@ 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
+%if !0%{?rhel} || 0%{?rhel} > 10
%{_sysusersdir}/webalizer.conf
+%endif
%changelog
+* Sun Nov 08 2026 Webalizer maintainers - 2.23_08-32
+- Support EPEL 9 and 10 without the unavailable legacy GeoIP library
+- Create the system account with a scriptlet on EPEL 9 and 10
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-08 8:18 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=179412588678.1.1276507492488779967.rpms-webalizer-ca2d4c15b2c2@fedoraproject.org \
--to=cmdr@supakeen.com \
--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