1 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/createlinks smeserver-clamav-unofficial-sigs-0.1.0/createlinks |
2 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/createlinks 2015-06-10 03:32:04.000000000 -0400 |
3 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/createlinks 2022-06-13 22:22:14.397000000 -0400 |
4 |
@@ -2,4 +2,15 @@ |
5 |
|
6 |
use esmith::Build::CreateLinks qw(:all); |
7 |
|
8 |
-templates2events("/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf", qw(email-update bootstrap-console-save clamav-update)); |
9 |
+templates2events("/etc/clamav-unofficial-sigs/os.conf", qw(email-update bootstrap-console-save clamav-update)); |
10 |
+ |
11 |
+my $event="smeserver-clamav-unofficial-sigs-update"; |
12 |
+templates2events("/etc/clamav-unofficial-sigs/os.conf",$event); |
13 |
+#safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/clamav-unofficial-sigs"); |
14 |
+#clamav-unofficial-sigs.service clamav-unofficial-sigs.timer |
15 |
+event_link("systemd-default", $event, "88"); |
16 |
+event_link("systemd-reload", $event, "89"); |
17 |
+event_link("clamav-unofficial-sigs-folders", $event, "55"); |
18 |
+#use esmith::Build::Backup qw(:all); |
19 |
+#backup_includes("clamav-unofficial-sigs", qw(/etc/clamav-unofficial-sigs/master.conf /etc/clamav-unofficial-sigs/user.conf /var/lib/clamav-unofficial-sigs/)); |
20 |
+ |
21 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/honeynet.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/honeynet.hdb |
22 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/honeynet.hdb 2015-06-10 03:32:04.000000000 -0400 |
23 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/honeynet.hdb 1969-12-31 19:00:00.000000000 -0500 |
24 |
@@ -1 +0,0 @@ |
25 |
-si |
26 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/junk.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/junk.ndb |
27 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/junk.ndb 2015-06-10 03:32:04.000000000 -0400 |
28 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/junk.ndb 1969-12-31 19:00:00.000000000 -0500 |
29 |
@@ -1 +0,0 @@ |
30 |
-ss |
31 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/jurlbl.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/jurlbl.ndb |
32 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/jurlbl.ndb 2015-06-10 03:32:04.000000000 -0400 |
33 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/jurlbl.ndb 1969-12-31 19:00:00.000000000 -0500 |
34 |
@@ -1 +0,0 @@ |
35 |
-ss |
36 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/mbl.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/mbl.ndb |
37 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/mbl.ndb 2015-06-10 03:32:04.000000000 -0400 |
38 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/mbl.ndb 1969-12-31 19:00:00.000000000 -0500 |
39 |
@@ -1 +0,0 @@ |
40 |
-mbl |
41 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/phish.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/phish.ndb |
42 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/phish.ndb 2015-06-10 03:32:04.000000000 -0400 |
43 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/phish.ndb 1969-12-31 19:00:00.000000000 -0500 |
44 |
@@ -1 +0,0 @@ |
45 |
-ss |
46 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/rogue.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/rogue.hdb |
47 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/rogue.hdb 2015-06-10 03:32:04.000000000 -0400 |
48 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/rogue.hdb 1969-12-31 19:00:00.000000000 -0500 |
49 |
@@ -1 +0,0 @@ |
50 |
-ss |
51 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/sanesecurity.ftm smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/sanesecurity.ftm |
52 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/sanesecurity.ftm 2015-06-10 03:32:04.000000000 -0400 |
53 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/sanesecurity.ftm 1969-12-31 19:00:00.000000000 -0500 |
54 |
@@ -1 +0,0 @@ |
55 |
-ss |
56 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/scam.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/scam.ndb |
57 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/scam.ndb 2015-06-10 03:32:04.000000000 -0400 |
58 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/scam.ndb 1969-12-31 19:00:00.000000000 -0500 |
59 |
@@ -1 +0,0 @@ |
60 |
-ss |
61 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfobat.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfobat.hdb |
62 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfobat.hdb 2015-06-10 03:32:04.000000000 -0400 |
63 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfobat.hdb 1969-12-31 19:00:00.000000000 -0500 |
64 |
@@ -1 +0,0 @@ |
65 |
-si |
66 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfodos.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfodos.hdb |
67 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfodos.hdb 2015-06-10 03:32:04.000000000 -0400 |
68 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfodos.hdb 1969-12-31 19:00:00.000000000 -0500 |
69 |
@@ -1 +0,0 @@ |
70 |
-si |
71 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfoelf.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfoelf.hdb |
72 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfoelf.hdb 2015-06-10 03:32:04.000000000 -0400 |
73 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfoelf.hdb 1969-12-31 19:00:00.000000000 -0500 |
74 |
@@ -1 +0,0 @@ |
75 |
-si |
76 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfo.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfo.hdb |
77 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfo.hdb 2015-06-10 03:32:04.000000000 -0400 |
78 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfo.hdb 1969-12-31 19:00:00.000000000 -0500 |
79 |
@@ -1 +0,0 @@ |
80 |
-si |
81 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfohtml.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfohtml.hdb |
82 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfohtml.hdb 2015-06-10 03:32:04.000000000 -0400 |
83 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfohtml.hdb 1969-12-31 19:00:00.000000000 -0500 |
84 |
@@ -1 +0,0 @@ |
85 |
-si |
86 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfooffice.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfooffice.hdb |
87 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfooffice.hdb 2015-06-10 03:32:04.000000000 -0400 |
88 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfooffice.hdb 1969-12-31 19:00:00.000000000 -0500 |
89 |
@@ -1 +0,0 @@ |
90 |
-si |
91 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfopdf.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfopdf.hdb |
92 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfopdf.hdb 2015-06-10 03:32:04.000000000 -0400 |
93 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfopdf.hdb 1969-12-31 19:00:00.000000000 -0500 |
94 |
@@ -1 +0,0 @@ |
95 |
-si |
96 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfosh.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfosh.hdb |
97 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfosh.hdb 2015-06-10 03:32:04.000000000 -0400 |
98 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/securiteinfosh.hdb 1969-12-31 19:00:00.000000000 -0500 |
99 |
@@ -1 +0,0 @@ |
100 |
-si |
101 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/spamimg.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/spamimg.hdb |
102 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/spamimg.hdb 2015-06-10 03:32:04.000000000 -0400 |
103 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/spamimg.hdb 1969-12-31 19:00:00.000000000 -0500 |
104 |
@@ -1 +0,0 @@ |
105 |
-ss |
106 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware.hdb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware.hdb |
107 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware.hdb 2015-06-10 03:32:04.000000000 -0400 |
108 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware.hdb 1969-12-31 19:00:00.000000000 -0500 |
109 |
@@ -1 +0,0 @@ |
110 |
-ss |
111 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware_links.ndb smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware_links.ndb |
112 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware_links.ndb 2015-06-10 03:32:04.000000000 -0400 |
113 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/defaults/clamav-unofficial-sigs/winnow_malware_links.ndb 1969-12-31 19:00:00.000000000 -0500 |
114 |
@@ -1 +0,0 @@ |
115 |
-ss |
116 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/migrate/80clamav-unofficial-sigs smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/migrate/80clamav-unofficial-sigs |
117 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/db/configuration/migrate/80clamav-unofficial-sigs 1969-12-31 19:00:00.000000000 -0500 |
118 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/db/configuration/migrate/80clamav-unofficial-sigs 2022-06-13 22:18:47.928000000 -0400 |
119 |
@@ -0,0 +1,8 @@ |
120 |
+{ |
121 |
+ my $clamav_unof = $DB->get("clamav-unofficial-sigs") || |
122 |
+ $DB->new_record("clamav-unofficial-sigs", { type => "service" }); |
123 |
+ |
124 |
+ $clamav_unof->delete_prop($_) for ( qw(honeynet.hdb jurlbl.ndb phish.ndb sanesecurity.ftm securiteinfobat.hdb securiteinfoelf.hdb securiteinfohtml.hdb securiteinfopdf.hdb spamimg.hdb winnow_malware_links.ndb |
125 |
+junk.ndb mbl.ndb rogue.hdb scam.ndb securiteinfodos.hdb securiteinfo.hdb securiteinfooffice.hdb securiteinfosh.hdb winnow_malware.hdb) ); |
126 |
+ |
127 |
+} |
128 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/events/actions/clamav-unofficial-sigs-init smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/events/actions/clamav-unofficial-sigs-init |
129 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/events/actions/clamav-unofficial-sigs-init 1969-12-31 19:00:00.000000000 -0500 |
130 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/events/actions/clamav-unofficial-sigs-init 2022-06-13 22:03:58.107000000 -0400 |
131 |
@@ -0,0 +1,6 @@ |
132 |
+#!/bin/bash |
133 |
+# create missing folder to avoid error |
134 |
+# see https://github.com/extremeshok/clamav-unofficial-sigs/pull/390 https://github.com/extremeshok/clamav-unofficial-sigs/pull/400 |
135 |
+mkdir -p /var/lib/clamav-unofficial-sigs/dbs-uh |
136 |
+mkdir -p /var/lib/clamav-unofficial-sigs/dbs-yara |
137 |
+chown clamupdate:clamupdate /var/lib/clamav-unofficial-sigs/* |
138 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/010Path smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/010Path |
139 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/010Path 2015-06-10 03:32:04.000000000 -0400 |
140 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/010Path 1969-12-31 19:00:00.000000000 -0500 |
141 |
@@ -1,2 +0,0 @@ |
142 |
-PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
143 |
-export PATH |
144 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/015User smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/015User |
145 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/015User 2015-06-10 03:32:04.000000000 -0400 |
146 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/015User 1969-12-31 19:00:00.000000000 -0500 |
147 |
@@ -1,2 +0,0 @@ |
148 |
-clam_user="clamav" |
149 |
-clam_group="clamav" |
150 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/020Db smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/020Db |
151 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/020Db 2015-06-10 03:32:04.000000000 -0400 |
152 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/020Db 1969-12-31 19:00:00.000000000 -0500 |
153 |
@@ -1 +0,0 @@ |
154 |
-clam_dbs="/var/clamav" |
155 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/025Pid smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/025Pid |
156 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/025Pid 2015-06-10 03:32:04.000000000 -0400 |
157 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/025Pid 1969-12-31 19:00:00.000000000 -0500 |
158 |
@@ -1 +0,0 @@ |
159 |
-clamd_pid="/service/clamd/supervise/pid" |
160 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload |
161 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload 2015-06-10 03:32:04.000000000 -0400 |
162 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload 1969-12-31 19:00:00.000000000 -0500 |
163 |
@@ -1,2 +0,0 @@ |
164 |
-reload_dbs="yes" |
165 |
-reload_opt="clamdscan --reload" |
166 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/035Randomize smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/035Randomize |
167 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/035Randomize 2015-06-10 03:32:04.000000000 -0400 |
168 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/035Randomize 1969-12-31 19:00:00.000000000 -0500 |
169 |
@@ -1,4 +0,0 @@ |
170 |
-enable_random="yes" |
171 |
-min_sleep_time="60" |
172 |
-max_sleep_time="600" |
173 |
- |
174 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases |
175 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases 2015-06-10 03:32:04.000000000 -0400 |
176 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/040Databases 1969-12-31 19:00:00.000000000 -0500 |
177 |
@@ -1,25 +0,0 @@ |
178 |
-{ |
179 |
- |
180 |
-my %db = $DB->get('clamav-unofficial-sigs')->props; |
181 |
- |
182 |
-my @ss = (); |
183 |
-my @si = (); |
184 |
-my @mbl = (); |
185 |
- |
186 |
-if ((${'clamav-unofficial-sigs'}{'status'} || 'disabled') eq 'enabled'){ |
187 |
- while (my ($param,$value) = each(%db)){ |
188 |
- if ($value eq 'ss'){ |
189 |
- push @ss, $param; |
190 |
- } |
191 |
- elsif ($value eq 'si'){ |
192 |
- push @si, $param; |
193 |
- } |
194 |
- elsif ($value eq 'mbl'){ |
195 |
- push @mbl, $param; |
196 |
- } |
197 |
- } |
198 |
- $OUT .= "ss_dbs=\"\n " . join("\n ", @ss) . "\n\"\n" if (scalar @ss > 0); |
199 |
- $OUT .= "si_dbs=\"\n " . join("\n ", @si) . "\n\"\n" if (scalar @si > 0); |
200 |
- $OUT .= "mbl_dbs=\"\n " . join("\n ", @mbl) . "\n\"\n" if (scalar @mbl > 0); |
201 |
-} |
202 |
-} |
203 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/045Frequencies smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/045Frequencies |
204 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/045Frequencies 2015-06-10 03:32:04.000000000 -0400 |
205 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/045Frequencies 1969-12-31 19:00:00.000000000 -0500 |
206 |
@@ -1,2 +0,0 @@ |
207 |
-si_update_hours="4" |
208 |
-mbl_update_hours="6" |
209 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs |
210 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs 2015-06-10 03:32:04.000000000 -0400 |
211 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/060Dirs 1969-12-31 19:00:00.000000000 -0500 |
212 |
@@ -1,7 +0,0 @@ |
213 |
-work_dir="/var/lib/clamav-unofficial-sigs" |
214 |
-ss_dir="$work_dir/ss-dbs" |
215 |
-si_dir="$work_dir/si-dbs" |
216 |
-mbl_dir="$work_dir/mbl-dbs" |
217 |
-config_dir="$work_dir/configs" |
218 |
-gpg_dir="$work_dir/gpg-key" |
219 |
-add_dir="$work_dir/add-dbs" |
220 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/065Backup smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/065Backup |
221 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/065Backup 2015-06-10 03:32:04.000000000 -0400 |
222 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/065Backup 1969-12-31 19:00:00.000000000 -0500 |
223 |
@@ -1 +0,0 @@ |
224 |
-keep_db_backup="no" |
225 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/070Silence smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/070Silence |
226 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/070Silence 2015-06-10 03:32:04.000000000 -0400 |
227 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/070Silence 1969-12-31 19:00:00.000000000 -0500 |
228 |
@@ -1,4 +0,0 @@ |
229 |
-curl_silence="no" |
230 |
-rsync_silence="no" |
231 |
-gpg_silence="no" |
232 |
-comment_silence="no" |
233 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/075Log smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/075Log |
234 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/075Log 2015-06-10 03:32:04.000000000 -0400 |
235 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/075Log 1969-12-31 19:00:00.000000000 -0500 |
236 |
@@ -1,3 +0,0 @@ |
237 |
-enable_logging="yes" |
238 |
-log_file_path="/var/log/clamav-unofficial-sigs" |
239 |
-log_file_name="clamav-unofficial-sigs.log" |
240 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/080Proxy smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/080Proxy |
241 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/080Proxy 2015-06-10 03:32:04.000000000 -0400 |
242 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/080Proxy 1969-12-31 19:00:00.000000000 -0500 |
243 |
@@ -1,2 +0,0 @@ |
244 |
-rsync_proxy="" |
245 |
-curl_proxy="" |
246 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/099UserConfigComplete smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/099UserConfigComplete |
247 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/099UserConfigComplete 2015-06-10 03:32:04.000000000 -0400 |
248 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/099UserConfigComplete 1969-12-31 19:00:00.000000000 -0500 |
249 |
@@ -1 +0,0 @@ |
250 |
-user_configuration_complete="yes" |
251 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/00header smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/00header |
252 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/00header 1969-12-31 19:00:00.000000000 -0500 |
253 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/00header 2022-06-12 22:53:04.000000000 -0400 |
254 |
@@ -0,0 +1,20 @@ |
255 |
+# This file contains os configuration settings for clamav-unofficial-sigs.sh |
256 |
+################### |
257 |
+# This is property of eXtremeSHOK.com |
258 |
+# You are free to use, modify and distribute, however you may not remove this notice. |
259 |
+# Copyright (c) Adrian Jon Kriel :: admin@extremeshok.com |
260 |
+# License: BSD (Berkeley Software Distribution) |
261 |
+################## |
262 |
+# |
263 |
+# Script updates can be found at: https://github.com/extremeshok/clamav-unofficial-sigs |
264 |
+# |
265 |
+################## |
266 |
+# |
267 |
+################################################################################ |
268 |
+# SEE MASTER.CONF FOR CONFIG EXPLANATIONS |
269 |
+################################################################################ |
270 |
+# Rename to os.conf to enable this file |
271 |
+################################################################################ |
272 |
+ |
273 |
+# Recommended Options for Packaging, this example applies to RHEL/CentOS |
274 |
+ |
275 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/010Path smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/010Path |
276 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/010Path 1969-12-31 19:00:00.000000000 -0500 |
277 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/010Path 2022-06-12 22:53:04.000000000 -0400 |
278 |
@@ -0,0 +1,2 @@ |
279 |
+PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
280 |
+export PATH |
281 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/015User smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/015User |
282 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/015User 1969-12-31 19:00:00.000000000 -0500 |
283 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/015User 2022-06-12 22:53:04.000000000 -0400 |
284 |
@@ -0,0 +1,2 @@ |
285 |
+clam_user="clamupdate" |
286 |
+clam_group="clamupdate" |
287 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/020Db smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/020Db |
288 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/020Db 1969-12-31 19:00:00.000000000 -0500 |
289 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/020Db 2022-06-12 22:53:04.000000000 -0400 |
290 |
@@ -0,0 +1 @@ |
291 |
+clam_dbs="/var/lib/clamav" |
292 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/025Pid smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/025Pid |
293 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/025Pid 1969-12-31 19:00:00.000000000 -0500 |
294 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/025Pid 2022-06-12 22:53:04.000000000 -0400 |
295 |
@@ -0,0 +1 @@ |
296 |
+clamd_pid="/var/run/clamd/clamd.pid" |
297 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/026Socket smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/026Socket |
298 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/026Socket 1969-12-31 19:00:00.000000000 -0500 |
299 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/026Socket 2022-06-12 22:53:04.000000000 -0400 |
300 |
@@ -0,0 +1 @@ |
301 |
+clamd_socket="/var/run/clamd/clamd.socket" |
302 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/028upgrade smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/028upgrade |
303 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/028upgrade 1969-12-31 19:00:00.000000000 -0500 |
304 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/028upgrade 2022-06-12 22:53:04.000000000 -0400 |
305 |
@@ -0,0 +1,15 @@ |
306 |
+# Recommended Options for Packaging, this example applies to RHEL/CentOS |
307 |
+ |
308 |
+# Disable Upgrades |
309 |
+allow_upgrades="no" |
310 |
+ |
311 |
+# Disable Update Checks |
312 |
+allow_update_checks="no" |
313 |
+ |
314 |
+# Provided two variables that package and port maintainers can use in order to |
315 |
+# prevent the script from removing itself with the '-r' flag |
316 |
+# If the script was installed via a package manager like yum, apt, pkg, etc. |
317 |
+# The script will instead provide feedback to the user about how to uninstall the package. |
318 |
+pkg_mgr="yum" #the package manager name |
319 |
+pkg_rm="yum erase clamav-unofficial-sigs" #the package manager command to remove the script |
320 |
+ |
321 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Reload smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Reload |
322 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Reload 1969-12-31 19:00:00.000000000 -0500 |
323 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Reload 2022-06-12 22:53:04.000000000 -0400 |
324 |
@@ -0,0 +1,2 @@ |
325 |
+reload_dbs="yes" |
326 |
+reload_opt="clamdscan --config-file=/etc/clamd.d/scan.conf --reload" |
327 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Restart smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Restart |
328 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Restart 1969-12-31 19:00:00.000000000 -0500 |
329 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/030Restart 2022-06-12 22:53:04.000000000 -0400 |
330 |
@@ -0,0 +1 @@ |
331 |
+clamd_restart_opt="/usr/bin/systemctl try-restart clamd" |
332 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/035Randomize smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/035Randomize |
333 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/035Randomize 1969-12-31 19:00:00.000000000 -0500 |
334 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/035Randomize 2022-06-12 22:53:04.000000000 -0400 |
335 |
@@ -0,0 +1,4 @@ |
336 |
+enable_random="yes" |
337 |
+min_sleep_time="60" |
338 |
+max_sleep_time="600" |
339 |
+ |
340 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/040Databases smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/040Databases |
341 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/040Databases 1969-12-31 19:00:00.000000000 -0500 |
342 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/040Databases 2022-06-13 23:27:29.208000000 -0400 |
343 |
@@ -0,0 +1,104 @@ |
344 |
+{ |
345 |
+ |
346 |
+my %db = $DB->get('clamav-unofficial-sigs')->props; |
347 |
+ |
348 |
+my @ss = (); |
349 |
+my @si = (); |
350 |
+my @mbl = (); |
351 |
+ |
352 |
+if ((${'clamav-unofficial-sigs'}{'status'} || 'disabled') eq 'enabled'){ |
353 |
+ while (my ($param,$value) = each(%db)){ |
354 |
+ if ($value eq 'ss'){ |
355 |
+ push @ss, $param; |
356 |
+ } |
357 |
+ elsif ($value eq 'si'){ |
358 |
+ push @si, $param; |
359 |
+ } |
360 |
+ elsif ($value eq 'mbl'){ |
361 |
+ push @mbl, $param; |
362 |
+ } |
363 |
+ } |
364 |
+# $OUT .= "ss_dbs=\"\n " . join("\n ", @ss) . "\n\"\n" if (scalar @ss > 0); |
365 |
+# $OUT .= "si_dbs=\"\n " . join("\n ", @si) . "\n\"\n" if (scalar @si > 0); |
366 |
+# $OUT .= "mbl_dbs=\"\n " . join("\n ", @mbl) . "\n\"\n" if (scalar @mbl > 0); |
367 |
+} |
368 |
+$OUT ="\n"; |
369 |
+} |
370 |
+# securiteinfo |
371 |
+securiteinfo_premium={((${'clamav-unofficial-sigs'}{'securiteinfo_premium'}|| "no" ) eq '"yes"' )? "yes" : '"no"' } |
372 |
+securiteinfo_authorisation_signature={my $key=${'clamav-unofficial-sigs'}{'securiteinfo_authorisation_signature'}|| 'YOUR-SIGNATURE-NUMBER'; $OUT="\"$key\""; } |
373 |
+ |
374 |
+#malwareexpert |
375 |
+malwareexpert_serial_key={my $key=${'clamav-unofficial-sigs'}{'malwareexpert_serial_key'}||'YOUR-SERIAL-KEY'; $OUT="\"$key\""} |
376 |
+ |
377 |
+#malwarepatrol |
378 |
+malwarepatrol_receipt_code={my $key=${'clamav-unofficial-sigs'}{'malwarepatrol_receipt_code'}||'YOUR-RECEIPT-NUMBER'; $OUT="\"$key\"";} |
379 |
+malwarepatrol_product_code="8" |
380 |
+malwarepatrol_list={((${'clamav-unofficial-sigs'}{'malwarepatrol_list'}||"clamav_basic") eq "clamav_basic") ? "\"clamav_basic\"" : "\"clamav_ext\"";} |
381 |
+ |
382 |
+ |
383 |
+# ======================== |
384 |
+# Enabled Databases |
385 |
+# ======================== |
386 |
+# Set to no to disable an entire database, if the database is empty it will also be disabled. |
387 |
+additional_enabled={((${'clamav-unofficial-sigs'}{'additional_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
388 |
+interserver_enabled={((${'clamav-unofficial-sigs'}{'interserver_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
389 |
+linuxmalwaredetect_enabled={((${'clamav-unofficial-sigs'}{'linuxmalwaredetect_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
390 |
+# if serial_key YOUR-SERIAL-KEY will be forced to disabled in script |
391 |
+malwareexpert_enabled={((${'clamav-unofficial-sigs'}{'malwareexpert_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
392 |
+# if receipt_code YOUR-RECEIPT-NUMBER will be forced to disabled in script |
393 |
+malwarepatrol_enabled={((${'clamav-unofficial-sigs'}{'malwarepatrol_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
394 |
+sanesecurity_enabled={((${'clamav-unofficial-sigs'}{'sanesecurity_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
395 |
+# if authorisation_signature YOUR-SIGNATURE-NUMBER will be forced to disabled in script |
396 |
+securiteinfo_enabled=={((${'clamav-unofficial-sigs'}{'securiteinfo_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
397 |
+urlhaus_enabled={((${'clamav-unofficial-sigs'}{'urlhaus_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
398 |
+# Yara-Rule Project, automatically disabled if clamav is older than 0.100 and enable_yararules is disabled |
399 |
+yararulesproject_enabled={((${'clamav-unofficial-sigs'}{'yararulesproject_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";} |
400 |
+ |
401 |
+#Enables yararules in the various databases, automatically |
402 |
+enable_yararules={((${'clamav-unofficial-sigs'}{'enable_yararules'} || "no") eq "yes") ? "\"yes\"" : "\"no\"";} |
403 |
+ |
404 |
+ |
405 |
+# valid rating: LOW, MEDIUM, HIGH, DISABLE |
406 |
+{ |
407 |
+my $defaultDBR = (( ${'clamav-unofficial-sigs'}{'default_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'default_dbs_rating'} : 'MEDIUM' ; |
408 |
+ |
409 |
+$OUT .= "default_dbs_rating=\"$defaultDBR\"\n"; |
410 |
+ |
411 |
+$OUT .= "# Per Database |
412 |
+# These ratings will override the global rating for the specific database |
413 |
+# valid ratings: LOW | MEDIUM | HIGH | DISABLE\n"; |
414 |
+ |
415 |
+my $lmd = (( ${'clamav-unofficial-sigs'}{'linuxmalwaredetect_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'linuxmalwaredetect_dbs_rating'} : 'NOP' ; |
416 |
+$OUT .= "linuxmalwaredetect_dbs_rating=\"$lmd\"\n" unless $lmd eq 'NOP'; |
417 |
+my $ss = (( ${'clamav-unofficial-sigs'}{'sanesecurity_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'sanesecurity_dbs_rating'} : 'NOP' ; |
418 |
+$OUT .= "sanesecurity_dbs_rating=\"$ss\"\n" unless $ss eq 'NOP'; |
419 |
+my $si = (( ${'clamav-unofficial-sigs'}{'securiteinfo_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'securiteinfo_dbs_rating'} : 'NOP' ; |
420 |
+$OUT .= "securiteinfo_dbs_rating=\"$si\"\n" unless $si eq 'NOP'; |
421 |
+my $uhd = (( ${'clamav-unofficial-sigs'}{'urlhaus_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'urlhaus_dbs_rating'} : 'NOP' ; |
422 |
+$OUT .= "urlhaus_dbs_rating=\"$uhd\"\n" unless $uhd eq 'NOP'; |
423 |
+my $yrp = (( ${'clamav-unofficial-sigs'}{'yararulesproject_dbs_rating'} || "NOP") ~~ ['LOW', 'MEDIUM', 'HIGH', 'DISABLE']) ? ${'clamav-unofficial-sigs'}{'yararulesproject_dbs_rating'} : 'NOP' ; |
424 |
+$OUT .= "yararulesproject_dbs_rating=\"$yrp\"\n" unless $yrp eq 'NOP'; |
425 |
+ |
426 |
+} |
427 |
+ |
428 |
+# ======================== |
429 |
+# Additional Databases |
430 |
+# ======================== |
431 |
+{ |
432 |
+return "# additional disabled\n" unless ((${'clamav-unofficial-sigs'}{'additional_enabled'} || "yes") eq "yes"); |
433 |
+ |
434 |
+my $additionnal = ${'clamav-unofficial-sigs'}{'additional'} or return "# additional list empty\n"; |
435 |
+ |
436 |
+$OUT = "declare -a additional_dbs=(\n"; |
437 |
+my @values = split(/;,/, $additionnal); |
438 |
+for ( @values ) { |
439 |
+ $OUT .= " $_ \n"; |
440 |
+} |
441 |
+ |
442 |
+$OUT .= ") #END ADDITIONAL DATABASES |
443 |
+"; |
444 |
+ |
445 |
+#TODO |
446 |
+ |
447 |
+} |
448 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/045Frequencies smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/045Frequencies |
449 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/045Frequencies 1969-12-31 19:00:00.000000000 -0500 |
450 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/045Frequencies 2022-06-12 22:53:04.000000000 -0400 |
451 |
@@ -0,0 +1,2 @@ |
452 |
+si_update_hours="4" |
453 |
+mbl_update_hours="6" |
454 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/065Backup smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/065Backup |
455 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/065Backup 1969-12-31 19:00:00.000000000 -0500 |
456 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/065Backup 2022-06-12 22:53:04.000000000 -0400 |
457 |
@@ -0,0 +1 @@ |
458 |
+keep_db_backup="no" |
459 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/075Log smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/075Log |
460 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/075Log 1969-12-31 19:00:00.000000000 -0500 |
461 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/075Log 2022-06-12 22:53:04.000000000 -0400 |
462 |
@@ -0,0 +1,3 @@ |
463 |
+enable_logging="yes" |
464 |
+log_file_path="/var/log/clamav-unofficial-sigs" |
465 |
+log_file_name="clamav-unofficial-sigs.log" |
466 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/080Proxy smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/080Proxy |
467 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/080Proxy 1969-12-31 19:00:00.000000000 -0500 |
468 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/080Proxy 2022-06-12 22:53:04.000000000 -0400 |
469 |
@@ -0,0 +1,2 @@ |
470 |
+rsync_proxy="" |
471 |
+curl_proxy="" |
472 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/099UserConfigComplete smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/099UserConfigComplete |
473 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/099UserConfigComplete 1969-12-31 19:00:00.000000000 -0500 |
474 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/099UserConfigComplete 2022-06-12 22:53:04.000000000 -0400 |
475 |
@@ -0,0 +1 @@ |
476 |
+user_configuration_complete="yes" |
477 |
diff -Nur --no-dereference smeserver-clamav-unofficial-sigs-0.1.0.old/root/usr/lib/systemd/system/clamav-unofficial-sigs.service.d/50-koozali.conf smeserver-clamav-unofficial-sigs-0.1.0/root/usr/lib/systemd/system/clamav-unofficial-sigs.service.d/50-koozali.conf |
478 |
--- smeserver-clamav-unofficial-sigs-0.1.0.old/root/usr/lib/systemd/system/clamav-unofficial-sigs.service.d/50-koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
479 |
+++ smeserver-clamav-unofficial-sigs-0.1.0/root/usr/lib/systemd/system/clamav-unofficial-sigs.service.d/50-koozali.conf 2022-06-13 22:19:57.355000000 -0400 |
480 |
@@ -0,0 +1,2 @@ |
481 |
+[Install] |
482 |
+WantedBy=sme-server.target |