/[smecontribs]/rpms/smeserver-mailman/contribs7/smeserver-mailman-1.3.0-createlinks.patch2
ViewVC logotype

Annotation of /rpms/smeserver-mailman/contribs7/smeserver-mailman-1.3.0-createlinks.patch2

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


Revision 1.2 - (hide 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 slords 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 2005-10-25 09:50:42.000000000 +1000
3     +++ mezzanine_patched_smeserver-mailman-1.3.0/createlinks 2006-03-08 16:10:53.820399521 +1100
4     @@ -5,29 +5,44 @@
5     # For the panel link
6     panel_link('mailman', 'manager');
7    
8     -my $event = 'mailman-addlist';
9     -event_link('mailman-addlist', $event, 10);
10     -event_link('email-assign', $event, 20);
11     -
12     -$event = 'mailman-rmlist';
13     -event_link('mailman-rmlist', $event, 10);
14     -event_link('email-assign', $event, 20);
15     -
16     -$event = 'mailman-update';
17     -event_link('mailman-conf', $event, 10);
18     -event_link('mailman-restart', $event, 90);
19     -
20     -$event = 'domain-create';
21     -event_link('mailman-conf', $event, 10);
22     -event_link('mailman-restart', $event, 90);
23     -
24     -$event = 'domain-delete';
25     -event_link('mailman-conf', $event, 10);
26     -event_link('mailman-restart', $event, 90);
27     -
28     -$event = 'bootstrap-console-save';
29     -event_link('mailman-conf', $event, 20);
30     -event_link('mailman-restart', $event, 90);
31     +for my $event ( qw(
32     + mailman-addlist
33     + mailman-rmlist
34     + ))
35     +{
36     + event_link($event, $event, 10);
37     +
38     + templates2events("/var/service/qpsmtpd/config/goodrcptto", $event);
39     +
40     + templates2events("/var/qmail/users/assign", $event);
41     +
42     + safe_symlink("/var/qmail/bin/qmail-newu",
43     + "root/etc/e-smith/events/$event/S55email-assign");
44     +
45     + safe_symlink("sighup",
46     + "root/etc/e-smith/events/$event/services2adjust/qpsmtpd");
47     +
48     + safe_symlink("sighup",
49     + "root/etc/e-smith/events/$event/services2adjust/sqpsmtpd");
50     +}
51     +
52     +for my $event ( qw(
53     + mailman-update
54     + domain-create
55     + domain-delete
56     + bootstrap-console-save
57     + ))
58     +{
59     +
60     +# This could be a smart template expansion
61     +# templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event);
62     + event_link("mailman-conf", $event, "20");
63     +
64     +
65     + safe_symlink("restart",
66     + "root/etc/e-smith/events/$event/services2adjust/mailman");
67     +
68     +}
69    
70     service_link_enhanced('mailman', 'S98', '7');
71     service_link_enhanced('mailman', 'K12', '6');

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