/[smecontribs]/rpms/smeserver-mailman/contribs7/smeserver-mailman-1.3.0-smelist.patch
ViewVC logotype

Contents of /rpms/smeserver-mailman/contribs7/smeserver-mailman-1.3.0-smelist.patch

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


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:24 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-37_el4_sme, smeserver-mailman-1_3_0-29_el4_sme, smeserver-mailman-1_3_0-28_el4_sme, smeserver-mailman-1_3_0-27_el4_sme, smeserver-mailman-1_3_0-36_el4_sme, smeserver-mailman-1_3_0-34_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/smelist mezzanine_patched_smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/smelist
2 --- smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/smelist 2006-03-08 15:46:50.679958384 +1100
3 +++ mezzanine_patched_smeserver-mailman-1.3.0/root/usr/lib/mailman/bin/smelist 2006-03-08 15:46:25.691262259 +1100
4 @@ -18,6 +18,14 @@
5 delete $ENV {'ENV'};
6 }
7
8 +die "Unknown event $event"
9 + unless ($event =~ /^(addlist|rmlist|update)$/);
10 +$event = $1;
11 +
12 +die "Invalid list name $list"
13 + unless ($list =~ /^([\w\._]+)$/);
14 +$list = $1;
15 +
16 esmith::util::setRealToEffective ();
17 system ("/sbin/e-smith/signal-event", "mailman-$event", "$list") == 0
18 or die ("Error occurred while modifying mailman list $list.\n");

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