/[smecontribs]/rpms/smeserver-mailman/contribs8/smeserver-mailman-1.3.0-postinstall.patch
ViewVC logotype

Annotation of /rpms/smeserver-mailman/contribs8/smeserver-mailman-1.3.0-postinstall.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Jul 1 17:31:28 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-44_el5_sme, smeserver-mailman-1_3_0-47_el5_sme, smeserver-mailman-1_3_0-38_el5_sme, smeserver-mailman-1_3_0-42_el5_sme, smeserver-mailman-1_3_0-40_el5_sme, smeserver-mailman-1_3_0-43_el5_sme, smeserver-mailman-1_3_0-46_el5_sme, smeserver-mailman-1_3_0-41_el5_sme, smeserver-mailman-1_3_0-45_el5_sme, smeserver-mailman-1_3_0-48_el5_sme, smeserver-mailman-1_3_0-39_el5_sme, HEAD
Initial import

1 unnilennium 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-mailman-1.3.0/createlinks mezzanine_patched_smeserver-mailman-1.3.0/createlinks
2     --- smeserver-mailman-1.3.0/createlinks 2006-03-08 16:34:41.038625879 +1100
3     +++ mezzanine_patched_smeserver-mailman-1.3.0/createlinks 2006-03-08 16:28:34.214790740 +1100
4     @@ -34,11 +34,16 @@
5     ))
6     {
7    
8     -# This could be a smart template expansion
9     -# templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event);
10     - event_link("mailman-conf", $event, "20");
11     + templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event);
12    
13     + templates2events( "/etc/httpd/conf/httpd.conf", $event);
14    
15     + safe_symlink("sigusr1",
16     + "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
17     +
18     + safe_symlink("/usr/lib/mailman/bin/post-install",
19     + "root/etc/e-smith/events/$event/S20mailman-post-install");
20     +
21     safe_symlink("restart",
22     "root/etc/e-smith/events/$event/services2adjust/mailman");
23    
24     diff -Nur -x '*.orig' -x '*.rej' smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf mezzanine_patched_smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf
25     --- smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf 2006-03-08 16:34:41.025628117 +1100
26     +++ mezzanine_patched_smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf 1970-01-01 10:00:00.000000000 +1000
27     @@ -1,27 +0,0 @@
28     -#!/usr/bin/perl
29     -
30     -#----------------------------------------------------------------------
31     -# $Id: mailman-conf,v 1.1 2005/02/16 02:25:31 msoulier Exp $
32     -#----------------------------------------------------------------------
33     -# copyright (C) 1999-2003 Mitel Networks Corporation
34     -#----------------------------------------------------------------------
35     -
36     -package esmith;
37     -
38     -use strict;
39     -use warnings;
40     -use esmith::templates;
41     -
42     -my $outfile = '/usr/lib/mailman/Mailman/mm_cfg.py';
43     -
44     -esmith::templates::processTemplate({
45     - TEMPLATE_PATH => $outfile
46     - });
47     -
48     -# If this is a new install, call post-install to set things up.
49     -unless ( -d '/usr/lib/mailman/lists/mailman' )
50     -{
51     - system('/usr/lib/mailman/bin/post-install');
52     -}
53     -
54     -exit 0;
55     diff -Nur -x '*.orig' -x '*.rej' smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install mezzanine_patched_smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install
56     --- smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install 2006-03-08 16:34:41.027627773 +1100
57     +++ mezzanine_patched_smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install 2006-03-08 16:23:17.915266318 +1100
58     @@ -1,5 +1,7 @@
59     #!/bin/bash
60    
61     +[ -d /usr/lib/mailman/lists/mailman ] && exit 0
62     +
63     echo " "
64     DOMAIN=`/sbin/e-smith/config get DomainName`
65     if [ ! -d /usr/lib/mailman/lists/mailman ]; then
66     @@ -29,5 +31,3 @@
67     else
68     /etc/e-smith/events/actions/email-assign || :
69     fi
70     -/etc/e-smith/events/actions/conf-httpd mailman-install
71     -/etc/e-smith/events/actions/restart-httpd-graceful

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