head 1.16; access; symbols pkgsrc-2013Q2:1.16.0.6 pkgsrc-2013Q2-base:1.16 pkgsrc-2012Q4:1.16.0.4 pkgsrc-2012Q4-base:1.16 pkgsrc-2011Q4:1.16.0.2 pkgsrc-2011Q4-base:1.16 pkgsrc-2011Q2:1.15.0.6 pkgsrc-2011Q2-base:1.15 pkgsrc-2011Q1:1.15.0.4 pkgsrc-2011Q1-base:1.15 pkgsrc-2010Q4:1.15.0.2 pkgsrc-2010Q4-base:1.15 pkgsrc-2010Q3:1.14.0.6 pkgsrc-2010Q3-base:1.14 pkgsrc-2010Q2:1.14.0.4 pkgsrc-2010Q2-base:1.14 pkgsrc-2010Q1:1.14.0.2 pkgsrc-2010Q1-base:1.14 pkgsrc-2009Q4:1.13.0.6 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.4 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.13.0.2 pkgsrc-2009Q2-base:1.13 pkgsrc-2009Q1:1.12.0.14 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.12 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.10 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.8 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.6 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.4 pkgsrc-2008Q1:1.12.0.2 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.11.0.4 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.2 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.10.0.4 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.2 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.9.0.4 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.2 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.8.0.4 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.6.0.2 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.16 date 2011.10.02.14.11.54; author wiz; state dead; branches; next 1.15; 1.15 date 2010.11.20.20.51.51; author gls; state Exp; branches; next 1.14; 1.14 date 2010.03.21.16.29.41; author wiz; state Exp; branches; next 1.13; 1.13 date 2009.06.14.22.58.04; author joerg; state Exp; branches; next 1.12; 1.12 date 2008.03.04.17.57.18; author jlam; state Exp; branches; next 1.11; 1.11 date 2007.09.04.20.54.29; author joerg; state Exp; branches; next 1.10; 1.10 date 2007.01.07.09.13.58; author rillig; state Exp; branches; next 1.9; 1.9 date 2006.07.04.09.13.49; author rillig; state Exp; branches; next 1.8; 1.8 date 2006.02.05.23.09.56; author joerg; state Exp; branches; next 1.7; 1.7 date 2005.12.29.06.21.50; author jlam; state Exp; branches; next 1.6; 1.6 date 2005.12.05.20.50.33; author rillig; state Exp; branches; next 1.5; 1.5 date 2005.07.16.01.19.12; author jlam; state Exp; branches; next 1.4; 1.4 date 2005.06.16.06.58.02; author jlam; state Exp; branches; next 1.3; 1.3 date 2004.12.28.02.47.44; author reed; state Exp; branches; next 1.2; 1.2 date 2004.09.26.18.35.51; author agc; state Exp; branches; next 1.1; 1.1 date 2004.09.25.00.33.19; author grant; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.09.25.00.33.19; author grant; state Exp; branches; next ; desc @@ 1.16 log @Remove packages scheduled to be deleted according to the pkgsrc-2011Q2 release notes. @ text @# $NetBSD: Makefile,v 1.15 2010/11/20 20:51:51 gls Exp $ # DISTNAME= MailScanner-4.30.3-2 PKGNAME= mailscanner-4.30.3.2 PKGREVISION= 3 CATEGORIES= mail MASTER_SITES= http://www.mailscanner.info/files/4/tar/ MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://www.mailscanner.info/ COMMENT= Powerful spam/virus filter with many options PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/MailScanner-4.30.3 PKG_SYSCONFSUBDIR= MailScanner DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip DEPENDS+= p5-Convert-BinHex-[0-9]*:../../converters/p5-Convert-BinHex DEPENDS+= p5-Net-CIDR>=0.09:../../devel/p5-Net-CIDR DEPENDS+= p5-MIME-tools>=0:../../mail/p5-MIME-tools DEPENDS+= tnef>=1.0:../../mail/tnef NO_BUILD= YES USE_TOOLS+= perl:run bash:run REPLACE_BASH+= bin/update_virus_scanners REPLACE_PERL+= bin/MailScanner REPLACE_PERL+= lib/panda-wrapper lib/rav-wrapper lib/*-autoupdate DOCSDIR= ${LOCALBASE}/share/doc/MailScanner EGDIR= ${LOCALBASE}/share/examples/MailScanner LIBDIR= ${LOCALBASE}/lib/MailScanner LIBEXECDIR= ${LOCALBASE}/libexec/MailScanner OWN_DIRS= ${PKG_SYSCONFDIR}/CustomFunctions OWN_DIRS+= ${PKG_SYSCONFDIR}/rules PLIST_SUBST+= DOCSDIR=${DOCSDIR:Q} PLIST_SUBST+= EGDIR=${EGDIR:Q} PLIST_SUBST+= LIBDIR=${LIBDIR:Q} PLIST_SUBST+= LIBEXECDIR=${LIBEXECDIR:Q} PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC MS_CONFIG_FILES= filename.rules.conf \ filetype.rules.conf spam.assassin.prefs.conf \ spam.lists.conf virus.scanners.conf \ rules/bounce.rules rules/spam.whitelist.rules CONF_FILES+= ${EGDIR}/MailScanner.conf ${PKG_SYSCONFDIR}/MailScanner.conf .for _f_ in ${MS_CONFIG_FILES} CONF_FILES+= ${EGDIR}/${_f_} ${PKG_SYSCONFDIR}/${_f_} .endfor RCD_SCRIPTS= mailscanner SUBST_CLASSES+= paths SUBST_STAGE.paths= post-patch SUBST_FILES.paths= bin/MailScanner etc/MailScanner.conf SUBST_FILES.paths+= etc/virus.scanners.conf bin/update_virus_scanners SUBST_FILES.paths+= lib/MailScanner/ConfigDefs.pl SUBST_SED.paths= -e s,/opt/MailScanner/lib/MailScanner/CustomFunctions,${PKG_SYSCONFDIR}/CustomFunctions,g SUBST_SED.paths+= -e s,/opt/MailScanner/lib,${LIBDIR},g SUBST_SED.paths+= -e s,/opt/MailScanner/etc/reports,${EGDIR}/reports,g SUBST_SED.paths+= -e s,/opt/MailScanner/etc,${PKG_SYSCONFDIR},g SUBST_SED.paths+= -e s,/opt/MailScanner/var/MailScanner.pid,/var/run/MailScanner.pid,g SUBST_SED.paths+= -e s,/opt/MailScanner/bin,${PREFIX}/bin,g .include "../../mk/bsd.prefs.mk" # XXX this could use some improvement .if ${OPSYS} == "NetBSD" SUBST_CLASSES+= sendmail SUBST_STAGE.sendmail= post-patch SUBST_FILES.sendmail= bin/MailScanner etc/MailScanner.conf SUBST_FILES.sendmail+= etc/virus.scanners.conf bin/update_virus_scanners SUBST_FILES.sendmail+= lib/MailScanner/ConfigDefs.pl SUBST_SED.sendmail= -e s,/usr/lib/sendmail,/usr/sbin/mailwrapper,g .endif SUBST_CLASSES+= systemdefs SUBST_STAGE.systemdefs= post-patch SUBST_FILES.systemdefs= lib/MailScanner/SystemDefs.pm SUBST_SED.systemdefs= -e s,/bin/cat,${CAT},g SUBST_SED.systemdefs= -e s,/bin/cp,${CP},g SUBST_SED.systemdefs= -e s,/bin/rm,${RM},g # we can't use sed from pkgsrc as it won't be registered as a # dependency. XXX tools.mk needs a way to tell us about this dependency. .if empty(SED:M${LOCALBASE}*) SUBST_SED.systemdefs= -e s,/bin/sed,${SED},g .endif INSTALLATION_DIRS= bin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 # get rid of CVS backup files post-extract: cd ${WRKSRC} && ${RM} -f */.#* do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/rules ${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${DESTDIR}${PREFIX}/bin ${INSTALL_LIB_DIR} ${DESTDIR}${LIBEXECDIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_virus_scanners ${DESTDIR}${LIBEXECDIR} cd ${WRKSRC}/lib && ${FIND} . -name "*-autoupdate" -exec ${INSTALL_SCRIPT} '{}' ${DESTDIR}${LIBEXECDIR} \; cd ${WRKSRC}/lib && ${FIND} . -name "*-wrapper" -exec ${INSTALL_SCRIPT} '{}' ${DESTDIR}${LIBEXECDIR} \; ${INSTALL_DATA} ${WRKSRC}/etc/MailScanner.conf ${DESTDIR}${EGDIR}/MailScanner.conf .for _f_ in ${MS_CONFIG_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${_f_} ${DESTDIR}${EGDIR} .endfor cd ${WRKSRC}/etc/rules && ${INSTALL_DATA} \ EXAMPLES README spam.whitelist.rules bounce.rules \ ${DESTDIR}${EGDIR}/rules cd ${WRKSRC}/etc && ${FIND} reports -type d -exec ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/'{}' \; cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${DESTDIR}${EGDIR}/'{}' \; ${INSTALL_LIB_DIR} ${DESTDIR}${LIBDIR} ${INSTALL_LIB_DIR} ${DESTDIR}${LIBDIR}/MailScanner ${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm ${DESTDIR}${LIBDIR} cd ${WRKSRC}/lib/MailScanner && ${FIND} . -name "*.pm" -exec ${INSTALL_DATA} '{}' ${DESTDIR}${LIBDIR}/MailScanner \; cd ${WRKSRC}/lib/MailScanner && ${FIND} . -name "*.pl" -exec ${INSTALL_DATA} '{}' ${DESTDIR}${LIBDIR}/MailScanner \; ${INSTALL_DATA_DIR} ${DESTDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${FIND} * -type d -exec ${INSTALL_DATA_DIR} ${DESTDIR}${DOCSDIR}'/{}' \; cd ${WRKSRC}/docs && ${FIND} * -type f -exec ${INSTALL_DATA} '{}' ${DESTDIR}${DOCSDIR} \; cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 post-install: ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} ${ECHO} bin/MailScanner >> ${PLIST_SRC} ${ECHO} man/man5/MailScanner.conf.5 >> ${PLIST_SRC} ${ECHO} man/man8/MailScanner.8 >> ${PLIST_SRC} .for _dir_ in ${DOCSDIR} ${EGDIR} ${LIBDIR} ${LIBEXECDIR} ${FIND} ${DESTDIR}${_dir_} \( -type f -o -type l \) -print \ | ${SORT} | ${SED} -e "s,${DESTDIR}${PREFIX}/,,g" \ >> ${PLIST_SRC} .endfor .include "../../mk/bsd.pkg.mk" @ 1.15 log @Fix MASTER_SITES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2010/03/21 16:29:41 wiz Exp $ @ 1.14 log @Reset maintainer, developer lost his commit bit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2009/06/14 22:58:04 joerg Exp $ d8 1 a8 1 MASTER_SITES= http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/ @ 1.13 log @Remove @@dirrm related logic. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2008/03/04 17:57:18 jlam Exp $ d10 1 a10 1 MAINTAINER= grant@@NetBSD.org @ 1.12 log @Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2007/09/04 20:54:29 joerg Exp $ a142 5 .for _dir_ in ${DOCSDIR} ${EGDIR} ${LIBDIR} ${LIBEXECDIR} ${FIND} ${DESTDIR}${_dir_} -type d -print \ | ${SORT} -r | ${SED} -e "s,${DESTDIR}${PREFIX}/,@@dirrm ,g" \ >> ${PLIST_SRC} .endfor @ 1.11 log @Fix path to Perl and Bash, bump revision. The bash script might either be a normal Bourne script or easily fixable, but leave that to the maintainer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2007/01/07 09:13:58 rillig Exp $ d14 2 d102 8 a109 8 ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA_DIR} ${EGDIR}/rules ${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/bin ${INSTALL_LIB_DIR} ${LIBEXECDIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/update_virus_scanners ${LIBEXECDIR} cd ${WRKSRC}/lib && ${FIND} . -name "*-autoupdate" -exec ${INSTALL_SCRIPT} '{}' ${LIBEXECDIR} \; cd ${WRKSRC}/lib && ${FIND} . -name "*-wrapper" -exec ${INSTALL_SCRIPT} '{}' ${LIBEXECDIR} \; d111 1 a111 1 ${INSTALL_DATA} ${WRKSRC}/etc/MailScanner.conf ${EGDIR}/MailScanner.conf d113 1 a113 1 ${INSTALL_DATA} ${WRKSRC}/etc/${_f_} ${EGDIR} d117 15 a131 15 ${EGDIR}/rules cd ${WRKSRC}/etc && ${FIND} reports -type d -exec ${INSTALL_DATA_DIR} ${EGDIR}/'{}' \; cd ${WRKSRC}/etc && ${FIND} reports -type f ! -name "*.orig" -exec ${INSTALL_DATA} '{}' ${EGDIR}/'{}' \; ${INSTALL_LIB_DIR} ${LIBDIR} ${INSTALL_LIB_DIR} ${LIBDIR}/MailScanner ${INSTALL_SCRIPT} ${WRKSRC}/lib/MailScanner.pm ${LIBDIR} cd ${WRKSRC}/lib/MailScanner && ${FIND} . -name "*.pm" -exec ${INSTALL_DATA} '{}' ${LIBDIR}/MailScanner \; cd ${WRKSRC}/lib/MailScanner && ${FIND} . -name "*.pl" -exec ${INSTALL_DATA} '{}' ${LIBDIR}/MailScanner \; ${INSTALL_DATA_DIR} ${DOCSDIR} cd ${WRKSRC}/docs && ${FIND} * -type d -exec ${INSTALL_DATA_DIR} ${DOCSDIR}'/{}' \; cd ${WRKSRC}/docs && ${FIND} * -type f -exec ${INSTALL_DATA} '{}' ${DOCSDIR} \; cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.conf.5 ${PREFIX}/${PKGMANDIR}/man5 cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.8 ${PREFIX}/${PKGMANDIR}/man8 d139 2 a140 2 ${FIND} ${_dir_} \( -type f -o -type l \) -print \ | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \ d144 2 a145 2 ${FIND} ${_dir_} -type d -print \ | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@@dirrm ,g" \ @ 1.10 log @Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2006/07/04 09:13:49 rillig Exp $ d6 1 a6 1 PKGREVISION= 2 d25 4 a28 2 USE_TOOLS+= perl:run REPLACE_PERL= bin/MailScanner @ 1.9 log @Fixed those pkglint warnings that concern the SUBST blocks. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2006/02/05 23:09:56 joerg Exp $ d91 1 a91 1 INSTALLATION_DIRS= bin man/man5 man/man8 d126 2 a127 2 cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.conf.5 ${PREFIX}/man/man5 cd ${WRKSRC}/docs/man && ${INSTALL_MAN} MailScanner.8 ${PREFIX}/man/man8 @ 1.8 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2005/12/29 06:21:50 jlam Exp $ d55 1 a55 2 SUBST_CLASSES+= paths sendmail systemdefs a59 1 d71 1 d79 1 a84 1 @ 1.7 log @Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2005/12/05 20:50:33 rillig Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.6 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2005/07/16 01:19:12 jlam Exp $ a14 1 USE_PKGINSTALL= YES @ 1.5 log @Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2005/06/16 06:58:02 jlam Exp $ d26 1 a26 1 USE_TOOLS= perl:run d37 4 a40 4 PLIST_SUBST+= DOCSDIR=${DOCSDIR} PLIST_SUBST+= EGDIR=${EGDIR} PLIST_SUBST+= LIBDIR=${LIBDIR} PLIST_SUBST+= LIBEXECDIR=${LIBEXECDIR} @ 1.4 log @Create directories before installing files into them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2004/12/28 02:47:44 reed Exp $ d26 1 a26 1 USE_PERL5= YES @ 1.3 log @The default location of the pkgsrc-installed rc.d scripts is now under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2004/09/26 18:35:51 agc Exp $ d93 2 @ 1.2 log @Use the correct path for p5-Convert-BinHex. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2004/09/25 00:33:19 grant Exp $ d6 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d19 1 a19 1 DEPENDS+= p5-Convert-BinHex-[0-9]*:../../wip/p5-Convert-BinHex @ 1.1.1.1 log @Initial import of mailscanner-4.30.3.2 into the NetBSD packages collection. MailScanner is a complete e-mail security system designed for use on e-mail gateways. It protects against viruses, and detects attacks against e-mail client packages (such as Outlook, Outlook Express, Eudora). It can also detect almost all unsolicited commercial e-mail (spam) passing through it and respond to all incidents in a wide variety of ways. Not only can it scan for known viruses, but it can also protect against unknown viruses hidden inside e-mail attachments by refusing entry to attachments whose filenames match any given pattern. This can include generic patterns that trap filenames attempting to hide the true filename extension (e.g. ".txt.vbs"). It is superior to many commercial packages in its ability to handle attacks against itself, such as Denial Of Service attacks caused by messages containing the "Zip of Death". It is easy to install into an existing e-mail gateway, requiring very little knowledge of sendmail and no change to an existing sendmail configuration. MailScanner itself is entirely open source, but it uses widely known commercial virus scanning packages at its core. The other software it uses is all high quality open source software, leading to a system that can be trusted for performance and reliability. @ text @@