Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= MailScanner |
8 |
PORTNAME= MailScanner |
9 |
PORTVERSION= 4.75.11 |
9 |
PORTVERSION= 4.78.9 |
10 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://www.mailscanner.info/files/4/tar/ |
11 |
MASTER_SITES= http://www.mailscanner.info/files/4/tar/ |
12 |
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} |
12 |
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} |
Lines 55-61
Link Here
|
55 |
|
55 |
|
56 |
PATCHLEVEL= 1 |
56 |
PATCHLEVEL= 1 |
57 |
|
57 |
|
58 |
USE_PERL5= yes |
58 |
USE_PERL5= 5.10.0+ |
|
|
59 |
USE_PERL5_REASON=This port does not work with the default port version of perl, which is 5.8.9. Please install perl 5.10.0+ |
59 |
|
60 |
|
60 |
WRKSRC= ${WRKDIR}/${PORTNAME}-install-${PORTVERSION} |
61 |
WRKSRC= ${WRKDIR}/${PORTNAME}-install-${PORTVERSION} |
61 |
SUB_FILES= pkg-message |
62 |
SUB_FILES= pkg-message |
Lines 106-111
Link Here
|
106 |
|
107 |
|
107 |
DOC_FILES= INSTALL.FreeBSD INSTALL.OpenBSD README |
108 |
DOC_FILES= INSTALL.FreeBSD INSTALL.OpenBSD README |
108 |
ETC_FILES= MailScanner.conf filename.rules.conf \ |
109 |
ETC_FILES= MailScanner.conf filename.rules.conf \ |
|
|
110 |
archives.filename.rules.conf archives.filetype.rules.conf \ |
109 |
filetype.rules.conf spam.assassin.prefs.conf \ |
111 |
filetype.rules.conf spam.assassin.prefs.conf \ |
110 |
spam.lists.conf virus.scanners.conf \ |
112 |
spam.lists.conf virus.scanners.conf \ |
111 |
phishing.safe.sites.conf \ |
113 |
phishing.safe.sites.conf \ |
Lines 164-169
Link Here
|
164 |
${PERL} -pi -e \ |
166 |
${PERL} -pi -e \ |
165 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
167 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
166 |
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ |
168 |
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ |
|
|
169 |
${WRKSRC}/bin/update_bad_phishing_emails |
170 |
${PERL} -pi -e \ |
171 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
172 |
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ |
167 |
${WRKSRC}/bin/update_phishing_sites |
173 |
${WRKSRC}/bin/update_phishing_sites |
168 |
${PERL} -pi -e \ |
174 |
${PERL} -pi -e \ |
169 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
175 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
Lines 241-246
Link Here
|
241 |
${PREFIX}/libexec/MailScanner/clean.quarantine |
247 |
${PREFIX}/libexec/MailScanner/clean.quarantine |
242 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/mailscanner_create_locks \ |
248 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/mailscanner_create_locks \ |
243 |
${PREFIX}/libexec/MailScanner/mailscanner_create_locks |
249 |
${PREFIX}/libexec/MailScanner/mailscanner_create_locks |
|
|
250 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/update_bad_phishing_emails \ |
251 |
${PREFIX}/libexec/MailScanner/update_bad_phishing_emails |
244 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/update_phishing_sites \ |
252 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/update_phishing_sites \ |
245 |
${PREFIX}/libexec/MailScanner/update_phishing_sites |
253 |
${PREFIX}/libexec/MailScanner/update_phishing_sites |
246 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/update_bad_phishing_sites \ |
254 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/update_bad_phishing_sites \ |