Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f76189fc0 | ||
|
|
8e91b6a90f | ||
|
|
2606b946b1 | ||
|
|
b6ea8817ff | ||
|
|
10904698c2 | ||
|
|
c231b20b1a | ||
|
|
b94553ec9e | ||
|
|
363123735e | ||
|
|
6017b8fd9a | ||
|
|
57e1482ad3 | ||
|
|
d5b473ba98 | ||
|
|
d99270e099 | ||
|
|
7ccb4daed5 | ||
|
|
86d86780f0 | ||
|
|
7cadd9bef3 | ||
|
|
dcfad47f52 | ||
|
|
826a627bfc | ||
|
|
baf3fea21f | ||
|
|
4dc3baa505 | ||
|
|
9fa9c69937 |
2 changed files with 51 additions and 105 deletions
38
awstats-awstats_path.patch
Normal file
38
awstats-awstats_path.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
From: Chris Caron <lead2gold@gmail.com>
|
||||
Date: Tue, 29 Nov 2016 20:33:53 -0500
|
||||
Subject: update default path to be more compatible with Linux distro
|
||||
Website: http://nuxref.com
|
||||
|
||||
Make it so you don't have to pass in the -awstats=/path/to/awstats.pl
|
||||
every time any script is called.
|
||||
|
||||
---
|
||||
|
||||
diff -Naur awstats-7.4/tools/awstats_buildstaticpages.pl awstats-7.4.patched/tools/awstats_buildstaticpages.pl
|
||||
--- awstats-7.4/tools/awstats_buildstaticpages.pl 2014-09-23 03:16:09.000000000 -0400
|
||||
+++ awstats-7.4.patched/tools/awstats_buildstaticpages.pl 2016-11-29 20:33:53.203777945 -0500
|
||||
@@ -299,6 +299,10 @@
|
||||
# Check if AWSTATS prog is found
|
||||
my $AwstatsFound=0;
|
||||
if (-s "$Awstats") { $AwstatsFound=1; }
|
||||
+elsif (-s "/usr/share/awstats/wwwroot/cgi-bin/awstats.pl") {
|
||||
+ $Awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl";
|
||||
+ $AwstatsFound=1;
|
||||
+}
|
||||
elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") {
|
||||
$Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl";
|
||||
$AwstatsFound=1;
|
||||
diff -Naur awstats-7.4/tools/awstats_updateall.pl awstats-7.4.patched/tools/awstats_updateall.pl
|
||||
--- awstats-7.4/tools/awstats_updateall.pl 2014-09-23 03:16:09.000000000 -0400
|
||||
+++ awstats-7.4.patched/tools/awstats_updateall.pl 2016-11-29 20:34:58.026745752 -0500
|
||||
@@ -129,6 +129,10 @@
|
||||
# Check if AWSTATS prog is found
|
||||
my $AwstatsFound=0;
|
||||
if (-s "$Awstats") { $AwstatsFound=1; }
|
||||
+ elsif (-s "/usr/share/awstats/wwwroot/cgi-bin/awstats.pl") {
|
||||
+ $Awstats="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl";
|
||||
+ $AwstatsFound=1;
|
||||
+ }
|
||||
elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") {
|
||||
$Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl";
|
||||
$AwstatsFound=1;
|
||||
118
awstats.spec
118
awstats.spec
|
|
@ -1,6 +1,6 @@
|
|||
Name: awstats
|
||||
Version: 7.8
|
||||
Release: 9%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Advanced Web Statistics
|
||||
License: GPLv3+
|
||||
URL: http://awstats.sourceforge.net
|
||||
|
|
@ -21,13 +21,13 @@ Patch3: awstats-CVE-2022-46391.patch
|
|||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: recode
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl-Net-IP, perl-Net-DNS, perl-Geo-IP
|
||||
Requires: crontabs
|
||||
Requires(post): perl-interpreter
|
||||
Requires: crontabs
|
||||
Requires(post): perl
|
||||
|
||||
# For systemd.macros
|
||||
BuildRequires: systemd
|
||||
|
|
@ -58,6 +58,7 @@ http://localhost/awstats/awstats.pl
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p 1
|
||||
|
||||
%patch1 -p 1
|
||||
%patch2 -p 1
|
||||
%patch3 -p 1
|
||||
|
|
@ -126,6 +127,7 @@ install -m 0750 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/%{name}
|
|||
# https://bugzilla.redhat.com/show_bug.cgi?id=1196549
|
||||
cd $RPM_BUILD_ROOT%{_datadir}/%{name}/wwwroot/icon
|
||||
for i in browser/adobe.png browser/seamonkey.png os/win*.png os/macos*.png cpu/intel.png cpu/ibm.png; do
|
||||
|
||||
cp -v os/unknown.png $i
|
||||
done
|
||||
cd -
|
||||
|
|
@ -168,85 +170,23 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 09 2023 Tim Jackson <rpm@timj.co.uk> - 7.8-9
|
||||
* Mon Jan 09 2023 Tim Jackson <rpm@timj.co.uk> - 7.8-3
|
||||
- Fix CVE-2022-46391 (rhbz #2150632)
|
||||
- Clean up spec file, removing conditionals for now-obsolete releases
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 7.8-7
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 7.8-4
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 30 2020 Tim Jackson <rpm@timj.co.uk> - 7.8-2
|
||||
- Fix CVE-2020-35176
|
||||
|
||||
* Fri Aug 07 2020 Tim Jackson <rpm@timj.co.uk> - 7.8-1
|
||||
- Version 7.8
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7.7-10
|
||||
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7.7-9
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7.7-6
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7.7-3
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Jan 08 2018 Petr Lautrbach <plautrba@redhat.com> - 7.7-1
|
||||
- Version 7.7
|
||||
|
||||
* Tue Jan 02 2018 Petr Lautrbach <plautrba@redhat.com> - 7.6-8
|
||||
* Tue Jan 02 2018 Petr Lautrbach <plautrba@redhat.com> - 7.6-4
|
||||
- Fix two path traversal issues in awstat.pl - CVE-2017-1000501 (#1529349)
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.6-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Jul 14 2017 Petr Pisar <ppisar@redhat.com> - 7.6-6
|
||||
- perl dependency renamed to perl-interpreter manually
|
||||
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
|
||||
|
||||
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 7.6-5
|
||||
- perl dependency renamed to perl-interpreter
|
||||
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
|
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 7.6-4
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Tue May 30 2017 Petr Lautrbach <plautrba@redhat.com> - 7.6-3
|
||||
* Tue May 30 2017 Petr Lautrbach <plautrba@redhat.com> - 7.6-3.1
|
||||
- Revert "Move cron file to awstats-cron"
|
||||
|
||||
* Tue May 23 2017 Petr Lautrbach <plautrba@redhat.com> - 7.6-2
|
||||
|
|
@ -256,54 +196,22 @@ fi
|
|||
* Wed Apr 12 2017 Petr Lautrbach <plautrba@redhat.com> - 7.6-1
|
||||
- version 7.6
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2016 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-5
|
||||
- Fix FTBFS when perl is not in the SRPM build root
|
||||
|
||||
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 7.4-4
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 25 2016 Petr Lautrbach <plautrba@redhat.com> 7.4-3
|
||||
* Tue Mar 01 2016 Petr Lautrbach <plautrba@redhat.com> 7.4-1
|
||||
- version 7.4
|
||||
- replace logos with Copyright and Trademark problem by unknown.png (#1196549)
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Sep 11 2015 Petr Lautrbach <plautrba@redhat.com> 7.4-1
|
||||
- version 7.4
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 7.3-3
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Fri Sep 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 7.3-2
|
||||
- Perl 5.20 rebuild
|
||||
* Fri Sep 05 2014 Petr Lautrbach <plautrba@redhat.com> 7.3-2
|
||||
- bring back Requires: perl-Geo-IP
|
||||
|
||||
* Wed Sep 03 2014 Petr Lautrbach <plautrba@redhat.com> 7.3-1
|
||||
- version 7.3
|
||||
|
||||
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 7.2-2
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Mon Jun 09 2014 Petr Lautrbach <plautrba@redhat.com> 7.2-1
|
||||
- version 7.2
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Oct 10 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 7.1.1-5
|
||||
- Add BR: systemd for systemd.macros (RHBZ #1017665).
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 7.1.1-3
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Tue Apr 02 2013 Petr Lautrbach <plautrba@redhat.com> 7.1.1-2
|
||||
- add a missing requirement on crontab and fix (#947040)
|
||||
- add missing requirements (#908981)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue