/[smeserver]/rpms/smeserver-spamassassin/sme8/smeserver-spamassassin-2.2.0-refreshclam.patch
ViewVC logotype

Annotation of /rpms/smeserver-spamassassin/sme8/smeserver-spamassassin-2.2.0-refreshclam.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Jan 3 05:15:14 2014 UTC (10 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-13_el5_sme, HEAD
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.2.0-13.sme
- Include /usr/bin/refreshclam [SME: 8107]

1 wellsi 1.1 diff -ruN smeserver-spamassassin-2.4.0.old/root/usr/bin/refreshclam smeserver-spamassassin-2.4.0/root/usr/bin/refreshclam
2     --- smeserver-spamassassin-2.4.0.old/root/usr/bin/refreshclam 1969-12-31 16:00:00.000000000 -0800
3     +++ smeserver-spamassassin-2.4.0/root/usr/bin/refreshclam 2014-01-02 20:48:51.000000000 -0800
4     @@ -0,0 +1,24 @@
5     +#!/bin/bash
6     +
7     +#Stop qpsmtpd/sqpsmtpd:
8     +/usr/local/bin/svc -d /service/qpsmtpd/
9     +/usr/local/bin/svc -d /service/sqpsmtpd/
10     +
11     +#Stop freshclam/clamd:
12     +/usr/local/bin/svc -d /service/freshclam/
13     +/usr/local/bin/svc -d /service/clamd/
14     +
15     +#Delete all:
16     +/bin/rm -f /var/clamav/*
17     +
18     +#Update clamAV database
19     +/usr/bin/freshclam -v
20     +
21     +#Restart freshclam/clamd
22     +/usr/local/bin/svc -u /service/freshclam/
23     +/usr/local/bin/svc -u /service/clamd/
24     +
25     +#Restart qpsmtpd/sqpsmtpd
26     +/usr/local/bin/svc -u /service/qpsmtpd/
27     +/usr/local/bin/svc -u /service/sqpsmtpd/
28     +

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