1 |
# $Id: smeserver-mailman.spec,v 1.6 2022/03/15 18:15:59 jpp Exp $ |
# $Id: smeserver-mailman.spec,v 1.7 2022/04/10 20:18:28 jpp Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
9 |
%define name smeserver-mailman |
%define name smeserver-mailman |
10 |
Name: %{name} |
Name: %{name} |
11 |
%define version 1.5.0 |
%define version 1.5.0 |
12 |
%define release 12 |
%define release 13 |
13 |
Version: %{version} |
Version: %{version} |
14 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
15 |
License: GPL |
License: GPL |
29 |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch |
30 |
Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch |
Patch2: smeserver-mailman-1.5.0-locale-2021-08-22.patch |
31 |
Patch3: smeserver-mailman-1.5.0-bz11278-systemd.patch |
Patch3: smeserver-mailman-1.5.0-bz11278-systemd.patch |
32 |
|
Patch4: smeserver-mailman-1.5.0-bz11278-wrapper.patch |
33 |
|
|
34 |
%description |
%description |
35 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme |
39 |
|
- add c wrapper with setuid [SME: 11278] |
40 |
|
|
41 |
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme |
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-12.sme |
42 |
- fix missing service start [SME: 11278] |
- fix missing service start [SME: 11278] |
43 |
add update event |
add update event |
320 |
%patch1 -p1 |
%patch1 -p1 |
321 |
%patch2 -p1 |
%patch2 -p1 |
322 |
%patch3 -p1 |
%patch3 -p1 |
323 |
|
%patch4 -p1 |
324 |
|
|
325 |
#/bin/rm -r root/opt/mailman |
#/bin/rm -r root/opt/mailman |
326 |
|
|
327 |
%build |
%build |
328 |
perl createlinks |
perl createlinks |
329 |
|
gcc -o root//usr/lib/mailman/bin/smelist smelist.c |
330 |
mkdir -p root/usr/lib/mailman/aliases |
mkdir -p root/usr/lib/mailman/aliases |
331 |
|
|
332 |
mkdir -p root/opt |
mkdir -p root/opt |
346 |
--dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ |
--dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ |
347 |
--file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ |
--file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ |
348 |
--file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ |
--file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ |
349 |
|
--file '/usr/lib/mailman/bin/smelist.pl' 'attr(02755,root,root)' \ |
350 |
--file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ |
--file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ |
351 |
--dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ |
352 |
--dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ |
--dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ |