use setuidgid and multilog from /usr/bin [SME: 12566]

This commit is contained in:
Trevor Batley 2024-03-30 18:28:36 +11:00
parent 6d496a39e6
commit 4a07442755
3 changed files with 10 additions and 7 deletions

View File

@ -30,14 +30,14 @@ fi
if [ $status = "enabled" ]; then if [ $status = "enabled" ]; then
exec \ exec \
/usr/local/bin/setuidgid smelog \ /usr/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \ /usr/bin/multilog t s5000000 \
n${num:-10} \ n${num:-10} \
!/usr/local/bin/qplogsumm.pl /var/log/qpsmtpd !/usr/local/bin/qplogsumm.pl /var/log/qpsmtpd
else else
exec \ exec \
/usr/local/bin/setuidgid smelog \ /usr/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \ /usr/bin/multilog t s5000000 \
n${num:-10} \ n${num:-10} \
/var/log/qpsmtpd /var/log/qpsmtpd
fi fi

View File

@ -24,7 +24,7 @@
num=`/sbin/e-smith/config getprop sqpsmtpd KeepLogFiles` num=`/sbin/e-smith/config getprop sqpsmtpd KeepLogFiles`
exec \ exec \
/usr/local/bin/setuidgid smelog \ /usr/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \ /usr/bin/multilog t s5000000 \
n${num:-10} \ n${num:-10} \
/var/log/sqpsmtpd /var/log/sqpsmtpd

View File

@ -4,7 +4,7 @@ Summary: SME Server qpsmtpd module
%define name smeserver-qpsmtpd %define name smeserver-qpsmtpd
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 3 %define release 4
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -47,6 +47,9 @@ AutoReqProv: no
SME Server qpsmtpd smtpd module SME Server qpsmtpd smtpd module
%changelog %changelog
* Sat Mar 30 2024 Trevor Batley <trevor@batley.id.au> 11.0.0-4.sme
- use setuidgid and multilog from /usr/bin [SME: 12566]
* Sat Mar 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-3.sme * Sat Mar 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-3.sme
- fix missing provides smeserver-smtpd [SME: 12521] - fix missing provides smeserver-smtpd [SME: 12521]