pkgsrc/devel/mantis/Makefile
adrianp 70bff5a600 Update to 1.1.2
- 0008974: [security] XSS Vulnerability in filters (thraxisp) - closed.
- 0008975: [security] CSRF Vulnerabilities in user_create (jreese) - closed.
- 0008976: [security] Remote Code Execution in adm_config (giallu) - closed.
- 0009154: [security] arbitrary file inclusion through user preferences page (giallu) - closed.
- 0008123: [administration] Adding a user requires "$g_lost_password_feature = ON" (giallu) -
closed.
- 0008924: [bugtracker] Port 8245: Target Version value lost in update issue page (giallu) -
closed.
- 0008886: [change log] Change Log shows duplicate entries (jreese) - closed.
- 0008880: [db postgresql] Problem with date formatting in db_prepare_date function (giallu) -
closed.
- 0009176: [db postgresql] Port 0008699: Get Time Tracking Information return a SQL query error
(vboctor) - closed.
- 0009177: [filters] Port 0008916: Monitor by filter ignores show_monitor_list_threshold (vboctor)
- closed.
- 0008830: [installation] set_time_limit() doesn't work in PHP safe mode (daryn) - closed.
- 0008858: [integration] DokuWiki integration: EMail notification on wiki page changes not working
(vboctor) - closed.
- 0008774: [localization] Complete Hungarian retranslation (vboctor) - closed.
- 0009186: [localization] Port 0009046: French translation for $s_bug_assign_to_button (vboctor) -
closed.
- 0009178: [other] Fix memleak in string api (vboctor) - closed.
- 0009208: [other] Several actions on bug update page lead into System Warning and App. Error
(daryn) - closed.
- 0008931: [relationships] Circle Relations cause roadmap to malfunction (jreese) - closed.
- 0008853: [roadmap] Issue appears more than once in the Roadmap for a release. (jreese) - closed.
- 0007764: [scripting] APPLICATION WARNING #100: Configuration option 'category_enum_string' not
found (vboctor) - closed.
- 0009183: [time tracking] Port 0008357: "Total time for issue" is shown even for users under
threshold (vboctor) - closed.
- 0009184: [time tracking] Port 0008849: Emails ignore time tracking view threshold (vboctor) -
closed.
- 0009185: [time tracking] Port 0008621: The expand icon is inverted for the Time tracking section
(vboctor) - closed.
2008-06-21 15:17:00 +00:00

76 lines
2.2 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2008/06/21 15:17:00 adrianp Exp $
DISTNAME= mantis-1.1.2
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/}
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.mantisbt.org/
COMMENT= PHP/MySQL/web based bugtracking system
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.0.6:../../www/ap-php
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.0.6:../../databases/php-mysql
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= YES
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.mantis
PKG_SUPPORTED_OPTIONS= charts
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcharts)
DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph
.endif
APACHE_USER?= www
BUILD_DEFS+= APACHE_USER
PKG_USERS_VARS+= APACHE_USER
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
MANTIS_HOME= ${PREFIX}/share/mantis
EGDIR= ${PREFIX}/share/examples/mantis
CONF_FILES+= ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf
CONF_FILES_PERMS+= ${EGDIR}/config_inc.php ${MANTIS_HOME}/config_inc.php \
${APACHE_USER} ${SHAREGRP} 0400
MANTIS_EG= config_inc.php mantis.conf mantis_offline.php.sample
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= mantis.conf
SUBST_SED.conf= -e "s|@MANTIS_HOME@|${MANTIS_HOME}|g"
SUBST_MESSAGE.conf= Fixing configuration files.
post-extract:
${CP} ${FILESDIR}/mantis.conf ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mantis
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${MANTIS_HOME}
${INSTALL_DATA} ${WRKSRC}/doc/CUSTOMIZATION ${DESTDIR}${PREFIX}/share/doc/mantis
${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${DESTDIR}${PREFIX}/share/doc/mantis
${MV} ${WRKSRC}/config_inc.php.sample ${WRKSRC}/config_inc.php
. for f in ${MANTIS_EG}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EGDIR}
${RM} ${WRKSRC}/${f}
. endfor
cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM}
cd ${WRKSRC} && pax -rwpppm . ${DESTDIR}${MANTIS_HOME}
cd ${DESTDIR}${MANTIS_HOME} && \
${FIND} . -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/mysql.buildlink3.mk"
.include "../../lang/php/phpversion.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"