diff -Nur -x '*.orig' -x '*.rej' smeserver-mailman-1.3.0/createlinks mezzanine_patched_smeserver-mailman-1.3.0/createlinks --- smeserver-mailman-1.3.0/createlinks 2006-03-08 16:34:41.038625879 +1100 +++ mezzanine_patched_smeserver-mailman-1.3.0/createlinks 2006-03-08 16:28:34.214790740 +1100 @@ -34,11 +34,16 @@ )) { -# This could be a smart template expansion -# templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event); - event_link("mailman-conf", $event, "20"); + templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event); + templates2events( "/etc/httpd/conf/httpd.conf", $event); + safe_symlink("sigusr1", + "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); + + safe_symlink("/usr/lib/mailman/bin/post-install", + "root/etc/e-smith/events/$event/S20mailman-post-install"); + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mailman"); 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 --- smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf 2006-03-08 16:34:41.025628117 +1100 +++ mezzanine_patched_smeserver-mailman-1.3.0/root/etc/e-smith/events/actions/mailman-conf 1970-01-01 10:00:00.000000000 +1000 @@ -1,27 +0,0 @@ -#!/usr/bin/perl - -#---------------------------------------------------------------------- -# $Id: mailman-conf,v 1.1 2005/02/16 02:25:31 msoulier Exp $ -#---------------------------------------------------------------------- -# copyright (C) 1999-2003 Mitel Networks Corporation -#---------------------------------------------------------------------- - -package esmith; - -use strict; -use warnings; -use esmith::templates; - -my $outfile = '/usr/lib/mailman/Mailman/mm_cfg.py'; - -esmith::templates::processTemplate({ - TEMPLATE_PATH => $outfile - }); - -# If this is a new install, call post-install to set things up. -unless ( -d '/usr/lib/mailman/lists/mailman' ) -{ - system('/usr/lib/mailman/bin/post-install'); -} - -exit 0; 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 --- smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install 2006-03-08 16:34:41.027627773 +1100 +++ mezzanine_patched_smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/post-install 2006-03-08 16:23:17.915266318 +1100 @@ -1,5 +1,7 @@ #!/bin/bash +[ -d /usr/lib/mailman/lists/mailman ] && exit 0 + echo " " DOMAIN=`/sbin/e-smith/config get DomainName` if [ ! -d /usr/lib/mailman/lists/mailman ]; then @@ -29,5 +31,3 @@ else /etc/e-smith/events/actions/email-assign || : fi -/etc/e-smith/events/actions/conf-httpd mailman-install -/etc/e-smith/events/actions/restart-httpd-graceful