Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= MailScanner |
8 |
PORTNAME= MailScanner |
9 |
PORTVERSION= 4.67.6 |
9 |
PORTVERSION= 4.75.11 |
10 |
PORTREVISION= 4 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
12 |
MASTER_SITES= http://www.mailscanner.info/files/4/tar/ |
12 |
MASTER_SITES= http://www.mailscanner.info/files/4/tar/ |
13 |
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} |
13 |
DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} |
Lines 39-45
BUILD_DEPENDS= \
Link Here
|
39 |
${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ |
39 |
${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ |
40 |
${SITE_PERL}/${PERL_ARCH}/Filesys/Df.pm:${PORTSDIR}/sysutils/p5-Filesys-Df \ |
40 |
${SITE_PERL}/${PERL_ARCH}/Filesys/Df.pm:${PORTSDIR}/sysutils/p5-Filesys-Df \ |
41 |
${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \ |
41 |
${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \ |
42 |
${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO |
42 |
${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO \ |
|
|
43 |
${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite |
43 |
|
44 |
|
44 |
RUN_DEPENDS= ${BUILD_DEPENDS} \ |
45 |
RUN_DEPENDS= ${BUILD_DEPENDS} \ |
45 |
bash:${PORTSDIR}/shells/bash \ |
46 |
bash:${PORTSDIR}/shells/bash \ |
Lines 112-118
ETC_FILES= MailScanner.conf filename.rules.conf \
Link Here
|
112 |
phishing.bad.sites.conf \ |
113 |
phishing.bad.sites.conf \ |
113 |
country.domains.conf |
114 |
country.domains.conf |
114 |
MCP_FILES= mcp.spam.assassin.prefs.conf \ |
115 |
MCP_FILES= mcp.spam.assassin.prefs.conf \ |
115 |
10_example.cf |
116 |
10_example.cf \ |
|
|
117 |
v320.pre |
118 |
|
116 |
USRLOCAL_FILES_LIB= \ |
119 |
USRLOCAL_FILES_LIB= \ |
117 |
bitdefender-autoupdate f-prot-autoupdate \ |
120 |
bitdefender-autoupdate f-prot-autoupdate \ |
118 |
f-secure-wrapper inoculan-autoupdate \ |
121 |
f-secure-wrapper inoculan-autoupdate \ |
Lines 179-189
do-build:
Link Here
|
179 |
${WRKSRC}/bin/cron/update_spamassassin.cron |
182 |
${WRKSRC}/bin/cron/update_spamassassin.cron |
180 |
${PERL} -pi -e \ |
183 |
${PERL} -pi -e \ |
181 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
184 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
182 |
s,/etc/init.d/MailScanner,${LOCALBASE}/etc/rc.d/mailscanner,g; \ |
185 |
s,/etc/init.d/MailScanner,${LOCALBASE}/etc/rc.d/mailscanner,g; \ |
183 |
s,/etc/mail/,${LOCALBASE}/etc/mail/,g; \ |
186 |
s,/etc/mail/,${LOCALBASE}/etc/mail/,g; \ |
184 |
s,/usr/bin/sa-compile,${LOCALBASE}/bin/sa-compile,g; \ |
187 |
s,/usr/bin/sa-compile,${LOCALBASE}/bin/sa-compile,g; \ |
185 |
s,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g;' \ |
188 |
s,/usr/bin/sa-update,${LOCALBASE}/bin/sa-update,g;' \ |
186 |
${WRKSRC}/bin/update_spamassassin |
189 |
${WRKSRC}/bin/update_spamassassin |
187 |
${PERL} -pi -e \ |
190 |
${PERL} -pi -e \ |
188 |
's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \ |
191 |
's,/etc/MailScanner/MailScanner.conf,${PREFIX}/etc/MailScanner/MailScanner.conf,g;' \ |
189 |
${WRKSRC}/bin/clean.SA.cache |
192 |
${WRKSRC}/bin/clean.SA.cache |
Lines 262-267
do-install:
Link Here
|
262 |
${INSTALL_DATA} EXAMPLES README ${PREFIX}/etc/MailScanner/rules |
265 |
${INSTALL_DATA} EXAMPLES README ${PREFIX}/etc/MailScanner/rules |
263 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ |
266 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ |
264 |
${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample |
267 |
${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules.sample |
|
|
268 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/bounce.rules \ |
269 |
${PREFIX}/etc/MailScanner/rules/bounce.rules.sample |
270 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/max.message.size.rules \ |
271 |
${PREFIX}/etc/MailScanner/rules/max.message.size.rules.sample |
265 |
${MKDIR} ${PREFIX}/etc/MailScanner/mcp |
272 |
${MKDIR} ${PREFIX}/etc/MailScanner/mcp |
266 |
${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner/mcp |
273 |
${CHMOD} ${BINMODE} ${PREFIX}/etc/MailScanner/mcp |
267 |
.for FILE in ${MCP_FILES} |
274 |
.for FILE in ${MCP_FILES} |
Lines 377-382
initial-config: renew-wrapper renew-autoupdate renew-reports
Link Here
|
377 |
${PREFIX}/etc/MailScanner |
384 |
${PREFIX}/etc/MailScanner |
378 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ |
385 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/spam.whitelist.rules \ |
379 |
${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules |
386 |
${PREFIX}/etc/MailScanner/rules/spam.whitelist.rules |
|
|
387 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/bounce.rules \ |
388 |
${PREFIX}/etc/MailScanner/rules/bounce.rules |
389 |
${INSTALL_DATA} ${WRKSRC}/etc/rules/max.message.size.rules \ |
390 |
${PREFIX}/etc/MailScanner/rules/max.message.size.rules |
391 |
.for FILE in ${MCP_FILES} |
392 |
${INSTALL_DATA} ${WRKSRC}/etc/mcp/${FILE} \ |
393 |
${PREFIX}/etc/MailScanner/mcp/${FILE} |
394 |
.endfor |
380 |
@${ECHO} "******************************************************************************" |
395 |
@${ECHO} "******************************************************************************" |
381 |
@${ECHO} "The provided default configuration requires several directories to be created:" |
396 |
@${ECHO} "The provided default configuration requires several directories to be created:" |
382 |
@${ECHO} "/var/spool/MailScanner/incoming" |
397 |
@${ECHO} "/var/spool/MailScanner/incoming" |