b46426693e
-- SECURITY fix: A cross-site scripting (XSS) vulnerability has been discovered for all versions of MHonArc upto, and including, v2.5.13. A specially crafted HTML mail message can introduce foreign scripting content in archives, by-passing MHonArc's HTML script filtering. brad@ ok
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2002/12/29 22:01:49 margarida Exp $
|
|
|
|
COMMENT= "highly customizable e-mail to HTML converter"
|
|
|
|
VERSION= 2.5.14
|
|
DISTNAME= MHonArc${VERSION}
|
|
PKGNAME= mhonarc-${VERSION}
|
|
CATEGORIES= www mail
|
|
|
|
HOMEPAGE= http://www.mhonarc.org/
|
|
|
|
MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ \
|
|
http://www.nacs.uci.edu/indiv/ehood/tar/ \
|
|
ftp://ftp.plig.org/pub/CPAN/authors/id/EHOOD/
|
|
|
|
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
post-extract:
|
|
@chmod -R u+w ${WRKDIST}
|
|
|
|
CONFIGURE_STYLE= perl
|
|
ALL_TARGET= default
|
|
|
|
EXAMPLES= mha-preview mhasiteinit.pl mhonarc.vim *.mrc
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc/examples
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc/extras
|
|
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} \
|
|
${PREFIX}/share/examples/mhonarc/examples
|
|
cd ${WRKSRC}/extras && ${INSTALL_DATA} HtmlMail MosaicMail \
|
|
${PREFIX}/share/examples/mhonarc/extras
|
|
|
|
.include <bsd.port.mk>
|