From a24cecceabf9f467249cfe78fd7e2d3c5fab2e7a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:43:33 +0100 Subject: [PATCH] fix permissions of /var/lib/awstats http conf file fixed for apache 2.4 [release 7.4-2mamba;Thu Sep 24 2015] --- awstats-httpd.conf | 1 + awstats.spec | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/awstats-httpd.conf b/awstats-httpd.conf index 0443758..7bf8ce3 100644 --- a/awstats-httpd.conf +++ b/awstats-httpd.conf @@ -15,6 +15,7 @@ ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" Options None AllowOverride None Order allow,deny + Require all granted Allow from all diff --git a/awstats.spec b/awstats.spec index 346dbd4..aac434c 100644 --- a/awstats.spec +++ b/awstats.spec @@ -1,12 +1,12 @@ %define httpdconf_path /etc/httpd %define awstats_user awstats %define awstats_nuser 65036 -%define awstats_group apache +%define awstats_group nobody %define awstats_home /var/lib/awstats Name: awstats Version: 7.4 -Release: 1mamba +Release: 2mamba Summary: AWStats is a free log analyzer Group: Graphical Desktop/Applications/Internet Vendor: openmamba @@ -21,6 +21,11 @@ Patch0: %{name}-6.9-awstats_model_conf.patch Patch1: %{name}-created_dir_mode.patch License: GPL BuildArch: noarch +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-devel +BuildRequires: perl-libwww +## AUTOBUILDREQ-END #Requires: perl-Geo-IP #Requires: perl-Time-HiRes #Requires: perl-Storable @@ -121,6 +126,10 @@ exit 0 %doc docs/* tools/webmin tools/xslt %changelog +* Thu Sep 24 2015 Silvan Calarco 7.4-2mamba +- fix permissions of /var/lib/awstats +- http conf file fixed for apache 2.4 + * Thu Aug 13 2015 Automatic Build System 7.4-1mamba - automatic version update by autodist