1 |
# $Id: smeserver-mailman.spec,v 1.7 2022/04/10 20:18:28 jpp Exp $ |
# $Id: smeserver-mailman.spec,v 1.10 2022/04/10 21:32:06 jpp Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
5 |
# avoid brp bytecompile |
# avoid brp bytecompile |
6 |
%define __os_install_post %{nil} |
%define __os_install_post %{nil} |
7 |
|
%define debug_package %{nil} |
8 |
|
|
9 |
Summary: Mailman configuration for SME server. |
Summary: Mailman configuration for SME server. |
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 13 |
%define release 14 |
14 |
Version: %{version} |
Version: %{version} |
15 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
16 |
License: GPL |
License: GPL |
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 |
35 |
|
|
36 |
%description |
%description |
37 |
Add Mailman integration to the SME server. |
Add Mailman integration to the SME server. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Tue Apr 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-14.sme |
41 |
|
- increase master password size to 18 [SME: 11937] |
42 |
|
|
43 |
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme |
* Sun Apr 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-13.sme |
44 |
- add c wrapper with setuid [SME: 11278] |
- add c wrapper with setuid [SME: 11278] |
45 |
|
|
326 |
%patch2 -p1 |
%patch2 -p1 |
327 |
%patch3 -p1 |
%patch3 -p1 |
328 |
%patch4 -p1 |
%patch4 -p1 |
329 |
|
%patch5 -p1 |
330 |
|
|
331 |
#/bin/rm -r root/opt/mailman |
#/bin/rm -r root/opt/mailman |
332 |
|
|
333 |
%build |
%build |
334 |
perl createlinks |
perl createlinks |
335 |
gcc -o root//usr/lib/mailman/bin/smelist smelist.c |
gcc -o root/usr/lib/mailman/bin/smelist smelist.c |
336 |
|
|
337 |
|
|
338 |
mkdir -p root/usr/lib/mailman/aliases |
mkdir -p root/usr/lib/mailman/aliases |
339 |
|
|
340 |
mkdir -p root/opt |
mkdir -p root/opt |