Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7dd1638b9c | ||
|
|
eaab36ec0d | ||
|
|
140b2f2f29 | ||
|
|
061d6909e0 | ||
|
|
98204d12f1 | ||
|
|
4337b4d498 | ||
|
|
a03c012620 |
1 changed files with 38 additions and 18 deletions
|
|
@ -10,9 +10,10 @@
|
|||
Name: webalizer
|
||||
Summary: A flexible Web server log file analysis program
|
||||
Version: 2.23_08
|
||||
Release: 23%{?dist}
|
||||
Release: 29%{?dist}
|
||||
URL: http://www.mrunix.net/webalizer/
|
||||
License: GPLv2+
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tgz
|
||||
Source1: webalizer.conf
|
||||
Source2: webalizer.cron
|
||||
|
|
@ -32,7 +33,6 @@ BuildRequires: make
|
|||
BuildRequires: gcc
|
||||
BuildRequires: gd-devel, %{db_devel}, bzip2-devel
|
||||
BuildRequires: GeoIP-devel
|
||||
Requires(pre): shadow-utils
|
||||
Requires: httpd, crontabs
|
||||
|
||||
%description
|
||||
|
|
@ -44,15 +44,20 @@ Web traffic is coming from easy.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{ver}-%{patchlevel}
|
||||
%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
|
||||
%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
|
||||
|
||||
%build
|
||||
#CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS
|
||||
|
|
@ -82,12 +87,8 @@ install -p -m 644 %{SOURCE4} \
|
|||
|
||||
rm -f %{buildroot}%{_sysconfdir}/webalizer.conf.sample
|
||||
|
||||
%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
|
||||
install -m0644 -D webalizer.sysusers.conf %{buildroot}%{_sysusersdir}/webalizer.conf
|
||||
|
||||
|
||||
%files
|
||||
%doc README
|
||||
|
|
@ -100,8 +101,27 @@ exit 0
|
|||
%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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue