1 |
# $Id: smeserver-mailman.spec,v 1.10 2022/04/10 21:32:06 jpp Exp $ |
# $Id: smeserver-mailman.spec,v 1.16 2022/07/24 02:08:18 jpp Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
10 |
%define name smeserver-mailman |
%define name smeserver-mailman |
11 |
Name: %{name} |
Name: %{name} |
12 |
%define version 1.5.0 |
%define version 1.5.0 |
13 |
%define release 14 |
%define release 16 |
14 |
Version: %{version} |
Version: %{version} |
15 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
16 |
License: GPL |
License: GPL |
26 |
Obsoletes: e-smith-mailman |
Obsoletes: e-smith-mailman |
27 |
Provides: e-smith-mailman |
Provides: e-smith-mailman |
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch |
#Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch |
30 |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
31 |
Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch |
Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch |
32 |
Patch3: smeserver-mailman-1.5.0-bz11278-systemd.patch |
Patch3: smeserver-mailman-1.5.0-bz11278-systemd.patch |
33 |
Patch4: smeserver-mailman-1.5.0-bz11278-wrapper.patch |
Patch4: smeserver-mailman-1.5.0-bz11278-wrapper.patch |
34 |
Patch5: smeserver-mailman-1.5.0-bz11937.patch |
Patch5: smeserver-mailman-1.5.0-bz11937.patch |
35 |
|
Patch6: smeserver-mailman-1.5.0-bz11941-checkperms.patch |
36 |
|
Patch7: smeserver-mailman-1.5.0-bz2248-bz2247-enabled-localonly.patch |
37 |
|
Patch8: smeserver-mailman-1.5.0-locale-2022-07-24.patch |
38 |
|
Patch9: smeserver-mailman-1.5.0-bz12015-backup.patch |
39 |
|
|
40 |
%description |
%description |
41 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-16.sme |
45 |
|
- apply locale 2022-07-24.patch |
46 |
|
- add to core backup [SME: 12015] |
47 |
|
remove patch only adding to dar in SME 2411 |
48 |
|
- already compatible with httpd 2.4 syntax [SME: 12050] |
49 |
|
|
50 |
|
* Tue Apr 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-15.sme |
51 |
|
- fix permissions as expected by mailman [SME: 11941] |
52 |
|
- make mailman enabled on install [SME: 2248] |
53 |
|
- by default listinfo is public [SME: 2247] |
54 |
|
- by default admin and archives are private [SME: 2247] |
55 |
|
- make access modifiable [SME: 2247] |
56 |
|
|
57 |
* Tue Apr 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-14.sme |
* Tue Apr 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-14.sme |
58 |
- increase master password size to 18 [SME: 11937] |
- increase master password size to 18 [SME: 11937] |
59 |
|
|
338 |
|
|
339 |
%prep |
%prep |
340 |
%setup |
%setup |
341 |
%patch0 -p1 |
#%patch0 -p1 |
342 |
%patch1 -p1 |
%patch1 -p1 |
343 |
%patch2 -p1 |
%patch2 -p1 |
344 |
%patch3 -p1 |
%patch3 -p1 |
345 |
%patch4 -p1 |
%patch4 -p1 |
346 |
%patch5 -p1 |
%patch5 -p1 |
347 |
|
%patch6 -p1 |
348 |
|
%patch7 -p1 |
349 |
|
%patch8 -p1 |
350 |
|
%patch9 -p1 |
351 |
|
|
352 |
#/bin/rm -r root/opt/mailman |
#/bin/rm -r root/opt/mailman |
353 |
|
|
375 |
--dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ |
--dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ |
376 |
--file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ |
--file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ |
377 |
--file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ |
--file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ |
378 |
--file '/usr/lib/mailman/bin/smelist.pl' 'attr(02755,root,root)' \ |
--file '/usr/lib/mailman/bin/smelist.pl' 'attr(02755,root,mailman)' \ |
379 |
--file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ |
--file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,mailman,mailman)' \ |
380 |
--dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles' 'attr(02775,mailman,mailman)' \ |
381 |
--dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ |
382 |
--dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \ |
383 |
--dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \ |