/[smecontribs]/rpms/smeserver-mailman/contribs9/smeserver-mailman.spec
ViewVC logotype

Diff of /rpms/smeserver-mailman/contribs9/smeserver-mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by stephdl, Fri Aug 21 17:20:19 2015 UTC Revision 1.8 by unnilennium, Wed Mar 9 08:39:06 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mailman.spec,v 1.10 2013/09/20 15:59:31 unnilennium Exp $  # $Id: smeserver-mailman.spec,v 1.7 2015/09/11 15:05:17 stephdl Exp $
2  # Authority: gordonr  # Authority: gordonr
3  # Name: Gordon Rowell  # Name: Gordon Rowell
4    
# Line 9  Summary: Mailman configuration for SME s Line 9  Summary: Mailman configuration for SME s
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 2  %define release 7
13  Version: %{version}  Version: %{version}
14  Release: %{release}%{?dist}  Release: %{release}%{?dist}
15  License: GPL  License: GPL
# Line 25  BuildRequires: e-smith-devtools >= 1.13. Line 25  BuildRequires: e-smith-devtools >= 1.13.
25  Obsoletes: e-smith-mailman  Obsoletes: e-smith-mailman
26  Provides: e-smith-mailman  Provides: e-smith-mailman
27  AutoReqProv: no  AutoReqProv: no
28    Patch0: smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch
29    Patch1: smeserver-mailman-1.5.0-locale-2016-03-09.patch
30    
31  %description  %description
32  Add Mailman integration to the SME server.  Add Mailman integration to the SME server.
33    
34  %changelog  %changelog
35  * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme  * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.5.0-7.sme
36  - Initial release to contribs9  - apply locale 2016-03-09 patch
37    
38    * Fri Sep 11 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-6.sme
39    - Mailman is now added to the backup/restore process [SME: 2411]
40    - Added smeserver-mailman-1.5.0.bz2411.Backup_mailman.patch
41    
42    * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-5.sme
43    - mailman wants that the group apache appears before the www group in /etc/group
44    - script added in %pre to change that order. [SME: 8056]
45    
46    * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-3.sme
47    - Initial release to contribs9 [SME: 8453]
48    
49  * Fri Jun 20 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme  * Fri Jun 20 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-1.sme
50  - Initial release to sme9  - Initial release to sme9
# Line 104  Add Mailman integration to the SME serve Line 117  Add Mailman integration to the SME serve
117  * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22  * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22
118  - Apply 21 May 2008 locale patch  - Apply 21 May 2008 locale patch
119  - Fixed version number in previous changelog entry  - Fixed version number in previous changelog entry
 * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme  
 - Initial release to contribs9  
   
120    
121  * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21  * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21
122  - Apply 5 May 2008 locale patch  - Apply 5 May 2008 locale patch
# Line 120  Add Mailman integration to the SME serve Line 130  Add Mailman integration to the SME serve
130  * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18  * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18
131  - Added 23 April 2008 locale patch  - Added 23 April 2008 locale patch
132  - Fixed changelog  - Fixed changelog
 * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5.0-2.sme  
 - Initial release to contribs9  
   
133    
134  * Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17  * Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17
135  - Fix path for the archives [SME: 4252]  - Fix path for the archives [SME: 4252]
# Line 283  Add Mailman integration to the SME serve Line 290  Add Mailman integration to the SME serve
290    
291  %prep  %prep
292  %setup  %setup
293    %patch0 -p1
294    %patch1 -p1
295    
296    
297  #/bin/rm -r root/opt/mailman  #/bin/rm -r root/opt/mailman
298    
# Line 356  rm -rf $RPM_BUILD_ROOT Line 366  rm -rf $RPM_BUILD_ROOT
366  /sbin/e-smith/create-system-user mailman 41 \  /sbin/e-smith/create-system-user mailman 41 \
367      "Mailman user" /usr/lib/mailman /bin/false      "Mailman user" /usr/lib/mailman /bin/false
368    
369    #mailman wants that the apache group appears  before the www group in /etc/group [SME: 8056]
370    TEST=$(grep -P '^www|apache' /etc/group)
371    TEST2='www:x:102:admin
372    apache:x:102:'
373    
374    if [[ $TEST == $TEST2 ]]; then
375        WWW=$(sed -n '/^www/p' /etc/group)
376        sed -i '/^www/d' /etc/group
377        echo $WWW >> /etc/group
378    fi
379    
380  %post  %post
381    
382  %preun  %preun


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed