pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mantis Mantis is a web-based bugtracking system....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2aebb06b0be8
branches:  trunk
changeset: 483167:2aebb06b0be8
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Nov 08 19:05:33 2004 +0000

description:
Mantis is a web-based bugtracking system. It is written in the PHP scripting
language and requires the MySQL database and a webserver. Mantis has been
installed on Windows, MacOS, OS/2, and a variety of Unix operating systems.
Almost any web browser should be able to function as a client. It is released
under the terms of the GNU General Public License (GPL).

Mantis is free to use and modify. It is free to redistribute as long as you
abide by the distribution terms of the GPL.

diffstat:

 devel/mantis/DESCR             |    8 +
 devel/mantis/MESSAGE           |   26 ++
 devel/mantis/Makefile          |  119 +++++++++++
 devel/mantis/PLIST             |  438 +++++++++++++++++++++++++++++++++++++++++
 devel/mantis/distinfo          |    4 +
 devel/mantis/files/mantis.conf |   12 +
 6 files changed, 607 insertions(+), 0 deletions(-)

diffs (truncated from 631 to 300 lines):

diff -r 56a2e90f242d -r 2aebb06b0be8 devel/mantis/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mantis/DESCR        Mon Nov 08 19:05:33 2004 +0000
@@ -0,0 +1,8 @@
+Mantis is a web-based bugtracking system. It is written in the PHP scripting 
+language and requires the MySQL database and a webserver. Mantis has been 
+installed on Windows, MacOS, OS/2, and a variety of Unix operating systems. 
+Almost any web browser should be able to function as a client. It is released 
+under the terms of the GNU General Public License (GPL). 
+
+Mantis is free to use and modify. It is free to redistribute as long as you 
+abide by the distribution terms of the GPL. 
diff -r 56a2e90f242d -r 2aebb06b0be8 devel/mantis/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mantis/MESSAGE      Mon Nov 08 19:05:33 2004 +0000
@@ -0,0 +1,26 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/11/08 19:05:33 adrianp Exp $
+
+To complete the setup you will need to read the INSTALL guide in order
+to setup mySQL properly.  In particular secion 3 of the document deals
+with database setup.  
+
+You will need to make Mantis accessible through your HTTP server.
+If you are running Apache then you may add the following lines to httpd.conf:
+
+       Include ${PKG_SYSCONFDIR}/httpd/mantis.conf
+
+to make Mantis accessible through:
+       
+       http://www.domain.com/mantis/index.php
+
+You can also use the following URL to check your installation:
+       
+       http://www.domain.com/mantis/admin/index.php
+
+IMPORTANT SECURITY NOTES:
+
+       * Change your database password from the default and update your
+         config_inc.php to reflect the new password.
+       * Once Mantis is running correctly remove the admin directory.
+===========================================================================
diff -r 56a2e90f242d -r 2aebb06b0be8 devel/mantis/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mantis/Makefile     Mon Nov 08 19:05:33 2004 +0000
@@ -0,0 +1,119 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/08 19:05:33 adrianp Exp $
+
+DISTNAME=      mantis-0.19.1
+CATEGORIES=    devel www
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mantisbt/}
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.mantisdb.org/
+COMMENT=       PHP/MySQL/web based bugtracking system
+
+DEPENDS+=      ap-php>=4.0.6:../../www/ap-php
+DEPENDS+=      php-mysql>=4.0.6:../../databases/php-mysql
+
+USE_BUILDLINK3=        YES
+USE_PKGINSTALL=        YES
+NO_BUILD=      YES
+
+.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-jpgraph-[0-9]*:../../graphics/php-jpgraph
+.endif
+
+BUILDLINK_DEPENDS.mysql-client+=       mysql-client>=3.23.2
+PHP_VERSIONS_ACCEPTED=                 4
+MYSQL_VERSIONS_ACCEPTED=               30 40
+
+M_DB_HOST?=    localhost
+M_DB_USER?=    root
+M_DB_PASS?=    
+M_DB_DATABASE?=        bugtracker
+M_DOMAIN?=     example.com
+APACHE_USER?=  www
+
+BUILD_DEFS+=   M_DB_HOST M_DB_USER M_DB_PASS M_DB_DATABASE M_DOMAIN APACHE_USER
+MESSAGE_SUBST+=        PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+MANTIS_HOME=   ${PREFIX}/share/mantis
+EGDIR=         ${PREFIX}/share/examples/mantis
+CONF_FILES+=   ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf
+SPECIAL_PERMS= ${MANTIS_HOME}/config_inc.php ${APACHE_USER} ${SHAREGRP} 0400
+
+SUBST_CLASSES=         conf
+SUBST_STAGE.conf=      pre-install
+SUBST_FILES.conf=      config_inc.php mantis.conf
+SUBST_SED.conf=                -e "s|localhost|${M_DB_HOST}|g" \
+                       -e "s|root|${M_DB_USER}|g" \
+                       -e "s|\"\"|\"${M_DB_PASS}\"|g" \
+                       -e "s|bugtracker|${M_DB_DATABASE}|g" \
+                       -e "s|example.com|${DOMAIN}|g" \
+                       -e "s|@MANTIS_HOME@|${MANTIS_HOME}|g"
+SUBST_MESSAGE.conf=    "Fixing configuration files."
+
+post-extract:
+       @${CP} ${FILESDIR}/mantis.conf ${WRKSRC}
+       @${CP} ${WRKSRC}/config_inc.php.sample ${WRKSRC}/config_inc.php
+
+do-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mantis
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/admin
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/admin/css
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/admin/upgrades
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/adodb
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/adodb/lang
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/adodb/drivers
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/adodb/datadict
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/phpmailer
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/core/phpmailer/language
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/css
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/graphs
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/images
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/javascript
+       ${INSTALL_DATA_DIR} ${MANTIS_HOME}/lang
+       ${INSTALL_DATA} ${WRKSRC}/doc/CUSTOMIZATION ${PREFIX}/share/doc/mantis
+       ${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${PREFIX}/share/doc/mantis
+       ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/mantis
+       ${INSTALL_DATA} ${WRKSRC}/doc/UPGRADING ${PREFIX}/share/doc/mantis
+       ${INSTALL_DATA} ${WRKSRC}/*.php ${MANTIS_HOME}
+       ${INSTALL_DATA} ${WRKSRC}/admin/*.php ${MANTIS_HOME}/admin
+       ${INSTALL_DATA} ${WRKSRC}/admin/*.css ${MANTIS_HOME}/admin
+       ${INSTALL_DATA} ${WRKSRC}/admin/css/*.php ${MANTIS_HOME}/admin/css
+       ${INSTALL_DATA} ${WRKSRC}/admin/upgrades/*.php \
+               ${MANTIS_HOME}/admin/upgrades
+       ${INSTALL_DATA} ${WRKSRC}/core/*.php ${MANTIS_HOME}/core
+       ${INSTALL_DATA} ${WRKSRC}/core/phpmailer/*.php \
+               ${MANTIS_HOME}/core/phpmailer
+       ${INSTALL_DATA} ${WRKSRC}/core/phpmailer/language/*.php \
+               ${MANTIS_HOME}/core/phpmailer/language
+       ${INSTALL_DATA} ${WRKSRC}/core/adodb/*.php ${MANTIS_HOME}/core/adodb
+       ${INSTALL_DATA} ${WRKSRC}/core/adodb/*.htm ${MANTIS_HOME}/core/adodb
+       ${INSTALL_DATA} ${WRKSRC}/core/adodb/lang/*.php \
+               ${MANTIS_HOME}/core/adodb/lang
+       ${INSTALL_DATA} ${WRKSRC}/core/adodb/drivers/*.php \
+               ${MANTIS_HOME}/core/adodb/drivers
+       ${INSTALL_DATA} ${WRKSRC}/core/adodb/datadict/*.php \
+               ${MANTIS_HOME}/core/adodb/datadict
+       ${INSTALL_DATA} ${WRKSRC}/css/*.css ${MANTIS_HOME}/css
+       ${INSTALL_DATA} ${WRKSRC}/graphs/*.php ${MANTIS_HOME}/graphs
+       ${INSTALL_DATA} ${WRKSRC}/images/*.gif ${MANTIS_HOME}/images
+       ${INSTALL_DATA} ${WRKSRC}/images/*.png ${MANTIS_HOME}/images
+       ${INSTALL_DATA} ${WRKSRC}/javascript/*.js ${MANTIS_HOME}/javascript
+       ${INSTALL_DATA} ${WRKSRC}/lang/*.txt ${MANTIS_HOME}/lang
+       ${INSTALL_DATA} ${WRKSRC}/sql/*.sql ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/config_inc.php.sample ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/mantis_offline.php.sample ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/mantis.conf ${EGDIR}
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 56a2e90f242d -r 2aebb06b0be8 devel/mantis/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mantis/PLIST        Mon Nov 08 19:05:33 2004 +0000
@@ -0,0 +1,438 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/08 19:05:33 adrianp Exp $
+share/doc/mantis/CUSTOMIZATION
+share/doc/mantis/INSTALL
+share/doc/mantis/README
+share/doc/mantis/UPGRADING
+share/examples/mantis/config_inc.php.sample
+share/examples/mantis/db_generate.sql
+share/examples/mantis/mantis.conf
+share/examples/mantis/mantis_offline.php.sample
+share/examples/mantis/mssql.sql
+share/examples/mantis/pgsql.sql
+share/mantis/account_delete.php
+share/mantis/account_page.php
+share/mantis/account_prefs_inc.php
+share/mantis/account_prefs_page.php
+share/mantis/account_prefs_reset.php
+share/mantis/account_prefs_update.php
+share/mantis/account_prof_add.php
+share/mantis/account_prof_delete.php
+share/mantis/account_prof_edit_page.php
+share/mantis/account_prof_make_default.php
+share/mantis/account_prof_menu_page.php
+share/mantis/account_prof_update.php
+share/mantis/account_update.php
+share/mantis/adm_permissions_report.php
+share/mantis/admin/admin.css
+share/mantis/admin/check.php
+share/mantis/admin/copy_field.php
+share/mantis/admin/css/core.php
+share/mantis/admin/css/css_download.php
+share/mantis/admin/css/css_inc.php
+share/mantis/admin/css/css_view.php
+share/mantis/admin/css/index.php
+share/mantis/admin/css/view_inc.php
+share/mantis/admin/db_table_names_inc.php
+share/mantis/admin/index.php
+share/mantis/admin/move_db2disk.php
+share/mantis/admin/system_utils.php
+share/mantis/admin/upgrade.php
+share/mantis/admin/upgrade_advanced.php
+share/mantis/admin/upgrade_escaping.php
+share/mantis/admin/upgrade_inc.php
+share/mantis/admin/upgrade_list.php
+share/mantis/admin/upgrade_warning.php
+share/mantis/admin/upgrades/0_13_inc.php
+share/mantis/admin/upgrades/0_14_inc.php
+share/mantis/admin/upgrades/0_15_inc.php
+share/mantis/admin/upgrades/0_16_inc.php
+share/mantis/admin/upgrades/0_17_escaping_fixes_inc.php
+share/mantis/admin/upgrades/0_17_inc.php
+share/mantis/admin/upgrades/0_18_inc.php
+share/mantis/admin/upgrades/0_19_inc.php
+share/mantis/admin/workflow.php
+share/mantis/bug_actiongroup.php
+share/mantis/bug_actiongroup_page.php
+share/mantis/bug_assign.php
+share/mantis/bug_assign_reporter.php
+share/mantis/bug_change_status_page.php
+share/mantis/bug_delete.php
+share/mantis/bug_file_add.php
+share/mantis/bug_file_delete.php
+share/mantis/bug_file_upload_inc.php
+share/mantis/bug_monitor.php
+share/mantis/bug_monitor_list_view_inc.php
+share/mantis/bug_relationship_add.php
+share/mantis/bug_relationship_delete.php
+share/mantis/bug_relationship_graph.php
+share/mantis/bug_relationship_graph_img.php
+share/mantis/bug_reminder.php
+share/mantis/bug_reminder_page.php
+share/mantis/bug_report.php
+share/mantis/bug_report_advanced_page.php
+share/mantis/bug_report_page.php
+share/mantis/bug_set_sponsorship.php
+share/mantis/bug_sponsorship_list_view_inc.php
+share/mantis/bug_update.php
+share/mantis/bug_update_advanced_page.php
+share/mantis/bug_update_page.php
+share/mantis/bug_view_advanced_page.php
+share/mantis/bug_view_inc.php
+share/mantis/bug_view_page.php
+share/mantis/bugnote_add.php
+share/mantis/bugnote_add_inc.php
+share/mantis/bugnote_delete.php
+share/mantis/bugnote_edit_page.php
+share/mantis/bugnote_set_view_state.php
+share/mantis/bugnote_update.php
+share/mantis/bugnote_view_inc.php
+share/mantis/changelog_page.php
+share/mantis/config_defaults_inc.php
+share/mantis/config_inc.php
+share/mantis/core.php
+share/mantis/core/access_api.php
+share/mantis/core/adodb/adodb-cryptsession.php
+share/mantis/core/adodb/adodb-csvlib.inc.php
+share/mantis/core/adodb/adodb-datadict.inc.php
+share/mantis/core/adodb/adodb-error.inc.php
+share/mantis/core/adodb/adodb-errorhandler.inc.php
+share/mantis/core/adodb/adodb-errorpear.inc.php
+share/mantis/core/adodb/adodb-lib.inc.php
+share/mantis/core/adodb/adodb-pager.inc.php
+share/mantis/core/adodb/adodb-pear.inc.php
+share/mantis/core/adodb/adodb-session-clob.php
+share/mantis/core/adodb/adodb-session.php
+share/mantis/core/adodb/adodb-time.inc.php
+share/mantis/core/adodb/adodb-xmlschema.inc.php
+share/mantis/core/adodb/adodb.inc.php
+share/mantis/core/adodb/crypt.inc.php
+share/mantis/core/adodb/datadict/datadict-access.inc.php
+share/mantis/core/adodb/datadict/datadict-db2.inc.php
+share/mantis/core/adodb/datadict/datadict-generic.inc.php
+share/mantis/core/adodb/datadict/datadict-ibase.inc.php
+share/mantis/core/adodb/datadict/datadict-informix.inc.php
+share/mantis/core/adodb/datadict/datadict-mssql.inc.php
+share/mantis/core/adodb/datadict/datadict-mysql.inc.php
+share/mantis/core/adodb/datadict/datadict-oci8.inc.php
+share/mantis/core/adodb/datadict/datadict-postgres.inc.php
+share/mantis/core/adodb/docs-adodb.htm
+share/mantis/core/adodb/docs-datadict.htm
+share/mantis/core/adodb/docs-session.htm
+share/mantis/core/adodb/drivers/adodb-access.inc.php
+share/mantis/core/adodb/drivers/adodb-ado.inc.php
+share/mantis/core/adodb/drivers/adodb-ado_access.inc.php
+share/mantis/core/adodb/drivers/adodb-ado_mssql.inc.php
+share/mantis/core/adodb/drivers/adodb-borland_ibase.inc.php
+share/mantis/core/adodb/drivers/adodb-csv.inc.php
+share/mantis/core/adodb/drivers/adodb-db2.inc.php
+share/mantis/core/adodb/drivers/adodb-fbsql.inc.php
+share/mantis/core/adodb/drivers/adodb-firebird.inc.php
+share/mantis/core/adodb/drivers/adodb-ibase.inc.php
+share/mantis/core/adodb/drivers/adodb-informix.inc.php



Home | Main Index | Thread Index | Old Index