From bb976259479ab435e8536659b3d519e61201588d Mon Sep 17 00:00:00 2001 From: kim Date: Wed, 1 Feb 2006 00:57:39 +0000 Subject: Upgrade to version 1.76. Notable changes: - The most common/important file formats are recognized based on file contents, not just file name and MIME-type. Detects WMF files, to allow reliable blacklisting. Detects when people try to disguise non-JPEG/GIF/PNG content as such files and defangs such attachments. - Bug fixed, where disinfection wouldn't result in the modification count of a message being incremented. Some 3rd party systems rely on the modification count to determine whether to use the output or not. This is a critical fix for such systems. - Improved handling of Yahoo DomainKeys. - Fixed crash when multiple Content-Transfer-Encoding headers were present in the same message part. - Added mailblogger.pl, to the distribution. This program has nothing to do with security, but uses the MIMEStream parser to extract images from e-mail and can subsequently generate thumbnails and re-post both text and images to a web-site, to implement email-to-www gateway functionality. (E.g. mobile blogging.) --- mail/anomy-sanitizer/Makefile | 8 +++++--- mail/anomy-sanitizer/PLIST | 4 +++- mail/anomy-sanitizer/distinfo | 8 ++++---- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'mail/anomy-sanitizer') diff --git a/mail/anomy-sanitizer/Makefile b/mail/anomy-sanitizer/Makefile index 144d917cb73..3deba3cde3a 100644 --- a/mail/anomy-sanitizer/Makefile +++ b/mail/anomy-sanitizer/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2005/09/28 20:52:23 rillig Exp $ +# $NetBSD: Makefile,v 1.20 2006/02/01 00:57:39 kim Exp $ # -DISTNAME= anomy-sanitizer-1.69 +DISTNAME= anomy-sanitizer-1.76 CATEGORIES= mail MASTER_SITES= http://mailtools.anomy.net/dist/ @@ -27,7 +27,7 @@ INSTALLATION_DIRS= sbin do-build: cd ${WRKSRC} && ( \ - for i in sanitizer simplify; do \ + for i in mailblogger sanitizer simplify; do \ ( \ cd bin && ${MV} -f $$i.pl $$i.pl.orig && \ ${SED} 's;/usr/bin/perl;${PERL5};' $$i.pl.orig > $$i.pl; \ @@ -39,6 +39,7 @@ do-build: ${ECHO} 'exec $${ANOMY}/bin/'$$i'.pl "$$@"'; \ ) > $$i; \ done; \ + [ -d contrib/.tmp ] && ${RMDIR} contrib/.tmp; \ ) do-install: @@ -59,6 +60,7 @@ do-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ANOMYDOC} ${INSTALL_DATA_DIR} ${ANOMYLIB} ${INSTALL_DATA_DIR} ${ANOMYLIB}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/mailblogger.pl ${ANOMYLIB}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${ANOMYLIB}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${ANOMYLIB}/bin cd ${WRKSRC}/bin && ${PAX} -rw -s',.*\.orig$$,,' Anomy ${ANOMYLIB}/bin diff --git a/mail/anomy-sanitizer/PLIST b/mail/anomy-sanitizer/PLIST index 53bdf807716..8e63494d937 100644 --- a/mail/anomy-sanitizer/PLIST +++ b/mail/anomy-sanitizer/PLIST @@ -1,11 +1,13 @@ -@comment $NetBSD: PLIST,v 1.6 2004/12/29 18:45:49 kim Exp $ +@comment $NetBSD: PLIST,v 1.7 2006/02/01 00:57:39 kim Exp $ lib/anomy-sanitizer/bin/Anomy/HTMLCleaner.pm lib/anomy-sanitizer/bin/Anomy/Log.pm lib/anomy-sanitizer/bin/Anomy/MIMEStream.pm lib/anomy-sanitizer/bin/Anomy/Sanitizer.pm lib/anomy-sanitizer/bin/Anomy/Sanitizer/FProt.pm +lib/anomy-sanitizer/bin/Anomy/Sanitizer/FileTypes.pm lib/anomy-sanitizer/bin/Anomy/Sanitizer/MacroScanner.pm lib/anomy-sanitizer/bin/Anomy/Sanitizer/Scoring.pm +lib/anomy-sanitizer/bin/mailblogger.pl lib/anomy-sanitizer/bin/sanitizer.pl lib/anomy-sanitizer/bin/simplify.pl @dirrm lib/anomy-sanitizer/bin/Anomy/Sanitizer diff --git a/mail/anomy-sanitizer/distinfo b/mail/anomy-sanitizer/distinfo index 0b97e109cd1..8e0faa4bd2a 100644 --- a/mail/anomy-sanitizer/distinfo +++ b/mail/anomy-sanitizer/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2005/02/24 09:59:20 agc Exp $ +$NetBSD: distinfo,v 1.10 2006/02/01 00:57:39 kim Exp $ -SHA1 (anomy-sanitizer-1.69.tar.gz) = c504da0144df2bbefb333beb8d3d5679dc7a749f -RMD160 (anomy-sanitizer-1.69.tar.gz) = ae4db0c58990fa4bd602d29ca21cd4d618519f0e -Size (anomy-sanitizer-1.69.tar.gz) = 154991 bytes +SHA1 (anomy-sanitizer-1.76.tar.gz) = 621f7ce20876d8d5f8c3d756f8756a66dcbf7950 +RMD160 (anomy-sanitizer-1.76.tar.gz) = 30c005dd475442e655aaaf7c0021cf1d54107d1b +Size (anomy-sanitizer-1.76.tar.gz) = 172722 bytes -- cgit v1.2.3