/[smecontribs]/rpms/smeserver-clamav-unofficial-sigs/contribs10/smeserver-clamav-unofficial-sigs-0.1.0-bz11597-sme10.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav-unofficial-sigs/contribs10/smeserver-clamav-unofficial-sigs-0.1.0-bz11597-sme10.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jun 13 03:04:18 2022 UTC (2 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-clamav-unofficial-sigs-0_1_0-2_el7_sme
* Sun Jun 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-2.sme
- import to SME10 [SME: 11597]
  rewrite the configuraiton using host.conf
  add event on installation
  systemd compatible
  backup ready

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-12 22:56:30.436000000 -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, "10");
16 +event_link("systemd-reload", $event, "50");
17 +
18 +#use esmith::Build::Backup qw(:all);
19 +#backup_includes("clamav-unofficial-sigs", qw(/etc/clamav-unofficial-sigs/user.conf));
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/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
117 --- 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
118 +++ 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
119 @@ -1,2 +0,0 @@
120 -PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
121 -export PATH
122 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
123 --- 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
124 +++ 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
125 @@ -1,2 +0,0 @@
126 -clam_user="clamav"
127 -clam_group="clamav"
128 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
129 --- 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
130 +++ 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
131 @@ -1 +0,0 @@
132 -clam_dbs="/var/clamav"
133 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
134 --- 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
135 +++ 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
136 @@ -1 +0,0 @@
137 -clamd_pid="/service/clamd/supervise/pid"
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/030Reload smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/030Reload
139 --- 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
140 +++ 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
141 @@ -1,2 +0,0 @@
142 -reload_dbs="yes"
143 -reload_opt="clamdscan --reload"
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/035Randomize smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/035Randomize
145 --- 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
146 +++ 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
147 @@ -1,4 +0,0 @@
148 -enable_random="yes"
149 -min_sleep_time="60"
150 -max_sleep_time="600"
151 -
152 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
153 --- 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
154 +++ 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
155 @@ -1,25 +0,0 @@
156 -{
157 -
158 -my %db = $DB->get('clamav-unofficial-sigs')->props;
159 -
160 -my @ss = ();
161 -my @si = ();
162 -my @mbl = ();
163 -
164 -if ((${'clamav-unofficial-sigs'}{'status'} || 'disabled') eq 'enabled'){
165 - while (my ($param,$value) = each(%db)){
166 - if ($value eq 'ss'){
167 - push @ss, $param;
168 - }
169 - elsif ($value eq 'si'){
170 - push @si, $param;
171 - }
172 - elsif ($value eq 'mbl'){
173 - push @mbl, $param;
174 - }
175 - }
176 - $OUT .= "ss_dbs=\"\n " . join("\n ", @ss) . "\n\"\n" if (scalar @ss > 0);
177 - $OUT .= "si_dbs=\"\n " . join("\n ", @si) . "\n\"\n" if (scalar @si > 0);
178 - $OUT .= "mbl_dbs=\"\n " . join("\n ", @mbl) . "\n\"\n" if (scalar @mbl > 0);
179 -}
180 -}
181 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
182 --- 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
183 +++ 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
184 @@ -1,2 +0,0 @@
185 -si_update_hours="4"
186 -mbl_update_hours="6"
187 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
188 --- 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
189 +++ 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
190 @@ -1,7 +0,0 @@
191 -work_dir="/var/lib/clamav-unofficial-sigs"
192 -ss_dir="$work_dir/ss-dbs"
193 -si_dir="$work_dir/si-dbs"
194 -mbl_dir="$work_dir/mbl-dbs"
195 -config_dir="$work_dir/configs"
196 -gpg_dir="$work_dir/gpg-key"
197 -add_dir="$work_dir/add-dbs"
198 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
199 --- 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
200 +++ 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
201 @@ -1 +0,0 @@
202 -keep_db_backup="no"
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/070Silence smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/070Silence
204 --- 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
205 +++ 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
206 @@ -1,4 +0,0 @@
207 -curl_silence="no"
208 -rsync_silence="no"
209 -gpg_silence="no"
210 -comment_silence="no"
211 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
212 --- 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
213 +++ 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
214 @@ -1,3 +0,0 @@
215 -enable_logging="yes"
216 -log_file_path="/var/log/clamav-unofficial-sigs"
217 -log_file_name="clamav-unofficial-sigs.log"
218 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
219 --- 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
220 +++ 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
221 @@ -1,2 +0,0 @@
222 -rsync_proxy=""
223 -curl_proxy=""
224 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
225 --- 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
226 +++ 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
227 @@ -1 +0,0 @@
228 -user_configuration_complete="yes"
229 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
230 --- 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
231 +++ 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
232 @@ -0,0 +1,20 @@
233 +# This file contains os configuration settings for clamav-unofficial-sigs.sh
234 +###################
235 +# This is property of eXtremeSHOK.com
236 +# You are free to use, modify and distribute, however you may not remove this notice.
237 +# Copyright (c) Adrian Jon Kriel :: admin@extremeshok.com
238 +# License: BSD (Berkeley Software Distribution)
239 +##################
240 +#
241 +# Script updates can be found at: https://github.com/extremeshok/clamav-unofficial-sigs
242 +#
243 +##################
244 +#
245 +################################################################################
246 +# SEE MASTER.CONF FOR CONFIG EXPLANATIONS
247 +################################################################################
248 +# Rename to os.conf to enable this file
249 +################################################################################
250 +
251 +# Recommended Options for Packaging, this example applies to RHEL/CentOS
252 +
253 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
254 --- 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
255 +++ 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
256 @@ -0,0 +1,2 @@
257 +PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
258 +export PATH
259 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
260 --- 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
261 +++ 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
262 @@ -0,0 +1,2 @@
263 +clam_user="clamupdate"
264 +clam_group="clamupdate"
265 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
266 --- 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
267 +++ 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
268 @@ -0,0 +1 @@
269 +clam_dbs="/var/lib/clamav"
270 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
271 --- 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
272 +++ 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
273 @@ -0,0 +1 @@
274 +clamd_pid="/var/run/clamd/clamd.pid"
275 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
276 --- 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
277 +++ 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
278 @@ -0,0 +1 @@
279 +clamd_socket="/var/run/clamd/clamd.socket"
280 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
281 --- 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
282 +++ 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
283 @@ -0,0 +1,15 @@
284 +# Recommended Options for Packaging, this example applies to RHEL/CentOS
285 +
286 +# Disable Upgrades
287 +allow_upgrades="no"
288 +
289 +# Disable Update Checks
290 +allow_update_checks="no"
291 +
292 +# Provided two variables that package and port maintainers can use in order to
293 +# prevent the script from removing itself with the '-r' flag
294 +# If the script was installed via a package manager like yum, apt, pkg, etc.
295 +# The script will instead provide feedback to the user about how to uninstall the package.
296 +pkg_mgr="yum" #the package manager name
297 +pkg_rm="yum erase clamav-unofficial-sigs" #the package manager command to remove the script
298 +
299 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
300 --- 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
301 +++ 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
302 @@ -0,0 +1,2 @@
303 +reload_dbs="yes"
304 +reload_opt="clamdscan --config-file=/etc/clamd.d/scan.conf --reload"
305 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
306 --- 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
307 +++ 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
308 @@ -0,0 +1 @@
309 +clamd_restart_opt="/usr/bin/systemctl try-restart clamd"
310 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
311 --- 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
312 +++ 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
313 @@ -0,0 +1,4 @@
314 +enable_random="yes"
315 +min_sleep_time="60"
316 +max_sleep_time="600"
317 +
318 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
319 --- 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
320 +++ smeserver-clamav-unofficial-sigs-0.1.0/root/etc/e-smith/templates/etc/clamav-unofficial-sigs/os.conf/040Databases 2022-06-12 23:00:57.665000000 -0400
321 @@ -0,0 +1,74 @@
322 +{
323 +
324 +my %db = $DB->get('clamav-unofficial-sigs')->props;
325 +
326 +my @ss = ();
327 +my @si = ();
328 +my @mbl = ();
329 +
330 +if ((${'clamav-unofficial-sigs'}{'status'} || 'disabled') eq 'enabled'){
331 + while (my ($param,$value) = each(%db)){
332 + if ($value eq 'ss'){
333 + push @ss, $param;
334 + }
335 + elsif ($value eq 'si'){
336 + push @si, $param;
337 + }
338 + elsif ($value eq 'mbl'){
339 + push @mbl, $param;
340 + }
341 + }
342 +# $OUT .= "ss_dbs=\"\n " . join("\n ", @ss) . "\n\"\n" if (scalar @ss > 0);
343 +# $OUT .= "si_dbs=\"\n " . join("\n ", @si) . "\n\"\n" if (scalar @si > 0);
344 +# $OUT .= "mbl_dbs=\"\n " . join("\n ", @mbl) . "\n\"\n" if (scalar @mbl > 0);
345 +}
346 +$OUT ="\n";
347 +}
348 +# securiteinfo
349 +securiteinfo_premium={((${'clamav-unofficial-sigs'}{'securiteinfo_premium'}|| "no" ) eq '"yes"' )? "yes" : '"no"' }
350 +securiteinfo_authorisation_signature={my $key=${'clamav-unofficial-sigs'}{'securiteinfo_authorisation_signature'}|| 'YOUR-SIGNATURE-NUMBER'; $OUT="\"$key\""; }
351 +
352 +#malwareexpert
353 +malwareexpert_serial_key={my $key=${'clamav-unofficial-sigs'}{'malwareexpert_serial_key'}||'YOUR-SERIAL-KEY'; $OUT="\"$key\""}
354 +
355 +#malwarepatrol
356 +malwarepatrol_receipt_code={my $key=${'clamav-unofficial-sigs'}{'malwarepatrol_receipt_code'}||'YOUR-RECEIPT-NUMBER'; $OUT="\"$key\"";}
357 +malwarepatrol_product_code="8"
358 +malwarepatrol_list={((${'clamav-unofficial-sigs'}{'malwarepatrol_list'}||"clamav_basic") eq "clamav_basic") ? "\"clamav_basic\"" : "\"clamav_ext\"";}
359 +
360 +
361 +# ========================
362 +# Enabled Databases
363 +# ========================
364 +# Set to no to disable an entire database, if the database is empty it will also be disabled.
365 +additional_enabled={((${'clamav-unofficial-sigs'}{'additional_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
366 +interserver_enabled={((${'clamav-unofficial-sigs'}{'interserver_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
367 +linuxmalwaredetect_enabled={((${'clamav-unofficial-sigs'}{'linuxmalwaredetect_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
368 +# if serial_key YOUR-SERIAL-KEY will be forced to disabled in script
369 +malwareexpert_enabled={((${'clamav-unofficial-sigs'}{'malwareexpert_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
370 +# if receipt_code YOUR-RECEIPT-NUMBER will be forced to disabled in script
371 +malwarepatrol_enabled={((${'clamav-unofficial-sigs'}{'malwarepatrol_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
372 +sanesecurity_enabled={((${'clamav-unofficial-sigs'}{'sanesecurity_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
373 +# if authorisation_signature YOUR-SIGNATURE-NUMBER will be forced to disabled in script
374 +securiteinfo_enabled=={((${'clamav-unofficial-sigs'}{'securiteinfo_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
375 +urlhaus_enabled={((${'clamav-unofficial-sigs'}{'urlhaus_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
376 +# Yara-Rule Project, automatically disabled if clamav is older than 0.100 and enable_yararules is disabled
377 +yararulesproject_enabled={((${'clamav-unofficial-sigs'}{'yararulesproject_enabled'} || "yes") eq "yes") ? "\"yes\"" : "\"no\"";}
378 +
379 +{
380 +return "# additional disabled\n" unless ((${'clamav-unofficial-sigs'}{'additional_enabled'} || "yes") eq "yes");
381 +
382 +my $additionnal = ${'clamav-unofficial-sigs'}{'additional'} or return "# additional list empty\n";
383 +
384 +$OUT = "declare -a additional_dbs=(\n";
385 +my @values = split(/;,/, $additionnal);
386 +for ( @values ) {
387 + $OUT .= " $_ \n";
388 +}
389 +
390 +$OUT .= ") #END ADDITIONAL DATABASES
391 +";
392 +
393 +#TODO
394 +
395 +}
396 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
397 --- 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
398 +++ 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
399 @@ -0,0 +1,2 @@
400 +si_update_hours="4"
401 +mbl_update_hours="6"
402 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
403 --- 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
404 +++ 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
405 @@ -0,0 +1 @@
406 +keep_db_backup="no"
407 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
408 --- 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
409 +++ 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
410 @@ -0,0 +1,3 @@
411 +enable_logging="yes"
412 +log_file_path="/var/log/clamav-unofficial-sigs"
413 +log_file_name="clamav-unofficial-sigs.log"
414 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
415 --- 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
416 +++ 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
417 @@ -0,0 +1,2 @@
418 +rsync_proxy=""
419 +curl_proxy=""
420 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
421 --- 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
422 +++ 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
423 @@ -0,0 +1 @@
424 +user_configuration_complete="yes"

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