--- rpms/smeserver-mailman/contribs10/smeserver-mailman.spec 2022/04/10 20:18:28 1.7 +++ rpms/smeserver-mailman/contribs10/smeserver-mailman.spec 2022/04/10 21:32:06 1.10 @@ -1,15 +1,16 @@ -# $Id: smeserver-mailman.spec,v 1.6 2022/03/15 18:15:59 jpp Exp $ +# $Id: smeserver-mailman.spec,v 1.9 2022/04/10 21:17:10 jpp Exp $ # Authority: gordonr # Name: Gordon Rowell # avoid brp bytecompile %define __os_install_post %{nil} +%define debug_package %{nil} Summary: Mailman configuration for SME server. %define name smeserver-mailman Name: %{name} %define version 1.5.0 -%define release 12 +%define release 13 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -29,11 +30,15 @@ Patch0: smeserver-mailman-1.5.0.bz2411.B Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch Patch3: smeserver-mailman-1.5.0-bz11278-systemd.patch +Patch4: smeserver-mailman-1.5.0-bz11278-wrapper.patch %description Add Mailman integration to the SME server. %changelog +* Sun Apr 10 2022 Jean-Philippe Pialasse 1.5.0-13.sme +- add c wrapper with setuid [SME: 11278] + * Sun Apr 10 2022 Jean-Philippe Pialasse 1.5.0-12.sme - fix missing service start [SME: 11278] add update event @@ -316,11 +321,15 @@ Add Mailman integration to the SME serve %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 #/bin/rm -r root/opt/mailman %build perl createlinks +gcc -o root/usr/lib/mailman/bin/smelist smelist.c + + mkdir -p root/usr/lib/mailman/aliases mkdir -p root/opt @@ -340,6 +349,7 @@ rm -f e-smith-%{version}-filelist --dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ --file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ --file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ + --file '/usr/lib/mailman/bin/smelist.pl' 'attr(02755,root,root)' \ --file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ --dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ --dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \