/[smeserver]/rpms/smeserver-clamav/sme10/smeserver-clamav-2.7.0-bz11103-improvements.patch
ViewVC logotype

Diff of /rpms/smeserver-clamav/sme10/smeserver-clamav-2.7.0-bz11103-improvements.patch

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

Revision 1.1 by jpp, Sun Jan 3 04:31:04 2021 UTC Revision 1.3 by jpp, Fri Jan 8 16:04:19 2021 UTC
# Line 48  diff -Nur smeserver-clamav-2.7.0.old/cre Line 48  diff -Nur smeserver-clamav-2.7.0.old/cre
48  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event );  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event );
49  +templates2events("/etc/cron.daily/freshclam", $event );  +templates2events("/etc/cron.daily/freshclam", $event );
50  +templates2events("/etc/cron.d/clamav-update", $event );  +templates2events("/etc/cron.d/clamav-update", $event );
51  +safe_touch("root/etc/e-smith/templates/etc/cron.daily/freshclam");  +
52  +safe_touch("root/etc/e-smith/templates/etc/cron.d/clamav-update");  +safe_touch("root/etc/e-smith/templates/etc/cron.d/clamav-update");
53   event_link("systemd-default", $event, "88"); # updates all the service files etc   event_link("systemd-default", $event, "88"); # updates all the service files etc
54   event_link("systemd-reload", $event, "89"); # systemctl daemon-reload   event_link("systemd-reload", $event, "89"); # systemctl daemon-reload
# Line 188  diff -Nur smeserver-clamav-2.7.0.old/roo Line 188  diff -Nur smeserver-clamav-2.7.0.old/roo
188   [Install]   [Install]
189  -WantedBy=multi-user.target  -WantedBy=multi-user.target
190  +WantedBy=sme-server.target  +WantedBy=sme-server.target
191    diff -Nur smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam
192    --- smeserver-clamav-2.7.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam  1969-12-31 19:00:00.000000000 -0500
193    +++ smeserver-clamav-2.7.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam      2013-01-31 16:31:43.000000000 -0500
194    @@ -0,0 +1,4 @@
195    +#! /bin/sh
196    +# We do not run freshclam here, because an always-running supervised freshclam
197    +# is used in SME Server
198    +exit 0


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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