freebsd-ports/databases/mantis/Makefile
Simon L. B. Nielsen 965416509e Mark FORBIDDEN due to remote file inclusion vulnerability (IE.
effectively execute arbitrary PHP code).

Security:	http://vuxml.FreeBSD.org/82a41084-6ce7-11da-b90c-000e0c2e438a.html
Requested by:	remko
With hat:	secteam
2005-12-14 22:10:27 +00:00

34 lines
876 B
Makefile

# New ports collection makefile for: mantis
# Date created: 6 December 2002
# Whom: Sebastien Gioria <gioria@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= mantis
PORTVERSION= 1.0.0a2
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mantisbt
MAINTAINER= gioria@FreeBSD.org
COMMENT= A bug tracking system written in PHP
FORBIDDEN= http://vuxml.FreeBSD.org/82a41084-6ce7-11da-b90c-000e0c2e438a.html
NO_BUILD= yes
USE_MYSQL= yes
USE_APACHE= yes
USE_PHP= yes
do-install:
@${ECHO} "Installing in ${PREFIX}/www/mantis"
${MKDIR} ${PREFIX}/www/mantis
${CP} -R ${WRKSRC}/* ${PREFIX}/www/mantis
${MV} ${PREFIX}/www/mantis/config_inc.php.sample ${PREFIX}/www/mantis/config_inc.php
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/mantis
post-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
.include <bsd.port.mk>