head 1.47; access; symbols pkgsrc-2023Q4:1.47.0.12 pkgsrc-2023Q4-base:1.47 pkgsrc-2023Q3:1.47.0.10 pkgsrc-2023Q3-base:1.47 pkgsrc-2023Q2:1.47.0.8 pkgsrc-2023Q2-base:1.47 pkgsrc-2023Q1:1.47.0.6 pkgsrc-2023Q1-base:1.47 pkgsrc-2022Q4:1.47.0.4 pkgsrc-2022Q4-base:1.47 pkgsrc-2022Q3:1.47.0.2 pkgsrc-2022Q3-base:1.47 pkgsrc-2022Q2:1.46.0.10 pkgsrc-2022Q2-base:1.46 pkgsrc-2022Q1:1.46.0.8 pkgsrc-2022Q1-base:1.46 pkgsrc-2021Q4:1.46.0.6 pkgsrc-2021Q4-base:1.46 pkgsrc-2021Q3:1.46.0.4 pkgsrc-2021Q3-base:1.46 pkgsrc-2021Q2:1.46.0.2 pkgsrc-2021Q2-base:1.46 pkgsrc-2021Q1:1.45.0.6 pkgsrc-2021Q1-base:1.45 pkgsrc-2020Q4:1.45.0.4 pkgsrc-2020Q4-base:1.45 pkgsrc-2020Q3:1.45.0.2 pkgsrc-2020Q3-base:1.45 pkgsrc-2020Q2:1.44.0.8 pkgsrc-2020Q2-base:1.44 pkgsrc-2020Q1:1.44.0.4 pkgsrc-2020Q1-base:1.44 pkgsrc-2019Q4:1.44.0.6 pkgsrc-2019Q4-base:1.44 pkgsrc-2019Q3:1.44.0.2 pkgsrc-2019Q3-base:1.44 pkgsrc-2019Q2:1.43.0.8 pkgsrc-2019Q2-base:1.43 pkgsrc-2019Q1:1.43.0.6 pkgsrc-2019Q1-base:1.43 pkgsrc-2018Q4:1.43.0.4 pkgsrc-2018Q4-base:1.43 pkgsrc-2018Q3:1.43.0.2 pkgsrc-2018Q3-base:1.43 pkgsrc-2018Q2:1.42.0.10 pkgsrc-2018Q2-base:1.42 pkgsrc-2018Q1:1.42.0.8 pkgsrc-2018Q1-base:1.42 pkgsrc-2017Q4:1.42.0.6 pkgsrc-2017Q4-base:1.42 pkgsrc-2017Q3:1.42.0.4 pkgsrc-2017Q3-base:1.42 pkgsrc-2017Q2:1.41.0.8 pkgsrc-2017Q2-base:1.41 pkgsrc-2017Q1:1.41.0.6 pkgsrc-2017Q1-base:1.41 pkgsrc-2016Q4:1.41.0.4 pkgsrc-2016Q4-base:1.41 pkgsrc-2016Q3:1.41.0.2 pkgsrc-2016Q3-base:1.41 pkgsrc-2016Q2:1.40.0.2 pkgsrc-2016Q2-base:1.40 pkgsrc-2016Q1:1.39.0.4 pkgsrc-2016Q1-base:1.39 pkgsrc-2015Q4:1.39.0.2 pkgsrc-2015Q4-base:1.39 pkgsrc-2015Q3:1.38.0.4 pkgsrc-2015Q3-base:1.38 pkgsrc-2015Q2:1.38.0.2 pkgsrc-2015Q2-base:1.38 pkgsrc-2015Q1:1.37.0.8 pkgsrc-2015Q1-base:1.37 pkgsrc-2014Q4:1.37.0.6 pkgsrc-2014Q4-base:1.37 pkgsrc-2014Q3:1.37.0.4 pkgsrc-2014Q3-base:1.37 pkgsrc-2014Q2:1.37.0.2 pkgsrc-2014Q2-base:1.37 pkgsrc-2014Q1:1.35.0.8 pkgsrc-2014Q1-base:1.35 pkgsrc-2013Q4:1.35.0.6 pkgsrc-2013Q4-base:1.35 pkgsrc-2013Q3:1.35.0.4 pkgsrc-2013Q3-base:1.35 pkgsrc-2013Q2:1.35.0.2 pkgsrc-2013Q2-base:1.35 pkgsrc-2013Q1:1.34.0.4 pkgsrc-2013Q1-base:1.34 pkgsrc-2012Q4:1.34.0.2 pkgsrc-2012Q4-base:1.34 pkgsrc-2012Q3:1.32.0.8 pkgsrc-2012Q3-base:1.32 pkgsrc-2012Q2:1.32.0.6 pkgsrc-2012Q2-base:1.32 pkgsrc-2012Q1:1.32.0.4 pkgsrc-2012Q1-base:1.32 pkgsrc-2011Q4:1.32.0.2 pkgsrc-2011Q4-base:1.32 pkgsrc-2011Q3:1.31.0.8 pkgsrc-2011Q3-base:1.31 pkgsrc-2011Q2:1.31.0.6 pkgsrc-2011Q2-base:1.31 pkgsrc-2011Q1:1.31.0.4 pkgsrc-2011Q1-base:1.31 pkgsrc-2010Q4:1.31.0.2 pkgsrc-2010Q4-base:1.31 pkgsrc-2010Q3:1.29.0.6 pkgsrc-2010Q3-base:1.29 pkgsrc-2010Q2:1.29.0.4 pkgsrc-2010Q2-base:1.29 pkgsrc-2010Q1:1.29.0.2 pkgsrc-2010Q1-base:1.29 pkgsrc-2009Q4:1.28.0.4 pkgsrc-2009Q4-base:1.28 pkgsrc-2009Q3:1.28.0.2 pkgsrc-2009Q3-base:1.28 pkgsrc-2009Q2:1.27.0.24 pkgsrc-2009Q2-base:1.27 pkgsrc-2009Q1:1.27.0.22 pkgsrc-2009Q1-base:1.27 pkgsrc-2008Q4:1.27.0.20 pkgsrc-2008Q4-base:1.27 pkgsrc-2008Q3:1.27.0.18 pkgsrc-2008Q3-base:1.27 cube-native-xorg:1.27.0.16 cube-native-xorg-base:1.27 pkgsrc-2008Q2:1.27.0.14 pkgsrc-2008Q2-base:1.27 cwrapper:1.27.0.12 pkgsrc-2008Q1:1.27.0.10 pkgsrc-2008Q1-base:1.27 pkgsrc-2007Q4:1.27.0.8 pkgsrc-2007Q4-base:1.27 pkgsrc-2007Q3:1.27.0.6 pkgsrc-2007Q3-base:1.27 pkgsrc-2007Q2:1.27.0.4 pkgsrc-2007Q2-base:1.27 pkgsrc-2007Q1:1.27.0.2 pkgsrc-2007Q1-base:1.27 pkgsrc-2006Q4:1.25.0.12 pkgsrc-2006Q4-base:1.25 pkgsrc-2006Q3:1.25.0.10 pkgsrc-2006Q3-base:1.25 pkgsrc-2006Q2:1.25.0.8 pkgsrc-2006Q2-base:1.25 pkgsrc-2006Q1:1.25.0.6 pkgsrc-2006Q1-base:1.25 pkgsrc-2005Q4:1.25.0.4 pkgsrc-2005Q4-base:1.25 pkgsrc-2005Q3:1.25.0.2 pkgsrc-2005Q3-base:1.25 pkgsrc-2005Q2:1.20.0.2 pkgsrc-2005Q2-base:1.20 pkgsrc-2005Q1:1.19.0.6 pkgsrc-2005Q1-base:1.19 pkgsrc-2004Q4:1.19.0.4 pkgsrc-2004Q4-base:1.19 pkgsrc-2004Q3:1.19.0.2 pkgsrc-2004Q3-base:1.19 pkgsrc-2004Q2:1.17.0.6 pkgsrc-2004Q2-base:1.17 pkgsrc-2004Q1:1.17.0.4 pkgsrc-2004Q1-base:1.17 pkgsrc-2003Q4:1.17.0.2 pkgsrc-2003Q4-base:1.17 netbsd-1-6-1:1.12.0.2 netbsd-1-6-1-base:1.12 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.47 date 2022.06.28.11.34.22; author wiz; state Exp; branches; next 1.46; commitid D2UoJrTHpoHEANJD; 1.46 date 2021.05.24.19.52.42; author wiz; state Exp; branches; next 1.45; commitid qokaiStTApGMcrUC; 1.45 date 2020.08.31.18.09.58; author wiz; state Exp; branches; next 1.44; commitid 7zxRbfOkDOoxbfmC; 1.44 date 2019.08.11.13.21.30; author wiz; state Exp; branches; next 1.43; commitid Ifet9Pg6Qt99ZByB; 1.43 date 2018.08.22.09.45.26; author wiz; state Exp; branches; next 1.42; commitid YLub8g3ofvFGb6PA; 1.42 date 2017.09.03.08.53.10; author wiz; state Exp; branches; next 1.41; commitid EfT0kpQ2wSMtgJ5A; 1.41 date 2016.07.09.06.38.30; author wiz; state Exp; branches; next 1.40; commitid dlqnocGpOoXV2Cdz; 1.40 date 2016.04.10.16.39.28; author joerg; state Exp; branches; next 1.39; commitid 4zcHxHDqKoJLg62z; 1.39 date 2015.09.26.14.30.24; author bouyer; state Exp; branches; next 1.38; commitid I69ENhHkovzMSLCy; 1.38 date 2015.06.12.10.50.20; author wiz; state Exp; branches 1.38.4.1; next 1.37; commitid B4JmCfaVUbiY38py; 1.37 date 2014.05.29.23.36.46; author wiz; state Exp; branches; next 1.36; commitid laryHfkCalgYtuCx; 1.36 date 2014.04.22.22.32.18; author schnoebe; state Exp; branches; next 1.35; commitid aq7y870Bhj6EkJxx; 1.35 date 2013.05.31.12.41.15; author wiz; state Exp; branches; next 1.34; commitid hIeXGcx6VfKHwMRw; 1.34 date 2012.10.08.12.19.17; author asau; state Exp; branches; next 1.33; 1.33 date 2012.10.03.21.56.25; author wiz; state Exp; branches; next 1.32; 1.32 date 2011.10.30.22.03.42; author spz; state Exp; branches; next 1.31; 1.31 date 2011.01.09.19.59.48; author spz; state Exp; branches; next 1.30; 1.30 date 2011.01.05.09.45.21; author spz; state Exp; branches; next 1.29; 1.29 date 2010.03.12.12.40.01; author obache; state Exp; branches; next 1.28; 1.28 date 2009.08.20.15.24.59; author jwise; state Exp; branches; next 1.27; 1.27 date 2007.02.28.16.04.16; author jwise; state Exp; branches; next 1.26; 1.26 date 2007.01.26.06.46.56; author rillig; state Exp; branches; next 1.25; 1.25 date 2005.08.20.19.31.00; author kristerw; state Exp; branches; next 1.24; 1.24 date 2005.08.17.03.29.27; author jwise; state Exp; branches; next 1.23; 1.23 date 2005.08.10.02.55.27; author jlam; state Exp; branches; next 1.22; 1.22 date 2005.08.09.08.06.59; author tron; state Exp; branches; next 1.21; 1.21 date 2005.07.16.01.19.13; author jlam; state Exp; branches; next 1.20; 1.20 date 2005.05.27.11.41.03; author adrianp; state Exp; branches; next 1.19; 1.19 date 2004.06.26.16.22.04; author adrianp; state Exp; branches 1.19.6.1; next 1.18; 1.18 date 2004.06.21.20.13.32; author adrianp; state Exp; branches; next 1.17; 1.17 date 2003.09.16.13.17.45; author xtraeme; state Exp; branches; next 1.16; 1.16 date 2003.07.31.14.50.11; author jwise; state Exp; branches; next 1.15; 1.15 date 2003.07.31.14.38.41; author jwise; state Exp; branches; next 1.14; 1.14 date 2003.07.31.14.30.29; author jwise; state Exp; branches; next 1.13; 1.13 date 2003.07.17.21.46.30; author grant; state Exp; branches; next 1.12; 1.12 date 2002.12.31.20.25.34; author jwise; state Exp; branches; next 1.11; 1.11 date 2002.12.31.19.36.26; author jwise; state Exp; branches; next 1.10; 1.10 date 2002.08.23.01.48.26; author grant; state Exp; branches; next 1.9; 1.9 date 2002.08.21.07.28.28; author grant; state Exp; branches; next 1.8; 1.8 date 2002.04.21.00.43.09; author jwise; state Exp; branches; next 1.7; 1.7 date 2001.07.16.13.44.30; author taca; state Exp; branches; next 1.6; 1.6 date 2001.02.28.10.33.53; author wiz; state Exp; branches; next 1.5; 1.5 date 2001.02.17.18.24.54; author wiz; state Exp; branches; next 1.4; 1.4 date 2001.01.03.01.50.05; author jwise; state Exp; branches; next 1.3; 1.3 date 2001.01.03.01.49.03; author jwise; state Exp; branches; next 1.2; 1.2 date 98.08.20.15.17.10; author tsarna; state Exp; branches; next 1.1; 1.1 date 98.06.05.20.06.39; author tv; state Exp; branches; next ; 1.38.4.1 date 2015.10.02.19.49.13; author bsiegert; state Exp; branches; next ; commitid jOg9aFgxPH2CszDy; 1.19.6.1 date 2005.05.27.13.40.27; author salo; state Exp; branches; next ; desc @@ 1.47 log @*: recursive bump for perl 5.36 @ text @# $NetBSD: Makefile,v 1.46 2021/05/24 19:52:42 wiz Exp $ DISTNAME= MHonArc-2.6.19 PKGNAME= mhonarc-2.6.19 PKGREVISION= 9 CATEGORIES= mail MASTER_SITES= https://www.mhonarc.org/release/MHonArc/tar/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.mhonarc.org/ COMMENT= Mailbox to HTML converter, suitable for list archives LICENSE= gnu-gpl-v2 USE_TOOLS+= perl:run NO_BUILD= YES INSTALLATION_DIRS= bin lib man share/doc .include "../../mk/bsd.prefs.mk" MY_INSTALL_FLAGS= -prefix ${PREFIX} MY_INSTALL_FLAGS+= -perl ${PERL5} MY_INSTALL_FLAGS+= -binpath ${PREFIX}/bin MY_INSTALL_FLAGS+= -libpath ${PREFIX}/lib/mhonarc MY_INSTALL_FLAGS+= -docpath ${PREFIX}/share/doc/mhonarc MY_INSTALL_FLAGS+= -manpath ${PREFIX}/${PKGMANDIR} MY_INSTALL_FLAGS+= -root ${DESTDIR} MY_INSTALL_FLAGS+= -batch do-install: cd ${WRKSRC} && ${PERL5} ./install.me ${MY_INSTALL_FLAGS} .include "../../mk/bsd.pkg.mk" @ 1.46 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2020/08/31 18:09:58 wiz Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.45 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2019/08/11 13:21:30 wiz Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.44 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2018/08/22 09:45:26 wiz Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.43 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2017/09/03 08:53:10 wiz Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.42 log @Follow some redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2016/07/09 06:38:30 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.41 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2016/04/10 16:39:28 joerg Exp $ d7 1 a7 1 MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ d11 1 a11 1 HOMEPAGE= http://www.mhonarc.org/ @ 1.40 log @Adjust checks for _USE_DESTDIR != no or incorrect references to USE_DESTDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2015/09/26 14:30:24 bouyer Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.39 log @defined(%hash) is not valid any more in perl 5.22; change to %hash @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2015/06/12 10:50:20 wiz Exp $ a27 1 .if defined(_USE_DESTDIR) && ${_USE_DESTDIR} != "no" a28 1 .endif @ 1.38 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2014/05/29 23:36:46 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.38.4.1 log @Pullup ticket #4829 - requested by bouyer mail/mhonarc: build fix Revisions pulled up: - mail/mhonarc/Makefile 1.39 - mail/mhonarc/distinfo 1.20 - mail/mhonarc/patches/patch-lib_mhamain.pl 1.3 - mail/mhonarc/patches/patch-lib_mhopt.pl 1.3 --- Module Name: pkgsrc Committed By: bouyer Date: Sat Sep 26 14:30:24 UTC 2015 Modified Files: pkgsrc/mail/mhonarc: Makefile distinfo Added Files: pkgsrc/mail/mhonarc/patches: patch-lib_mhamain.pl patch-lib_mhopt.pl Log Message: defined(%hash) is not valid any more in perl 5.22; change to %hash @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 1 PKGREVISION= 3 @ 1.37 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2014/04/22 22:32:18 schnoebe Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.36 log @ Update to MHonArc 2.6.19: 2014/04/21 (2.6.19) * Security Fixes: Bug ID Summary ------ ------------------------------------------------------------ 35388 commentized subjects allow PHP code injection ------ ------------------------------------------------------------ * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 32987 Lots of deprecation warnings with Perl 5.12 42155 MHonArc crashed with message/external-body and RFC 2231 encoded parameters ------ ------------------------------------------------------------ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2013/05/31 12:41:15 wiz Exp $ d5 1 @ 1.35 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2012/10/08 12:19:17 asau Exp $ d3 2 a4 3 DISTNAME= MHonArc-2.6.18 PKGNAME= mhonarc-2.6.18 PKGREVISION= 3 @ 1.34 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2012/10/03 21:56:25 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.33 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2011/10/30 22:03:42 spz Exp $ a14 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.32 log @adjustments for perl 5.12 (no additional adjustments for perl 5.14 needed) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2011/01/09 19:59:48 spz Exp $ d5 1 a8 1 PKGREVISION= 1 @ 1.31 log @security update Problems fixed: #32080 Specially crafted can lead to XSS exploit #32032 TextEncode related resource information not saved correctly in db file #32014 CVE-2010-1677: DoS when processing html messages with deep tag nesting #32013 CVE-2010-4524: Improper escaping of certain HTML sequences (XSS) #26577 Changed semantic for unpack breaks UTF-8 #25486 Resource FieldStore causes .mhonarc.db to grow over bounds. #25225 dir_create() fails to make temporary directories (PATCH) #24247 iso2022jp.pl: unneeded ESC ( B remains in message body #23198 Incorrect Setting Installation Directory #20142 strip backslash in rfc822 From: field #20074 extra space in subject #18908 X-Subject data get split in separate lines #18113 inconsistant thread slices w/ poor man's windowing #17904 FieldOrder affects AddressModifyCode #17860 incorrect nested HTML Tags for references #17660 Threaded index resource ordering doesn't allow well formed XML output #15433 relative attachmentdir is relative to current working dir, not outdir #14747 major (10X) memory savings possible in some situations #13853 creation of archive with attachments writes over symlinks @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2011/01/05 09:45:21 spz Exp $ d8 1 @ 1.30 log @fixes for CVE-2010-4524 and CVE-2010-1677 taken from the MHonArc cvs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2010/03/12 12:40:01 obache Exp $ d3 2 a4 3 DISTNAME= MHonArc-2.6.16 PKGNAME= mhonarc-2.6.16 PKGREVISION= 1 @ 1.29 log @* set LICENSE=gnu-gpl-v2 * add user-destdir installation support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2009/08/20 15:24:59 jwise Exp $ d5 1 @ 1.28 log @Give up maintainership of packages where I am still listed as MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2007/02/28 16:04:16 jwise Exp $ d12 3 d21 13 d35 1 a35 8 cd ${WRKSRC} && ${PERL5} ./install.me \ -prefix ${PREFIX} \ -perl ${PERL5} \ -binpath ${PREFIX}/bin \ -libpath ${PREFIX}/lib/mhonarc \ -docpath ${PREFIX}/share/doc/mhonarc \ -manpath ${PREFIX}/${PKGMANDIR} \ -batch @ 1.27 log @Update mhonarc to version 2.6.16. Changes are fixes to following bugs only: * in urlize change %X to %02X * MIMEFILTERS settings not retained in database * qprint.pl should be able to handle a soft line break at the end of the string * HTML mail does not get its charset converted @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2007/01/26 06:46:56 rillig Exp $ d9 1 a9 1 MAINTAINER= jwise@@NetBSD.org @ 1.26 log @Fixed PKGMANDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2005/08/20 19:31:00 kristerw Exp $ d3 2 a4 3 DISTNAME= MHonArc-2.6.15 PKGNAME= mhonarc-2.6.15 PKGREVISION= 1 @ 1.25 log @Add two missing doc files. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2005/08/17 03:29:27 jwise Exp $ d26 1 a26 1 -manpath ${PREFIX}/man \ @ 1.24 log @Update to version 2.6.15. Changes from 2.6.11 (last pkgsrc version): 2005/07/27 (2.6.15) * Removed debugging statement introduced during v2.6.14 development which caused the filename of each message to be printed to stderr when processing MH-style folders. * Fixed META.yml for CPAN: YAML is picky about tab characters, and there was a couple of tab characters causing CPAN's YAML parser to abort with an error. ============================================================================ 2005/07/23 (2.6.14) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 2641 Additional Callbacks 3225 CHARSETCONVERTERS not reset across multi-archive process 11759 email address exposed in subject line ------ ------------------------------------------------------------ * New resources: PRINTXCOMMENTS Print comments in generated pages. * Added "Performance Tips" document: Provides configuration tips to improve the execution performance of mhonarc. ============================================================================ 2005/07/06 (2.6.13) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 12314 linebreak not utf-8 aware ------ ------------------------------------------------------------ * mha-preview example script changes: - If preview data not available for message, the empty string is used. Before, undef was returned to mhonarc, causing warning messages and $X-MSG-PREVIEW$ to show up on index pages. - Beefed up preview text extraction to skip past quoted text. Someday, mha-preview functionality will be intrinisic to mhonarc. ============================================================================ 2005/06/08 (2.6.12) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 11761 spammode causes broken mailto: links in message body 13316 No warning generated when RCFILE set to non-existent file 13317 POSIX::setlocale() not invoked with LANG resource setting ------ ------------------------------------------------------------ * New resources: MIMEINCS Content-types to allow. * Beefed up filtering of UTF-8 messages: "Malformed UTF-8 ..." warnings are now suppressed with such sequences being converted to U+FFFD (�), which should normally cause an HTML viewer to render a question-mark-like glyph. Earlier version passed malformed utf-8 sequences through. No bug/security problems have been reported against this, but it was a bad practice that has now been corrected. * The return value for $mhonarc::CBMessageBodyRead and $mhonarc::CBRawMessageBodyRead is no longer N/A. If the return value evaluates to false, the current message will be excluded from the archive and further processing. A true value must be returned if the message is to not be excluded. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2005/08/10 02:55:27 jlam Exp $ d5 1 @ 1.23 log @Install the man pages back into ${PREFIX}/man/man1 so that they can be found without any special configuration for man. While here, hard code all of the paths for the install script to insulate ourselves against future changes in perl. Bump the PKGREVISION to 2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2005/08/09 08:06:59 tron Exp $ d3 2 a4 3 DISTNAME= MHonArc-2.6.11 PKGNAME= mhonarc-2.6.11 PKGREVISION= 2 @ 1.22 log @Make necessary package list change after update of Perl to 5.8.7. Bump package revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2005/07/16 01:19:13 jlam Exp $ d5 1 a5 1 PKGREVISION= 1 d17 1 a17 3 pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/mhonarc ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mhonarc d20 1 a20 1 ( cd ${WRKSRC} && ${PERL5} ./install.me \ d22 2 a23 1 -perl ${LOCALBASE}/bin/perl \ d26 2 a27 1 -batch ) @ 1.21 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 2 # $NetBSD: Makefile,v 1.20 2005/05/27 11:41:03 adrianp Exp $ # d5 1 @ 1.20 log @- Update mhonarc for recent security issue (XSS) - From the changelog: > 9050 Regex abort error in mhmimetypes.pl under Win32 > 11187 incorrectly parsing UTF-8 encoded messages > 11207 usenameext option to m2h_external::filter has no effect > 11760 spammode false positives on some HTML mail > 11762 rel=nofollow attribute support in message body hyperlinks > 11977 TSLICETOPBEGCUR ignored > 12512 Consecutive spaces not displayed in some cases > 12802 SubjectStripCode not working on message file > 12930 Cross site scripting bug in m2h_text_html::filter @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2004/06/26 16:22:04 adrianp Exp $ d14 1 a14 2 USE_PERL5= YES @ 1.19 log @Update MASTER_SITES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2004/06/21 20:13:32 adrianp Exp $ d4 2 a5 2 DISTNAME= MHonArc-2.6.10 PKGNAME= mhonarc-2.6.10 @ 1.19.6.1 log @Pullup ticket 519 - requested by Adrian Portelli security update for mhonarc Revisions pulled up: - pkgsrc/mail/mhonarc/Makefile 1.20 - pkgsrc/mail/mhonarc/distinfo 1.13 Module Name: pkgsrc Committed By: adrianp Date: Fri May 27 11:41:03 UTC 2005 Modified Files: pkgsrc/mail/mhonarc: Makefile distinfo Log Message: - Update mhonarc for recent security issue (XSS) - From the changelog: > 9050 Regex abort error in mhmimetypes.pl under Win32 > 11187 incorrectly parsing UTF-8 encoded messages > 11207 usenameext option to m2h_external::filter has no effect > 11760 spammode false positives on some HTML mail > 11762 rel=nofollow attribute support in message body hyperlinks > 11977 TSLICETOPBEGCUR ignored > 12512 Consecutive spaces not displayed in some cases > 12802 SubjectStripCode not working on message file > 12930 Cross site scripting bug in m2h_text_html::filter @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2005/05/27 11:41:03 adrianp Exp $ d4 2 a5 2 DISTNAME= MHonArc-2.6.11 PKGNAME= mhonarc-2.6.11 @ 1.18 log @Update mhonarc from 2.6.8 to 2.6.10 Ok'ed jwise@@/wiz@@ ============================================================================ 2004/05/17 (2.6.10) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 8982 Can't use global $1 in "my" at base64.pl ------ ------------------------------------------------------------ ============================================================================ 2004/05/07 (2.6.9) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 5473 directory separator for attachments on W2K 5643 New ressource - newsserver 5758 MULTIPG and NOSAVERESOURCES cause archive to be rewritten 5905 Modification of non-creatable array value attempted 6208 Mhonarc creates slightly incorrect HTML-code 7571 element doesn't look for resource files in $OUTDIR$ 7628 typo in mhrcfile.pl ------ ------------------------------------------------------------ * New resources: ATTACHMENTDIR Directory to save attachments. ATTACHMENTURL Web URL to attachment directory. NEWSURL URL template for linking to newsgroups. * Attachment filenames have changed from the numeric-style <#####>. to . where is a random string. The change corresponds with a change to the API to mhonarc::write_attachment() function in mhmimetypes.pl. * m2h_text_plain::filter: . Changed default quoting styles: Left rule changed from 0.1em to 0.2em and the color changed from #0000FF to #5555EE. . Minor changes to flowed formatting in order to provide consistancy with how Mozilla's Gecko engine renders flowed text. * base64.pl will use MIME::Base64 module if present. MIME::Base64 uses an underly C implementation for decoding, so it is noticably faster than the pure-Perl approach. ============================================================================ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2003/09/16 13:17:45 xtraeme Exp $ d7 1 a7 1 MASTER_SITES= http://www.oac.uci.edu/indiv/ehood/tar/ @ 1.17 log @Updated to 2.6.8. Patch provided by Adrian Portelli via PR pkg/22753. Changes: ============================================================================ 2003/08/12 (2.6.8) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 4719 Spurious read_fmt_file call ------ ------------------------------------------------------------ ============================================================================ 2003/08/07 (2.6.7) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 4569 Problem with unfolding can mess up boundary processing in multipart messages. 4594 Initial space on lines removed when using fancyquote. ------ ------------------------------------------------------------ * Added LANG resource to define locale. Affects resource filename resolution and message subject and author sorting. * readmail.pl updated to define the following special header field keys passed to filter routines: x-mha-content-type The media type of the entity extracted from content-type entity header x-mha-part-number The relative part number of the entity with respect to parent entity. To get the absolute part number, use readmail::get_full_part_number($fields). x-mha-parent-header Reference to parent header fields hash. This, and other data structures, are now mentioned in the MIMEFILTERS resource page. * Text/richtext tag, , is quietly dropped in mhtxtenrich.pl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2003/07/31 14:50:11 jwise Exp $ d4 2 a5 2 DISTNAME= MHonArc-2.6.8 PKGNAME= mhonarc-2.6.8 d16 1 a16 1 NO_BUILD= @ 1.16 log @As pointed out by wiz@@, a newer version of this pkg has become available in the mean time. Update to MHonarc 2.6.6, based on patch from adrian.portelli@@stindustries.net: ============================================================================ 2003/07/21 (2.6.6) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 4387 m2h_text_plain::filter maxwidth usage can lead to crash with a certain kind of input ------ ------------------------------------------------------------ ============================================================================ 2003/07/19 (2.6.5) * Bug Fixes: Bug ID Summary ------ ------------------------------------------------------------ 4126 Typo in mhopt.pl causes error message for big5 character set 4315 allowcomments' directive to filter() is ignored ------ ------------------------------------------------------------ * An architecture independent RPM package is now provided for installation. Because of this, the package name format has slightly changed to be consistent RPM, and other, package managers: Old format New Format ------------- ------------- MHonArcX.X.X MHonArc-X.X.X Installation document has been updated to reflect this change. If you create third-party distribution bundles for MHonArc, you may need to update your bundling process to take account of this change, mainly because the directory created when extracting the tar or zip bundles now include the hyphen. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2003/07/31 14:38:41 jwise Exp $ d4 2 a5 2 DISTNAME= MHonArc-2.6.6 PKGNAME= mhonarc-2.6.6 @ 1.15 log @Remove out of date archive from MASTER_SITES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2003/07/31 14:30:29 jwise Exp $ d4 1 a4 1 DISTNAME= MHonArc2.6.6 @ 1.14 log @Update MHonarc to version 2.6.4. Changes since last pkgsrc version (2.5.14): ============================================================================ 2003/06/20 (2.6.4) * Bug Fixes: + Official: Bug ID Summary ------ ------------------------------------------------------------ 3478 Quoted-Printable decoding should also work with lowercase hex numbers ------ ------------------------------------------------------------ + Unoffical: - It appears that the UTF8 mapping table for cp1252, MHonArc::UTF8::CP1252, had bad data. This has been fixed. * Management of character mapping tables have been changed. The various .pm module tables are now auto-generated by ucm, and similiar, map files. For the end-user, the change should be transparent. The change only affects how developers maintain the tables, and the change should make it much easier to make fixes to any mappings. ============================================================================ 2003/04/05 (2.6.3) * Bug Fixes: Bug ID Summary ------ -------------------------------------------------------------- 3020 Trailing \ in regex 3128 XSS Vulnerabilies 2971 spammode option interferes with iso-2022-jp ------ -------------------------------------------------------------- ============================================================================ 2003/03/11 (2.6.2) * Bug Fixes: Bug Resolution Fixed Summary ID Release 2738 Fixed 2.6.2 An illegal From: address can cause MHonArc to hang ============================================================================ 2003/02/22 (2.6.1) * Bug Fixes: See * Corrected character mapping tables for VISCII based on a message to the perl-unicode mailing list. * Added FASTTEMPFILES resource which causes MHonArc to use non-random temporary files. This is less secure, but provides a little bit of speed improvement. ============================================================================ 2003/02/10 (2.6.0) * Bug Fixes: See * New resources: DEFCHARSET Default character set of message text data. CHARSETALIASES Define aliases for base charset names. DBFILEPERMS File permissions for DBFILE. FIELDSTORE Message header fields to store in database. FILEPERMS File permissions for archive files. ICONURLPREFIX URL string to prepend to ICONS URLs. MODIFYBODYADDRESSES Apply ADDRESSMODIFYCODE to text message bodies. RECONVERT Reconvert existing messages. TENDBUTTON Button to last message in thread. TENDBUTTONIA Inactive button to last message in thread. TENDLINKIA Inactive link to last message in thread. TENDLINK Link to last message in thread. TEXTENCODE Encode message text to given character encoding. TTOPBUTTON Button to first message in thread. TTOPBUTTONIA Inactive button to first message in thread. TTOPLINKIA Inactive link to first message in thread. TTOPLINK Link to first message in thread. * New resource variables: $ICONURLPREFIX$ Value of ICONURLPREFIX resource. $MSGHFIELD$ Retrieve header field value stored via FIELDSTORE. * MHonArc::CharEnt: + Several charset mappings added to MHonArc::CharEnt with the default value for CHARSETCONVERTERS updated to reflect the new mappings. New charset supported include UTF-8, various Cyrillic sets, VISCII, Chinese sets, Japanese (iso-2022-jp and euc-jp), Korean, Apple-based charsets, etc. See the documentation for the CHARSETCONVERTERS and CHARSETALIASES for complete list of character sets supported. Note: Sets that have bidirectional rendering (Hebrew, Arabic) exist, but automatic directional re-ording for rendering is currently not supported. . Some existing mappings have been updated to use Unicode numeric character entity references (&#xHHHH;) instead of standard SGML character entity references (eg. &Aelig;). Most, if not all, web browsers only support the set of SGML entity references defined in the HTML 4.0 specification. All existing tables should now generate entity references recognized by all HTML 4.0 compliant browsers. * MHonArc::UTF8: . Module completely redone to support various versions of Perl. utf8 support code added to all conversion to utf8 with perl installations that do not have utf8 support, but to also leverage perl installations with utf8-related modules. * Default filter for iso-8859-1 and iso-2022-jp changed to MHonArc::CharEnt::str2sgml. This helps keep MHonArc locale neutral in its default configuration. Special note added to release notes for Japanese users about the change. * m2h_text_plain::filter (mhtxtplain.pl): + Added more robust handling of format=flowed data. By default, all text is rendered in a monospaced font to provide visual consistency between flowed and fixed text. Proportional spaced font can be generated using the "nonfixed" option (where "keepspace" option should also be used to help preserve the formatting characteristics of the data). + Added "fancyquote" option to provide highlight of quoted text similiar to text/plain;format=flowed data. + Added "disableflowed" option to disable the flowed data conversion. Data will be converted as regular text/plain. This option is useful for archives that cater to text-based browsers. + Added "quoteclass=" option to specify a CSS classname to assign to BLOCKQUOTE elements added when processing flowed data or when "fancyquote" is active. This suppresses inline style generation. + Added "subdir" option for use when "uudecode" is enabled. - Reduced set of quote characters to just '>'. Other characters are used by some people (eg. '}', '|', '+'), especially on the USENET, but supporting them tends to produce undesirable results, especially when using fancyquote. (Maybe make it configurable?) + If uudecode and usename specified, check if file ends in .s?html?, and if so, pass data to HTML filter. . Make sure to return a non-empty string for an empty body when in uudecode mode. Avoids bogus warning message that data could not be converted. * MIMEEXCS automatically handles unofficial version of a media type. For example: text/html Will exclude text/html and text/x-html data. * m2h_text_html::filter (mhtxthtml.pl): + CHARSETCONVERTERS is used for converting character data. - Removed default=charset option. This option is no longer needed with new character encoding processing features and CHARSETALIASES resource. + Convert javascript:... URLs to "_javascript_:..." when scripting is disabled (the default). This is an extra measure ontop of element and attribute stripping. * 's are now preserved when cid: only URLs enabled (the default). This prevents regular hyperlinks in HTML messages from getting stripped, which I think most people desire. Otherwise, the allownoncidurls option must be used, and then this opens one up to potential XSS attacks. Due to the javascript: URL munging, preserving 's should be safe from auto-XSS attacks. Readers should still be careful about any links they activate. + Added "subdir" option to specify that MHTML referenced data (e.g. images) are saved in a subdirectory. + Added "disablerelated" to disable cid: URL resolution. . STYLE and CLASS attributes stripped if nofont argument specified. * m2h_text_enriched::filter (mhtxtenrich.pl): + CHARSETCONVERTERS is used for converting character data. + lang is now mapped to . + Added handling of some text/richtext tags. . Escape unrecognized tags. * Archive file creation modified to minimize the local symlink exploits: 1. A temp file with a random name is first created and written to. 2. Temp file is compressed if GZIPFILES is active. 3. Temp file is renamed to final filename. 4. File permissions are set according to FILEPERMS/DBFILEPERMS. Using a random temp filename makes it difficult for someone to predict filenames to execute a symlink exploit. The rename operation is immune to symlink exploits, hence trying to using well-known names (e.g. maillist.html, threads.html) for exploitation will not work. A similiar technique is used for directory creation for filters that support the "subdir" option. Generation of temp files is done via the File::Temp module, if installed. If not installed, a homegrown implementation is used. Although not as secure and robust as File::Temp, it's better than nothing and should provide a decent deterrent. * Setuid/setgid execution causes mhonarc to terminate with an error. Mhonarc does not pass taint checks, so we abort with an error that setuid/setgid execution is not supported. MHonArc is too insecure for setuid operation and trying to make it setuid-safe would require alot of work and potentially limit a large amount of functionality. * More robust parsing used for determining $FROMNAME$ and $FROMADDR*$ resource variables. * rfc822.pl library removed and replaced with MHonArc::RFC822 module. * Warning message, "Unable to process data..." removed from message page when unable to convert any part of a message (usually due to user-defined MIMEFILTERS settings). Instead, a warning message is generated to standard error (like other mhonarc warnings) and the resulting message page will have a blank message body. * m2h_msg_extbody::filter: (mhmsgextbody.pl) + Added support for http/x-http access type. This appears to be an experimental access type since the general URI type can be used instead. . Properly sanitize parameter data. . Some minor cosmetic changes in the HTML generated. * m2h_text_tsv::filter (mhtxttsv.pl): . Sanitize field data. * m2h_text_setext::filter (mhtxtsetext.pl) has been removed. It appears this media-type is part of document history. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2003/07/17 21:46:30 grant Exp $ d4 2 a5 2 DISTNAME= MHonArc2.6.4 PKGNAME= mhonarc-2.6.4 d7 1 a7 2 MASTER_SITES= http://www.oac.uci.edu/indiv/ehood/tar/ \ ftp://hhobel.phl.univie.ac.at/MHonArc/ @ 1.13 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/12/31 20:25:34 jwise Exp $ d4 2 a5 2 DISTNAME= MHonArc2.5.14 PKGNAME= mhonarc-2.5.14 @ 1.12 log @Update homepage. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2002/12/31 19:36:26 jwise Exp $ d11 1 a11 1 MAINTAINER= jwise@@netbsd.org @ 1.11 log @Update mhonarc to version 2.5.14. Changes since 2.5.11 (the last pkgsrc version) include: ============================================================================ 2002/12/21 (2.5.14) * Security patch release: This release fixes a cross-site scripting (XSS) vulnerability in m2h_text_html::filter (the HTML filter). A specially crafted HTML message can have scripting markup get by the script filtering done by m2h_text_html::filter. ============================================================================ 2002/10/21 (2.5.13) * Bug Fixes: See * DBFILE resource can now be set to an absolute pathname. This allows the database file to be located in a separate location than in the archive directory. If not an absolute pathname, then value is treated relative to OUTDIR. * readmail.pl updated to handle MHTML messages better. mhtxthtml.pl changed accordingly. * readmail.pl handling of malformed multipart messages improved. Cases were a the terminating boundary delimiter did not exist would generate a warning message in the converted message body that data could not be converted. This case should now be handled so that end of entitiy implies a terminating boundary delimiter, (Thanks goto Randy Blaustein for providing real-world test cases). * Fixed problem where some message attachments were "lost". This mainly occurs when using mha-decode with the -dcd-digest option, or if you have registered the m2h_external::filter for message/* data types. (Thanks goto Steve Johnson for finding this problem.) * m2h_external::filter will now include the subject of a message in the attachment link if saving message/* data to a file. * m2h_external::filter properly escapes the filename parameter when displaying it in the attachment link. This is done to avoid any possible XSS exploits. Note, no exploits have been reported by using the filename parameter in messages, so this change is more of a preemptive measure. * m2h_external::filter will fall back to a "txt" extension for unknown text types instead of a "bin" extension. * m2h_text_plain::filter: Removed hardcoded 'as-is' for US-ASCII data. This is so a user could define a converter if having to deal with mislabeled character data. (Thanks goto Mooffie for finally finding a real-world case to not hardcode us-ascii). ============================================================================ 2002/09/03 (2.5.12) * Strip more tags and attributes that could potentially be used for XSS exploits in the HTML filter. This is a more of a preemptive change since no new exploits have been reported. * DATEFIELDS resource now supports indexed field names. For example: received[1]:received[0]:date The example says that mhonarc should check the second received field, then the first received field, and then the first date field to determine the date of a message. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2002/08/23 01:48:26 grant Exp $ d12 1 a12 1 HOMEPAGE= http://www.oac.uci.edu/indiv/ehood/mhonarc.html @ 1.10 log @Update to mhonarc-2.5.11. The following is a summary of sigificant changes since 2.5.3. Please see CHANGES in the distfile for the full list of changes. * The following mail header fields added to list of fields that can contain mail addresses: mail-reply-to, original-bcc, original-cc, original-from, original-sender, original-to, resent-bcc, x-envelope. Applicable to MAILTO, MAILTOURL, and ADDRESSMODIFYCODE resources. * Added MHonArc::UTF8 CHARSETCONVERTER module as recommended at . However, module redone to use utf8 pragma in Perl where appropriate and to remove unnecessary code. Use of module does require that the Unicode::MapUTF8 module is installed and the utf8 pragma is supported in the version of Perl you are using. * Added MIMEALTPREFS resource: Content-type preferences for multipart/alternative data. You can now tell MHonArc to use the text/plain part over a text/html part in multipart/alternative messages. * Added the following resources: IDXPGSSMARKUP Markup at the beginning of all index pages. MSGPGSSMARKUP Markup at the beginning of all message pages. TIDXPGSSMARKUP Markup at the beginning of all thread index pages. Each resource will default to the value of the SSMARKUP resource if not defined. * Removed references to HEADER and FOOTER resources in the docs. Resources removed in v2.5.0. * Updated default resource layout settings in docs to use lowercase tag names since MHonArc changed to use lowercase in defaults in v2.4.7. * Added NOSUBJECTTXT resource: Defines raw subject text to use for messages that do not have a subject. * Incorporated format=flowed support into mhtxtplain.pl contributed by Ken Hirsch, with some minor improvements. * mha-decode now supports the following option: -dcd-digest. This tells mha-decode to not recursively process attached message/rfc822 and message/news entities. This option is useful to extract out all the individual messages of a message digest. * Added message/rfc822 and message/news to mhmimetypes.pl content-type => extension/description hash. The extension used is ".822". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/08/21 07:28:28 grant Exp $ d4 2 a5 2 DISTNAME= MHonArc2.5.11 PKGNAME= mhonarc-2.5.11 @ 1.9 log @use .bz2 distfile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2002/04/21 00:43:09 jwise Exp $ d4 2 a5 2 DISTNAME= MHonArc2.5.3 PKGNAME= mhonarc-2.5.3 @ 1.8 log @Update to mhonarc-2.5.3. Changes since 2.4.9 (the last pkgsrc version): * Added 'use locale' pragmas to be applied when sorting messages. This is considered experimental, but it appears to give better results when sorting text that contains 8-bit-non-English characters. This is far from any real locale support, but hopefully it is better than nothing. * Beefed up HTML filtering in mhtxthtml.pl to eliminate some security exploits. CAUTION: If you are worried about security, it is recommended that you disable support of text/html messages in your mail archives. There is no guarantee that the mhtxthtml.pl library is robust enough to eliminate all possible exploits that can occur with HTML data. Thanks goto Jason Molenda and Hiromitsu Takagi for spotting more exploit cases. * mhtxtplain.pl checks MIMEXCS if text/html data is excluded when the htmlcheck option is specified. Seems unnecessary because someone use excludes HTML data will probably not use the htmlcheck option to m2h_text_plain::filter. * Modified mail address extraction for $FROMADDR$ resource variable to help deal with malformed From: header fields. Thanks to Eugene Eric Kim for the recommendation. * Fixed uudecoding support in mhtxtplain.pl to handle spaces in filenames and \r\n EOLs. Thanks to Jordan Russell for spotting this. * Added ISO-8859-15 mappings. Thanks goto Jan Kraeber for the contribution. * Removed GIF images from distribution. All GIF images have been converted to PNG format. Transparency of PNG images may only be supported in the latest versions of various graphical web browsers. See for reasons why GIF images should not be used. * Source code imported into CVS. CVS respository is currently not available publicly. Stilling wondering if a site like savannah.gnu.org should be used or if the respository should be hosted independently, like at www.mhonarc.org. * Fixed regex patterns in readmail.pl to avoid Perl warning messages. * Created a contrib/ directory to contain any contributed programs imported into the MHonArc distribution. Moved prsfrom.pl from extras/ to contrib/. * Added Security section to FAQ. Provided more information to question, "Why does a message get split into mulitple messages with no headers?", mainly information contributed by users. ============================================================================ 2001/11/24 (2.5.2) (See BUGS for the list of bugs reported and fixed) o mha-dbrecover new options: -dbr-startnum # The starting message number to recover data from. This option is useful if you have many message files in a directory, but you only want to recover a subset of the files. If this option is not specified, the starting number is 0. -dbr-endnum # The ending message number to recover data from. This option is useful if you have many message files in a directory, but you only want to recover a subset of the files. If this option is not specified, all messages starting from -dbr-startnum will be recovered. o MSGPGBEGIN default value changed where $SUBJECTNA:72$ has been replaced with $SUBJECTNA$. This is so default values do not have any possible conflicts with variable-width character sets. ============================================================================ 2001/11/13 (2.5.1) (See BUGS for the list of bugs reported and fixed) o Added special note within the release notes about downgrading. o Some documentation corrections. ============================================================================ 2001/10/14 (2.5.0) [This is non-beta release of 2.5.0. See the change notes below and for the various beta release for a complete list of changes from the last v2.4 release.] (See BUGS for the list of bugs reported and fixed) o The ICONS resource has been updated to support the association of icons at the base type level (e.g. text/*) and to specify width and height hints. The example icon resource file listed in an appendix of the documentation updated to to use changes to ICONS resource. o Formatting of attachment links within the m2hexternal.pl filter has been updated to provide more verbose information. Description of the format provided in the MIMEFILTERS documentation. Also, a 'frame' filter argument is now supported to instruct the filter to draw a frame around the link. o Default value for MIMEArgs has been changed to the following: m2h_external::filter; inline This is more concise then previous default value. On a resource file maintenance standpoint, it is generally best to specify filter arguments at the filter level and not at the content-type level. o Value of Perl's $^O variable printed with version information for -V, -v, -help command-line options. o The count of new messages added to archive are now printed along with the total message count when QUIET is not active. ============================================================================ 2001/09/05 (2.5.0b2) (See BUGS for the list of bugs fixed) o Long overdue update of ACKNOWLG file. o New resources: TSLICELEVELS -- Maximum depth for thread slices. o New resource variables: $TLEVEL$ -- Numeric level of message in thread. o Added recognition of windows-1250 and windows-1252 charsets into MHonArc::CharEnt and to default value of CHARSETCONVERTERS resource. To apply to existing archives, use mha-dbedit with examples/def-mime.mrc resource file. o SUBJECTREPLYRXP now used to determine if "Re: " is added when $SUBJECT$ is used within MAILTOURL. o Code cleanup to eliminate perl -w warnings. Cleanup not required for running MHonArc, but convenient for those that use MHonArc with perl's -w option. ============================================================================ 2001/08/26 (2.5.0b) (See BUGS for the list of bugs fixed) o API for MIMEFILTERS has been changed. Content filters are now called as follows: ($html, @@files) = &filter($fields_hash_ref, $body_data_ref, $is_decoded, $filter_args); Paramaters: $fields_hash_ref A reference to hash of message/part header fields. Keys are field names in lowercase and values are array references containing the field values. For example, to obtain the content-type, if defined, you would do: $fields_hash_ref->{'content-type'}[0] Values for a fields are stored in arrays since duplication of fields are possible. For example, the Received: header field is typically repeated multiple times. For fields that only occur once, then array for the field will only contain one item. $body_data_ref Reference to body data. It is okay for the filter to modify the text in-place. $is_decoded Boolean flag if body data has been decoded. This is normally true unless some non-standard content-transfer-encoding is used. $filter_args String containing filter args as defined by MIMEARGS resource. Return: The return value is still treated in the same manner as previous releases. The first item in the return list is the text that should printed to the message page. Any other items in the return list are derived filenames created by the filter. If undef, or the empty string, is returned, readmail.pl assumes the filter was unable to filter the data. All the filters provided in the MHonArc distribution have been modified to use the new calling convention. o The HEADER and FOOTER resources are no longer supported. o The default value of DEFRCNAME is now ".mhonarc.mrc" ("mhonarc.mrc" for Win/DOS). o ISO8859 character set data processing now defaults to using the MHonArc::CharEnt module. The old iso8859.pl library is still provided for compatibility with older archives. To update archives to use the new settings, you can run the following command, mha-dbedit -rcfile examples/def-mime.mrc \ -outdir /path/to/archive where "examples/def-mime.mrc" represents the default MIME processing resources for MHonArc provided within the MHonArc distribution. The new module is more efficient in memory usage by only loading mappings for character sets actually processed. The old iso8859.pl library preloads all mappings. Also, the module is designed to be easily extensible for processing any 8-bit-based character sets. o Reference, follow-up, and derived file information of a message is now stored in a different format in the database (and internally). MHonArc will auto-update older archives to the new format. The newer format should provide some performance improvement. o Messages with no subjects are now stored with no subjects. In previous releases, the text "No Subject" was automatically added as a message was parsed, hence there was no real indicator that a message had no real subject. A related change is that messages without subject text are skipped in subject-based thread detection. Therefore, a no-subject message will never be a possible follow-up, but it is still possible for it to be an explicit follow-up if it includes reference message-ids. NOTE: This functionality does not apply to messages processed by earlier versions where the text "No Subject" was auto-applied to messages when parsed. A recreation of an archive from the original message data would have to be done to have new behavior applied to message processed by earlier releases. A messages with no subject will now have the string "[no subject]" displayed any time the $SUBJECT$ resource variable is used for the message. o New resources: FIRSTPGLINK Link markup for first page of main index. LASTPGLINK Link markup for last page of main index. TFIRSTPGLINK Link markup for first page of thread index. TLASTPGLINK Link markup for last page of thread index. TNEXTINBUTTON Button markup for next message within a thread. TNEXTINBUTTONIA Inactive button markup for next message within a thread. TNEXTINLINK Link markup for next message within a thread. TNEXTINLINKIA Inactive link markup for next message within a thread. TNEXTTOPBUTTON Button markup for first message in the next thread. TNEXTTOPBUTTONIA Inactive button markup for first message in the next thread. TPREVINBUTTON Button markup for previous message within a thread. TPREVINBUTTONIA Inactive button markup for previous message within a thread. TPREVINLINK Link markup for previous message within a thread. TPREVINLINKIA Inactive link markup for previous message within a thread. TPREVTOPBUTTON Button markup for first message in the previous thread. TPREVTOPBUTTONIA Inactive button markup for first message in the previous thread. TSLICECONTBEGIN Thread slice markup before the continuation of a broken thread. TSLICECONTEND Thread slice markup after the continuation of a broken thread. TSLICEINDENTBEGIN Thread slice markup for opening a level when continuing a broken thread. TSLICEINDENTEND Thread slice markup for closing a level when continuing a broken thread. TSLICELIEND Ending markup for a thread slice message listing. TSLICELIENDCUR Ending markup for a thread slice message listing. TSLICELINONE Thread slice markup for a missing message in thread slice. TSLICELINONEEND Ending markup for a missing message in thread slice. TSLICELITXT Markup for a thread slice message listing. TSLICELITXTCUR Markup for a thread slice message listing if current message. TSLICESINGLETXT Markup for a thread slice listing with no follow-ups. TSLICESINGLETXTCUR Markup for a thread slice listing with no follow-ups if current message. TSLICESUBJECTBEG Markup before a subject based thread slice listing. TSLICESUBJECTEND Markup after a subject based thread slice listing. TSLICESUBLISTBEG Thread slice markup for starting a sub-thread. TSLICESUBLISTEND Thread slice markup for ending a sub-thread. TSLICETOPBEGIN Thread slice markup for the root/start of a thread. TSLICETOPBEGINCUR Thread slice markup for the root/start of a thread. TSLICETOPEND Thread slice markup for the end of a thread. TSLICETOPENDCUR Thread slice markup for the end of a thread if current message. o $TSLICE$ resource variable can now take up to three arguments: $TSLICE(;;)$ where, : Number indicated the maximum number of message to print before the current message. If empty, the before value specified in TSLICE resource will be used. : Number indicated the maximum number of message to print after the current message. If empty, the after value specified in TSLICE resource will be used. : If `1', only messages within the current thread will be printed. If `0', messages from the previous and next threads can be printed if the values for and would go beyond the current thread. o TSLICE resource updated to allow specification of default value of inclusive flag. o The following new message specifications can be used for message data-related resource variables: TNEXTIN Next message within current thread. TNEXTTOP Start of next thread. TPREVIN Next message within current thread. TPREVTOP Start of previous thread. When used as arguments to the the $BUTTON$ and $LINK$ resource variables, the TNEXTINBUTTON(IA), TNEXTTOPBUTTON(IA), TPREVINBUTTON(IA), TPREVTOPBUTTON(IA), TNEXTINLINK(IA), TNEXTTOPLINK(IA), TPREVINLINK(IA), TPREVTOPLINK(IA) resources are respectively applied. o The use of TNEXT, TPREV (and new TNEXTTOP and TPREVTOP) message specifications in resource variables behave more intuitively when TREVERSE is active. If at the boundaries of a thread, TNEXT and TPREV will reference the first message of the next thread by date and the first message of the previous thread by date, respectively. o Version of MHonArc and Perl are printed when MHonArc starts unless QUIET is active. o mhtxtplain.pl (text/plain) filter changes: . If the htmlcheck option is set and it is detected that the data is HTML, an attempt is first made to use the registered text/html filter via MIMEFILTERS. If none is defined, mhtxthtml.pl will be used. . When uudecode option is set, an attempt is to use the registered decoder for uuencode via MIMEDECODERS. If not defined, then base64::uudecode is used from base64.pl. o mhtxthtml.pl (text/html) filter changes: . Elements that have URL attributes that auto-load data -- IMG, BODY, IFRAME, FRAME, OBJECT, SCRIPT, INPUT -- have the atributes converted to 'javascript:void(0);' URLs. See new 'allownoncidurls' filter argument below for more details. . The follow filter arguments have been added: allownoncidurls Preserve URL-based attributes that are not cid: URLs. Normally, any URL-based attribute -- href, src, background, classid, data, longdesc -- will be converted to 'javascript:void(0);' if it is not a cid: URL. This is to prevent malicious URLs that verify mail addresses for spam purposes, secretly set cookies, or gather some statistical data automatically with the use of elements that cause browsers to automatically fetch data: IMG, BODY, IFRAME, FRAME, OBJECT, SCRIPT, INPUT. notitle Do not print title. o Searching for OTHERINDEXES resource files has been modified. The following lists the search order for an OTHERINDEXES resource file: 1. Current working directory. 2. Same directory that the first resource file was read as specified by the RCFILE resource. 3. User's home directory. 4. Archive directory. 5. Perl's @@INC. o FIRST, LAST, TFIRST, and TLAST idx_page_spec arguments to $PGLINK$ are now supported via the FIRSTPGLINK, LASTPGLINK, TFIRSTPGLINK, and TLASTPGLINK resources. o $PGLINKLIST$ resource variable changed to print entire list of page links if no arguments are provided. To get the entire list for thread indexes, use: $PGLINKLIST(T)$. o Date parsing routine updated to recognize dates in the following format: Weekday, Month DD, YYYY HH:MM Zone. Apparently, this is useful if converting mail saved to a file in text format from MS Outlook. o Support for defining Perl function callbacks when a new message header is read and just after a message body has been converted. Documentation about the callbacks is provided in a new API appendix section in the documentation and is provided in comments in the example mhasiteinit.pl provided in the examples/ directory. o Various internal changes have been made to try to eradicate Perl 4-based conventions. For example, the use of typeglobs to pass by "reference" has been replaced by using real references. Assuming nothing was screwed up, this change should be transparent to most users (with the notable exception of the API changes to MIMEFILTERS registered routines). However, if you have mucked with MHonArc internals, or created custom modifications, you may need to be aware that changes have been made. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2001/07/16 13:44:30 taca Exp $ d9 1 @ 1.7 log @Update mhonarc to 2.4.9. ======================================================================= 06/10/2001 (2.4.9) o Added the following resources: MIMEEXCS List of content-types to exclude from processing. Exclusion occurs before data is passed to filters. o mhtxtplain.pl: If decoding uuencoded data, the data will be excluded if application/octet-stream is listed the MIMEEXCS resource. o mhtxthtml.pl: If a CID URL is not available, the CID URL is no longer preserved in the converted output. The CID URL is stripped. o Added the following to mhmimetypes.pl content-type table: application/ms-excel => xls:MS-Excel spreadsheet application/ms-powerpoint => ppt:MS-Powerpoint presentation application/ms-project => mpp:MS-Project file The "vnd." official versions are already present, but some application use the above. o TODO list added to distribution. Bug Fixes --------- See BUGS. ======================================================================= 04/13/2001 (2.4.8) o Added the following resources: KEEPONRMM Do not remove message files from disk when messages are removed from the archive. o m2h_text_plain::filter now uses CHARSETCONVERTERS for translating text data with a specified charset parameter. The only exception is iso-2022-jp, which is handled directly to properly support nourl flag. o m2h_external::filter new arguments: excludeexts=ext1,... A comma separated list of message specified filename extensions to exclude. I.e. If the filename extension matches an extension in excludeexts, the content will not be written. The return markup will contain the name of the attachment, but no link to the data. This option is best used with application/octet-stream to exclude unwanted data that is not tagged with the proper content-type. The m2h_null::filter can be used to exclude content by content-type. o m2h_null::filter will now output a one line description of the excluded content. This is so the reader knows that there was message content not saved within the archive. o m2h_text_plain::filter new arguments: usename If extracting uuencoded data, the filename specified should be used. o m2h_text_html::filter new arguments: allowcomments Preserve any comment declarations. Normally Comment declarations are munged to prevent SSI attacks or comments that can conflict with MHonArc processing. Use this option with care. (NOTE: Comment declarations were completely stripped before, but the regex used was known to crash perl on large comment declarations, so a simplier expression is now used to modify comment declarations to prevent possible attacks.) Bug Fixes --------- See BUGS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2001/02/28 10:33:53 wiz Exp $ d4 2 a5 2 DISTNAME= MHonArc2.4.9 PKGNAME= mhonarc-2.4.9 @ 1.6 log @whitespace fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2001/02/17 18:24:54 wiz Exp $ d4 2 a5 2 DISTNAME= MHonArc2.4.7 PKGNAME= mhonarc-2.4.7 @ 1.5 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2001/01/03 01:50:05 jwise Exp $ d29 1 a29 1 @ 1.4 log @Be the maintainer of this, as per discussion with tv@@netbsd.org. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2001/01/03 01:49:03 jwise Exp $ d12 1 @ 1.3 log @Update mhonarc to version 2.4.7. Changes since version 2.2.0 (the last pkgsrc version): 10/28/2000 (2.4.7) o Added the following options to m2h_text_plain::filter: attachcheck Honor attachment disposition. By default, all text/plain data is displayed inline on the message page. If attachcheck is specified and Content-Disposition specifies the data as an attachment, the data is saved to a file with a link to it from the message page. htmlcheck Check if message is actually an HTML message (to get around abhorrent MUAs). The message is treated as HTML if the first non-whitespace data looks like the start of an HTML document. o FROMFIELD resource default value is now: from:mail-reply-to:reply-to:return-path:apparently-from: sender:resent-sender The change is the addition of "mail-reply-to." o Added the following resource variables: $MSGTORDNUM$ Ordinal number of message in current thread. o Added the following resource variable message specificiers: TEND Last message of current discussion thread. TTOP Top/root message of current discussion thread. o Changes to readmail.pl: - %Cid hash keys are now URLs. Content-Ids are denoted as "cid:..." Hash also contains Content-Location values of message parts. This allows filters (like the HTML filter) to check for external URL references where the data for the reference is included with the message. - More robust handling of malformed multipart messages. o The null filter is applied to application/ms-tnef by default. o Lowercase tag names are now used in default resource values that contain HTML markup. o Bug fixes to the documentation. Bug Fixes --------- See BUGS. ======================================================================= 04/24/2000 (2.4.6) o Stricter check is made when decoded quoted-printable data. An escape sequence is only converted to a raw character if a it is a valid escape sequence. I.e. Any '=' not followed by two hexadecimal characters is left as-is. o Call to Digest::MD5::md5_hex() wrapped in eval block in case of bad installations of Digest::MD5 module. Bug Fixes --------- See BUGS. ======================================================================= 02/14/2000 (2.4.5) Enhancements/Changes -------------------- o Following changes to m2h_text_html::filter: - All comment declarations are removed. This avoid potential SSI attacks and declarations that may conflict with MHonArc. - Additional tags have been added to the to-strip list to avoid potential client-side scripting attacks. See MIMEFILTERS docs for list. - Added "nofont" option to strip out any tags. o Added application/x-bzip2 to known mime types (mhmimetypes.pl). o Simple modification to get_time_from_date() in mhutil.pl to handle abhorrent case of message date using a 2 digit year. o Under VMS, the default lock file name has been changed to "mhonarc_lck" for directory based locking will work. o mhonarc::htmlize/entify now translates the double-quote character (") to ". o Added VARREGEX resource to allow customization of resource variable matching. Mainly for use with resource files written on multibyte charsets like SJIS. Use with caution. Bug Fixes --------- See BUGS. ======================================================================= 10/01/1999 (2.4.4) Enhancements/Changes -------------------- o Added the following resources: MIMEDECODERS Content-Transfer-Encoding decoding functions. o Added the following resource variables: $PGLINKLIST$ Print out a list of index page links. o New content filter for message/external-body. o Message/delivery-status content handled by mhtxtplain.pl o Support for "Zone[+-]DDDD" timezone specification. o MAILparse_parameter_str() function added to readmail.pl. Function supports parsing parameter value strings with support for RFC 2184 extensions. Function added to provide support for message/external-body filter. Bug Fixes --------- See BUGS. ======================================================================= 08/15/1999 (2.4.3) Enhancements/Changes -------------------- o Added the following resources: POSIXSTRFTIME Use POSIX::strftime() or not for processing time format strings o The "latin[1-6]" character sets defined in the default value of CHARSETCONVERTERS. iso8859::str2sgml modified to use proper iso8859 map for specified latin[1-6] specification. o The text/html filter now strips out scripting markup by default. To allow scripting markup to be preserved, the "allowscript" option can be used. o Unknown media-types are now treated as application/octet-stream, which will invoke the application/octet-stream filter. Because of this, an explicit entry for application/octet-stream has been added to the default value of MIMEFILTERS. o If in a multipart/alternative entity, and no known media-types exists, the last part is treated as application/octet-stream. Bug Fixes --------- See BUGS. ======================================================================= 08/11/1999 (2.4.2) Enhancements/Changes -------------------- o Added the following resources: STDIN Source for standard input o Added the following resource variables: $ENV$ Print an environment variable o Added support for decoding uuencoded data within text messages in mhtxtplain.pl. Decoding activated via the "uudecode" option. o For processing time format strings, POSIX::strftime() is used, if available. If not, MHonArc implementation is used. o The default value of FROMFIELDS now includes "return-path". o Description section moved before Options section in -help message. Bug Fixes --------- See BUGS. ======================================================================= 07/25/1999 (2.4.1) Enhancements/Changes -------------------- o Added the following resources: MSGEXCFILTER Perl expressions for excluding messages from archive. SAVERESOURCES Flag if resource values should be saved in database. o Added the following resource variables: $HTMLEXT$ Value of HTMLEXT resource. o Documentation corrections an additions. o Use of typeglobs removed from mhdb.pl. o mhtime.pl explicitly defined in mhonarc package. Bug Fixes --------- See BUGS. ======================================================================= 06/25/1999 (2.4.0) Enhancements/Changes -------------------- o Added the following resources: ADDRESSMODIFYCODE Perl expressions to apply to addresses during message header conversion. CHECKNOARCHIVE Check "no archive" flag in messages. LOCKMETHOD The type of archive locking performed. SPAMMODE Perform actions to deter email address harvesters. SSMARKUP Markup at the *very* beginning of any generated page. STDOUT Destination of stdout messages/data. STDERR Destination of stderr messages/data. SUBJECTTHREADS To check, or not to check, subjects when computing threads. o Added the following resource variables: $FROMADDRNAME$ Username portion of From email address. $FROMADDRDOMAIN$ Domain portion of From email address. $TOADDRNAME$ Username portion of an email address (applicable in MAILTOURL only). $TOADDRDOMAIN$ Domain portion of an email address (applicable in MAILTOURL only). o A new utility program: mha-decode. The program functions as a MIME message decoder. Can be used against mail folders or single messages. o The "PARENT" argument to applicable resource variables is now called "TPARENT". This change should not affect anyone since the "PARENT" argument did not work properly in previous releases. o SUBJECTHEADER and HEADBODYSEP resource changes will now affect existing messages that are edited during normal operations or via EDITIDX. Note, messages created from old versions of MHonArc may not be affected. o The default TIMEZONES settings now has a more complete list. o Timezone acronym settings now support [+-]HHMM specifications. o Support for ISO-2022-JP encoded strings in message headers is now supported. It does assume that HTML viewer supports ISO-2022-JP. o If Digest::MD5 is installed, md5_hex() will be used to create message-ids for messages without message-ids. This allows MHonArc to ignore non-message-id archived messages in ADD mode. The MD5 digest is computed only on message header for efficieny. If Digest::MD5 is not installed, a message-id will still be assigned if none present, but MHonArc will not be able to detect if message has already been archived in subsequent ADD operations. o Text/html filter supports the "noscript" option. If specified, any script-related markup will be removed. This provides added security to avoid sites being compromised with foreign client-side scripting. o Added the following options to mhexternal.pl (the save-to-file filter): forceattach, forceinline, and inlineexts. o Recognize mailing list headers as defined by RFC 2369 and hyperlink URLs listed. o If no boundaries exist in a multipart message (even though a boundary is defined in the header), MHonArc will treat the entire body as the first part. This prevents "unable to process" warnings. o The "