provide user/group apache [release 2.4.59-2mamba;Thu Jun 06 2024]

This commit is contained in:
Silvan Calarco 2024-06-07 13:02:21 +02:00
parent 22879cda2f
commit 4e4349c2ce

View File

@ -6,7 +6,7 @@
Name: apache Name: apache
Version: 2.4.59 Version: 2.4.59
Release: 1mamba Release: 2mamba
Epoch: 1 Epoch: 1
Summary: The Apache webserver Summary: The Apache webserver
Group: System/Servers Group: System/Servers
@ -46,9 +46,10 @@ BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
#BuildRequires: libdistcache-devel
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: httpd = %{?epoch:%epoch:}%{version}-%{release} Provides: httpd = %{?epoch:%epoch:}%{version}-%{release}
Provides: user(apache)
Provides: group(apache)
Obsoletes: apache-source < 1:2.4.50 Obsoletes: apache-source < 1:2.4.50
%description %description
@ -107,7 +108,6 @@ Apache module for launching a CGI script as another user.
%setup -q -n httpd-%{version} %setup -q -n httpd-%{version}
#-D -T #-D -T
#:<< _EOF #:<< _EOF
#%patch 0 -p1
%patch 1 -p1 %patch 1 -p1
cat >> config.layout << _EOF cat >> config.layout << _EOF
@ -314,10 +314,6 @@ if [ $1 -eq 1 ]; then
# do configuration stuff # do configuration stuff
sed -i "s|^ServerAdmin .*|ServerAdmin webmaster@`hostname -d`|" \ sed -i "s|^ServerAdmin .*|ServerAdmin webmaster@`hostname -d`|" \
%{_sysconfdir}/httpd/httpd.conf %{_sysconfdir}/httpd/httpd.conf
if [ -d %{_sysconfdir}/qmail ]; then
install -d %{_sysconfdir}/qmail/alias/
echo "root" > %{_sysconfdir}/qmail/alias/.qmail-webmaster
fi
fi fi
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
@ -472,6 +468,9 @@ exit 0
%{_libdir}/apache/mod_suexec.so %{_libdir}/apache/mod_suexec.so
%changelog %changelog
* Thu Jun 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.59-2mamba
- provide user/group apache
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 2.4.59-1mamba * Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 2.4.59-1mamba
- automatic version update by autodist - automatic version update by autodist