openbsd-ports/www/mhonarc/Makefile
jasper a5b4450ad2 - SECURITY UPDATE of mhonarc to 2.6.18
Fixes:
CVE-2010-1677: DoS when processing html messages with deep nesting
CVE-2010-4524: Improper escaping of certain HTML sequences (XSS)
Specially crafted <base href> can lead to XSS exploit (bug id #32080)

From Christian Rueger (MAINTAINER)
2011-01-13 09:53:50 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2011/01/13 09:53:50 jasper Exp $
COMMENT= highly customizable e-mail to HTML converter
DISTNAME= MHonArc-2.6.18
PKGNAME= ${DISTNAME:L}
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= Christian Rueger <cr+openbsd@rueger-net.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= PREFIX='$${${DESTDIRNAME}}${PREFIX}' \
INSTALLSITELIB='$${${DESTDIRNAME}}${PREFIX}/libdata/perl5/site_perl' \
INSTALLPRIVLIB='$${${DESTDIRNAME}}/usr/./libdata/perl5' \
INSTALLMAN1DIR='$${${DESTDIRNAME}}${PREFIX}/man/man1' \
INSTALLMAN3DIR='$${${DESTDIRNAME}}${PREFIX}/man/man3p'
ALL_TARGET= default
USE_GROFF = Yes
EXAMPLES= mha-preview mhasiteinit.pl mhonarc.vim *.mrc
EXTRAS= mha-mhedit/*
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mhonarc/mha-mhedit
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} \
${PREFIX}/share/examples/mhonarc
cd ${WRKSRC}/extras && ${INSTALL_DATA} ${EXTRAS} \
${PREFIX}/share/examples/mhonarc/mha-mhedit
.include <bsd.port.mk>