View | Details | Raw Unified | Return to bug 96351
Collapse All | Expand All

(-)Makefile (-2 / +5 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	MailScanner
8
PORTNAME=	MailScanner
9
PORTVERSION=	4.52.2
9
PORTVERSION=	4.52.2
10
PORTREVISION=	1
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
12
MASTER_SITES=	http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/
12
DISTNAME=	${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
13
DISTNAME=	${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL}
Lines 146-152 Link Here
146
		${WRKSRC}/bin/update_virus_scanners
147
		${WRKSRC}/bin/update_virus_scanners
147
	${PERL} -pi -e \
148
	${PERL} -pi -e \
148
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
149
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
149
		s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \
150
		s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \
151
		s,%%RC_SUBR%%,${RC_SUBR},g;' \
150
		${WRKSRC}/bin/cron/update_virus_scanners.cron
152
		${WRKSRC}/bin/cron/update_virus_scanners.cron
151
	${PERL} -pi -e \
153
	${PERL} -pi -e \
152
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
154
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
Lines 154-160 Link Here
154
		${WRKSRC}/bin/update_phishing_sites
156
		${WRKSRC}/bin/update_phishing_sites
155
	${PERL} -pi -e \
157
	${PERL} -pi -e \
156
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
158
		's,/bin/bash,${LOCALBASE}/bin/bash,g; \
157
		s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \
159
		s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \
160
		s,%%RC_SUBR%%,${RC_SUBR},g;' \
158
		${WRKSRC}/bin/cron/update_phishing_sites.cron
161
		${WRKSRC}/bin/cron/update_phishing_sites.cron
159
	${PERL} -pi -e \
162
	${PERL} -pi -e \
160
		's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \
163
		's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \
(-)files/CHANGES.port (-1 / +9 lines)
Lines 1-6 Link Here
1
Version 4.52.2_1
2
=================
3
- fixed bug in mta.sh script
4
- fixed rc.subr reference in update_phishing_sites.cron and 
5
  update_virus_scanners.cron --> now dynamically rewritten to correct
6
  location
7
- Exim 4.61 changed queue file format which was incompatible with 4.52.2 --> patched
8
1
Version 4.52.2
9
Version 4.52.2
2
=================
10
=================
3
- Upgrade to MailScanenr 4.52
11
- Upgrade to MailScanner 4.52
4
12
5
Version 4.51.5
13
Version 4.51.5
6
=================
14
=================
(-)files/mta.sh.in (-1 / +1 lines)
Lines 69-75 Link Here
69
	\( \( $_mta_osversion -ge 700000 \) -a \
69
	\( \( $_mta_osversion -ge 700000 \) -a \
70
		\( $_mta_osversion -lt 700007 \) \) ]
70
		\( $_mta_osversion -lt 700007 \) \) ]
71
then
71
then
72
	$_mta_rc_script="{$_mta_rc_script}.sh"
72
	_mta_rc_script="${_mta_rc_script}.sh"
73
fi
73
fi
74
74
75
load_rc_config $name
75
load_rc_config $name
(-)files/patch-bin:cron:update_phishing_sites.cron (-1 / +1 lines)
Lines 15-21 Link Here
15
+# order to spread virus updates round the clock. 1800 seconds = 30 minutes.
15
+# order to spread virus updates round the clock. 1800 seconds = 30 minutes.
16
+# Set this to 0 to disable it
16
+# Set this to 0 to disable it
17
+
17
+
18
+. /usr/local/etc/rc.subr
18
+. %%RC_SUBR%%
19
+
19
+
20
+name="mailscanner"
20
+name="mailscanner"
21
+rcvar=`set_rcvar`
21
+rcvar=`set_rcvar`
(-)files/patch-bin:cron:update_virus_scanners.cron (-1 / +1 lines)
Lines 15-21 Link Here
15
+# order to spread virus updates round the clock. 1800 seconds = 30 minutes.
15
+# order to spread virus updates round the clock. 1800 seconds = 30 minutes.
16
+# Set this to 0 to disable it
16
+# Set this to 0 to disable it
17
+
17
+
18
+. /usr/local/etc/rc.subr
18
+. %%RC_SUBR%%
19
+
19
+
20
+name="mailscanner"
20
+name="mailscanner"
21
+rcvar=`set_rcvar`
21
+rcvar=`set_rcvar`

Return to bug 96351