/[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.2 - (show annotations) (download)
Sun Nov 23 04:58:04 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Part of epel

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