--- rpms/smeserver-mailman/contribs10/smeserver-mailman.spec 2022/04/10 20:18:28 1.7 +++ rpms/smeserver-mailman/contribs10/smeserver-mailman.spec 2022/11/11 15:54:29 1.20 @@ -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.19 2022/07/30 17:48:40 brianr 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 19 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -18,34 +19,72 @@ Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base -Requires: e-smith-release >= 9.0 +Requires: e-smith-release >= 10.0 +Requires: e-smith-apache >= 2.6.0-19 Requires: mailman >= 2.1.9-20.el5.sme Requires: e-smith-formmagick >= 1.4.0-12 BuildRequires: e-smith-devtools >= 1.13.1-03 Obsoletes: e-smith-mailman Provides: e-smith-mailman AutoReqProv: no -Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch +#Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch 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 +Patch5: smeserver-mailman-1.5.0-bz11937.patch +Patch6: smeserver-mailman-1.5.0-bz11941-checkperms.patch +Patch7: smeserver-mailman-1.5.0-bz2248-bz2247-enabled-localonly.patch +Patch8: smeserver-mailman-1.5.0-locale-2022-07-24.patch +Patch9: smeserver-mailman-1.5.0-bz12015-backup.patch +Patch10: smeserver-mailman-1.5.0-bz12050-24syntax.patch +Patch11: smeserver-mailman-1.5.0-locale-2022-11-11.patch %description Add Mailman integration to the SME server. %changelog +* Fri Nov 11 2022 Jean-Philippe Pialasse 1.5.0-19.sme +- apply locale 2022-11-11 patch + +* Sat Jul 30 2022 Brian Read 1.5.0-18.sme +- Re-build and link to latest devtools [SME: 11997] + +* Sat Jul 30 2022 Jean-Philippe Pialasse 1.5.0-17.sme +- update to httpd 2.4 access syntax [SME: 12050] +- rebuild for core backup [SME: 12015] + +* Sat Jul 23 2022 Jean-Philippe Pialasse 1.5.0-16.sme +- apply locale 2022-07-24.patch +- add to core backup [SME: 12015] + remove patch only adding to dar in SME 2411 +- already compatible with httpd 2.4 syntax [SME: 12050] + +* Tue Apr 12 2022 Jean-Philippe Pialasse 1.5.0-15.sme +- Re-build and link to latest devtools permissions as expected by mailman [SME: 11941] +- make mailman enabled on install [SME: 2248] +- by default listinfo is public [SME: 2247] +- by default admin and archives are private [SME: 2247] +- make access modifiable [SME: 2247] + +* Tue Apr 12 2022 Jean-Philippe Pialasse 1.5.0-14.sme +- increase master password size to 18 [SME: 11937] + +* 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] +- Re-build and link to latest devtools missing service start [SME: 11278] add update event * Tue Mar 15 2022 Jean-Philippe Pialasse 1.5.0-11.sme -- fix www line should be after apache line in /etc/group [SME: 8056] +- Re-build and link to latest devtools www line should be after apache line in /etc/group [SME: 8056] * Mon Aug 23 2021 Terry Fage 1.5.0-10.sme - apply locale 2021-08-22 patch * Thu Jun 03 2021 Jean-Philippe Pialasse 1.5.0-9.sme -- fix conflicting folders [SME: 11278] +- Re-build and link to latest devtools conflicting folders [SME: 11278] * Mon Feb 22 2021 JP Pialasse 1.5.0-8.sme - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, @@ -71,10 +110,10 @@ Add Mailman integration to the SME serve - Initial release to sme9 * Fri Sep 20 2013 JP Pialasse 1.3.0-45.sme -- fix bug [SME: 7787] +- Re-build and link to latest devtools bug [SME: 7787] * Thu Sep 19 2013 JP Pialasse 1.3.0-44.sme -- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch +- Re-build and link to latest devtools case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch - wrong path to actions folder fixed - see [SME: 7845] @@ -82,13 +121,13 @@ Add Mailman integration to the SME serve - apply locale 2013-07-14 patch * Sun Jul 14 2013 JP Pialasse 1.3.0-41.sme -- fix signal-event hang on mailman restart [SME ] +- Re-build and link to latest devtools signal-event hang on mailman restart [SME ] * Mon Jul 01 2013 JP Pialasse 1.3.0-40.sme -- fix expanding pyc pyo [SME: 7730] +- Re-build and link to latest devtools expanding pyc pyo [SME: 7730] * Mon Jul 01 2013 JP Pialasse 1.3.0-38.sme - import to sme8 buildsys -- fix bootstrap hang [SME: 6693] +- Re-build and link to latest devtools bootstrap hang [SME: 6693] * Tue Mar 20 2012 SME Translation Server 1.3.0-37.el6 - apply locale 2012-03-20 patch @@ -312,15 +351,26 @@ Add Mailman integration to the SME serve %prep %setup -%patch0 -p1 +#%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -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,8 +390,9 @@ 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/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ - --dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ + --file '/usr/lib/mailman/bin/smelist.pl' 'attr(02755,root,mailman)' \ + --file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,mailman,mailman)' \ + --dir '/var/spool/mailman/qfiles' 'attr(02775,mailman,mailman)' \ --dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ --dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \ --dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \