1 |
jpp |
1.1 |
diff -Nur smeserver-awstats-1.4.old/createlinks smeserver-awstats-1.4/createlinks |
2 |
|
|
--- smeserver-awstats-1.4.old/createlinks 2007-04-06 00:59:44.000000000 -0400 |
3 |
jpp |
1.2 |
+++ smeserver-awstats-1.4/createlinks 2021-02-22 15:18:56.034000000 -0500 |
4 |
jpp |
1.1 |
@@ -3,15 +3,29 @@ |
5 |
|
|
use esmith::Build::CreateLinks qw(:all); |
6 |
|
|
use File::Basename; |
7 |
|
|
use File::Path; |
8 |
|
|
- |
9 |
|
|
-panel_link("awstats", 'manager'); |
10 |
|
|
- |
11 |
|
|
-event_link("conf-awstats", 'console-save', "60"); |
12 |
|
|
-event_link("conf-awstats", 'remoteaccess-update', "85"); |
13 |
|
|
|
14 |
|
|
-event_link("awstats-run", "ip-change", "60"); |
15 |
|
|
-event_link("conf-awstats", "ip-change", "61"); |
16 |
jpp |
1.2 |
+my $event; |
17 |
jpp |
1.1 |
|
18 |
|
|
-event_link("conf-awstats", "awstats-update", "10"); |
19 |
|
|
+panel_link("awstats", 'manager'); |
20 |
|
|
+ |
21 |
jpp |
1.2 |
+$event="console-save"; |
22 |
jpp |
1.1 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
23 |
|
|
+ |
24 |
jpp |
1.2 |
+$event="remoteaccess-update"; |
25 |
jpp |
1.1 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
26 |
|
|
+ |
27 |
jpp |
1.2 |
+$event="ip-change"; |
28 |
jpp |
1.1 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
29 |
jpp |
1.2 |
+event_link("awstats-run", $event , "04"); |
30 |
jpp |
1.1 |
+ |
31 |
jpp |
1.2 |
+$event="awstats-update"; |
32 |
jpp |
1.1 |
+event_link("navigation-conf", $event, "50"); |
33 |
|
|
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
34 |
|
|
event_link("awstats-run", "awstats-update", "20"); |
35 |
|
|
|
36 |
|
|
+ |
37 |
jpp |
1.2 |
+$event= "smeserver-awstat-update"; |
38 |
jpp |
1.1 |
+event_link("navigation-conf", $event, "50"); |
39 |
|
|
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
40 |
|
|
+templates2events("/etc/crontab", $event ); |
41 |
|
|
+event_link("awstats-upgrade", $event, "02"); |
42 |
|
|
diff -Nur smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/status smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/status |
43 |
|
|
--- smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/status 1969-12-31 19:00:00.000000000 -0500 |
44 |
|
|
+++ smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/status 2021-02-22 14:38:52.409000000 -0500 |
45 |
|
|
@@ -0,0 +1 @@ |
46 |
|
|
+enabled |
47 |
|
|
diff -Nur smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/type smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/type |
48 |
|
|
--- smeserver-awstats-1.4.old/root/etc/e-smith/db/configuration/defaults/AWStats/type 1969-12-31 19:00:00.000000000 -0500 |
49 |
|
|
+++ smeserver-awstats-1.4/root/etc/e-smith/db/configuration/defaults/AWStats/type 2021-02-22 14:38:40.451000000 -0500 |
50 |
|
|
@@ -0,0 +1 @@ |
51 |
|
|
+status |
52 |
|
|
diff -Nur smeserver-awstats-1.4.old/root/etc/yum/post-actions/awstats.action smeserver-awstats-1.4/root/etc/yum/post-actions/awstats.action |
53 |
|
|
--- smeserver-awstats-1.4.old/root/etc/yum/post-actions/awstats.action 1969-12-31 19:00:00.000000000 -0500 |
54 |
|
|
+++ smeserver-awstats-1.4/root/etc/yum/post-actions/awstats.action 2021-02-22 15:02:23.606000000 -0500 |
55 |
|
|
@@ -0,0 +1,2 @@ |
56 |
|
|
+awstats:install:/etc/e-smith/events/actions/awstats-upgrade |
57 |
|
|
+awstats:update:/etc/e-smith/events/actions/awstats-upgrade |