diff options
-rw-r--r-- | devel/mantis/MESSAGE | 4 | ||||
-rw-r--r-- | devel/mantis/Makefile | 32 | ||||
-rw-r--r-- | devel/mantis/PLIST | 114 | ||||
-rw-r--r-- | devel/mantis/distinfo | 8 | ||||
-rw-r--r-- | devel/mantis/options.mk | 11 |
5 files changed, 51 insertions, 118 deletions
diff --git a/devel/mantis/MESSAGE b/devel/mantis/MESSAGE index 4504afeddd8..8238599bd3e 100644 --- a/devel/mantis/MESSAGE +++ b/devel/mantis/MESSAGE @@ -1,8 +1,8 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.5 2006/05/28 15:17:47 adrianp Exp $ +$NetBSD: MESSAGE,v 1.6 2014/09/24 01:06:26 rodent 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 +to setup MySQL properly. In particular secion 3 of the document deals with database setup. The following URL can be used to complete the installation and database diff --git a/devel/mantis/Makefile b/devel/mantis/Makefile index 0806a4d8cd9..df5dd39811d 100644 --- a/devel/mantis/Makefile +++ b/devel/mantis/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.42 2013/06/30 11:47:44 ryoon Exp $ +# $NetBSD: Makefile,v 1.43 2014/09/24 01:06:26 rodent Exp $ -DISTNAME= mantisbt-1.2.15 +DISTNAME= mantisbt-1.2.17 PKGNAME= ${DISTNAME:S/mantisbt/mantis/} CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/} @@ -15,18 +15,7 @@ DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.0.6:../../databases/php-mysql 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 +USE_TOOLS+= bash:run pax APACHE_USER?= www BUILD_DEFS+= APACHE_USER @@ -47,14 +36,21 @@ SUBST_FILES.conf= mantis.conf SUBST_SED.conf= -e "s|@MANTIS_HOME@|${MANTIS_HOME}|g" SUBST_MESSAGE.conf= Fixing configuration files. +REPLACE_BASH+= scripts/travis_before_script.sh + +REPLACE_INTERPRETER+= php +REPLACE.php.old= /usr/bin/php +REPLACE.php.new= ${PREFIX}/bin/php +REPLACE_FILES.php= scripts/*.php + +INSTALLATION_DIRS+= share/doc/mantis ${EGDIR} ${MANTIS_HOME} + +.include "options.mk" + 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 diff --git a/devel/mantis/PLIST b/devel/mantis/PLIST index 53932cffdc7..9a0cc06170d 100644 --- a/devel/mantis/PLIST +++ b/devel/mantis/PLIST @@ -1,10 +1,9 @@ -@comment $NetBSD: PLIST,v 1.17 2013/06/30 11:47:44 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.18 2014/09/24 01:06:26 rodent Exp $ share/doc/mantis/CUSTOMIZATION share/doc/mantis/INSTALL share/examples/mantis/config_inc.php share/examples/mantis/mantis.conf share/examples/mantis/mantis_offline.php.sample -share/mantis/.mailmap share/mantis/account_delete.php share/mantis/account_manage_columns_page.php share/mantis/account_page.php @@ -31,7 +30,8 @@ share/mantis/admin/index.php share/mantis/admin/install.php share/mantis/admin/install_functions.php share/mantis/admin/install_helper_functions.php -share/mantis/admin/move_db2disk.php +share/mantis/admin/move_attachments.php +share/mantis/admin/move_attachments_page.php share/mantis/admin/schema.php share/mantis/admin/system_utils.php share/mantis/admin/test_email.php @@ -57,6 +57,7 @@ share/mantis/api/soap/mc_project_attachment_api.php share/mantis/api/soap/mc_tag_api.php share/mantis/api/soap/mc_user_pref_api.php share/mantis/api/soap/mc_user_profile_api.php +share/mantis/api/soap/wsdl-viewer.xsl share/mantis/billing_inc.php share/mantis/billing_page.php share/mantis/browser_search_plugin.php @@ -104,7 +105,6 @@ share/mantis/bugnote_set_view_state.php share/mantis/bugnote_stats_inc.php share/mantis/bugnote_update.php share/mantis/bugnote_view_inc.php -share/mantis/build.xml share/mantis/changelog_page.php share/mantis/config_defaults_inc.php share/mantis/config_filter_defaults_inc.php @@ -202,45 +202,6 @@ share/mantis/doc/en/administration_guide.txt share/mantis/doc/en/developers.html share/mantis/doc/en/developers.pdf share/mantis/doc/en/developers.txt -share/mantis/docbook/README -share/mantis/docbook/administration_guide/en/Makefile -share/mantis/docbook/administration_guide/en/about.sgml -share/mantis/docbook/administration_guide/en/administration_guide.sgml -share/mantis/docbook/administration_guide/en/authentication.sgml -share/mantis/docbook/administration_guide/en/configuration.sgml -share/mantis/docbook/administration_guide/en/contributing.sgml -share/mantis/docbook/administration_guide/en/customizing_mantis.sgml -share/mantis/docbook/administration_guide/en/file-entities.ent -share/mantis/docbook/administration_guide/en/installation.sgml -share/mantis/docbook/administration_guide/en/page_descriptions.sgml -share/mantis/docbook/administration_guide/en/project_management.sgml -share/mantis/docbook/administration_guide/en/troubleshooting.sgml -share/mantis/docbook/administration_guide/en/user_management.sgml -share/mantis/docbook/administration_guide/en/workflow.sgml -share/mantis/docbook/developers/en/Makefile -share/mantis/docbook/developers/en/appendix.sgml -share/mantis/docbook/developers/en/contributers.sgml -share/mantis/docbook/developers/en/database.sgml -share/mantis/docbook/developers/en/developers.sgml -share/mantis/docbook/developers/en/event-reference-account.sgml -share/mantis/docbook/developers/en/event-reference-bug.sgml -share/mantis/docbook/developers/en/event-reference-filter.sgml -share/mantis/docbook/developers/en/event-reference-manage.sgml -share/mantis/docbook/developers/en/event-reference-notify.sgml -share/mantis/docbook/developers/en/event-reference-output.sgml -share/mantis/docbook/developers/en/event-reference.sgml -share/mantis/docbook/developers/en/events.sgml -share/mantis/docbook/developers/en/file-entities.ent -share/mantis/docbook/developers/en/integrators.sgml -share/mantis/docbook/developers/en/plugins-building-source.sgml -share/mantis/docbook/developers/en/plugins-building.sgml -share/mantis/docbook/developers/en/plugins.sgml -share/mantis/docbook/template/Makefile -share/mantis/docbook/template/chapter.sgml -share/mantis/docbook/template/file-entities.ent -share/mantis/docbook/template/stylesheet.css -share/mantis/docbook/template/stylesheet.dsl -share/mantis/docbook/template/template.sgml share/mantis/excel_xml_export.php share/mantis/file_download.php share/mantis/history_inc.php @@ -314,26 +275,6 @@ share/mantis/images/up.gif share/mantis/images/update.png share/mantis/index.php share/mantis/issues_rss.php -share/mantis/javascript/dev/addLoadEvent.js -share/mantis/javascript/dev/ajax.js -share/mantis/javascript/dev/common.js -share/mantis/javascript/dev/dynamic_filters.js -share/mantis/javascript/dev/jscalendar/calendar-blue.css -share/mantis/javascript/dev/jscalendar/calendar-setup.js -share/mantis/javascript/dev/jscalendar/calendar.js -share/mantis/javascript/dev/jscalendar/lang/calendar-en.js -share/mantis/javascript/dev/projax/MIT-LICENSE -share/mantis/javascript/dev/projax/builder.js -share/mantis/javascript/dev/projax/controls.js -share/mantis/javascript/dev/projax/dragdrop.js -share/mantis/javascript/dev/projax/effects.js -share/mantis/javascript/dev/projax/license.html -share/mantis/javascript/dev/projax/prototype.js -share/mantis/javascript/dev/projax/prototype_b.js -share/mantis/javascript/dev/projax/scriptaculous.js -share/mantis/javascript/dev/projax/slider.js -share/mantis/javascript/dev/time_tracking_stopwatch.js -share/mantis/javascript/dev/xmlhttprequest.js share/mantis/javascript/min/addLoadEvent.js share/mantis/javascript/min/ajax.js share/mantis/javascript/min/common.js @@ -357,6 +298,7 @@ share/mantis/javascript/min/xmlhttprequest.js share/mantis/jump_to_bug.php share/mantis/lang/.htaccess share/mantis/lang/langreadme.txt +share/mantis/lang/strings_aeb.txt share/mantis/lang/strings_afrikaans.txt share/mantis/lang/strings_amharic.txt share/mantis/lang/strings_arabic.txt @@ -370,6 +312,7 @@ share/mantis/lang/strings_chinese_traditional.txt share/mantis/lang/strings_croatian.txt share/mantis/lang/strings_czech.txt share/mantis/lang/strings_danish.txt +share/mantis/lang/strings_diq.txt share/mantis/lang/strings_dutch.txt share/mantis/lang/strings_english.txt share/mantis/lang/strings_estonian.txt @@ -386,6 +329,7 @@ share/mantis/lang/strings_italian.txt share/mantis/lang/strings_japanese.txt share/mantis/lang/strings_korean.txt share/mantis/lang/strings_latvian.txt +share/mantis/lang/strings_lb.txt share/mantis/lang/strings_lithuanian.txt share/mantis/lang/strings_macedonian.txt share/mantis/lang/strings_norwegian_bokmal.txt @@ -405,6 +349,7 @@ share/mantis/lang/strings_slovene.txt share/mantis/lang/strings_spanish.txt share/mantis/lang/strings_swedish.txt share/mantis/lang/strings_swissgerman.txt +share/mantis/lang/strings_ta.txt share/mantis/lang/strings_tagalog.txt share/mantis/lang/strings_turkish.txt share/mantis/lang/strings_ukrainian.txt @@ -741,8 +686,8 @@ share/mantis/library/nusoap/nusoap.php share/mantis/library/nusoap/nusoapmime.php share/mantis/library/nusoap/readme_mantis.txt share/mantis/library/phpmailer/LICENSE -share/mantis/library/phpmailer/README -share/mantis/library/phpmailer/changelog.txt +share/mantis/library/phpmailer/README.md +share/mantis/library/phpmailer/changelog.md share/mantis/library/phpmailer/class.phpmailer.php share/mantis/library/phpmailer/class.pop3.php share/mantis/library/phpmailer/class.smtp.php @@ -754,11 +699,13 @@ share/mantis/library/phpmailer/language/phpmailer.lang-ch.php share/mantis/library/phpmailer/language/phpmailer.lang-cz.php share/mantis/library/phpmailer/language/phpmailer.lang-de.php share/mantis/library/phpmailer/language/phpmailer.lang-dk.php +share/mantis/library/phpmailer/language/phpmailer.lang-eo.php share/mantis/library/phpmailer/language/phpmailer.lang-es.php share/mantis/library/phpmailer/language/phpmailer.lang-et.php share/mantis/library/phpmailer/language/phpmailer.lang-fi.php share/mantis/library/phpmailer/language/phpmailer.lang-fo.php share/mantis/library/phpmailer/language/phpmailer.lang-fr.php +share/mantis/library/phpmailer/language/phpmailer.lang-he.php share/mantis/library/phpmailer/language/phpmailer.lang-hu.php share/mantis/library/phpmailer/language/phpmailer.lang-it.php share/mantis/library/phpmailer/language/phpmailer.lang-ja.php @@ -768,10 +715,10 @@ share/mantis/library/phpmailer/language/phpmailer.lang-pl.php share/mantis/library/phpmailer/language/phpmailer.lang-ro.php share/mantis/library/phpmailer/language/phpmailer.lang-ru.php share/mantis/library/phpmailer/language/phpmailer.lang-se.php +share/mantis/library/phpmailer/language/phpmailer.lang-sk.php share/mantis/library/phpmailer/language/phpmailer.lang-tr.php share/mantis/library/phpmailer/language/phpmailer.lang-zh.php share/mantis/library/phpmailer/language/phpmailer.lang-zh_cn.php -share/mantis/library/phpmailer/readme_mantis.txt share/mantis/library/projax/classes/JavaScript.php share/mantis/library/projax/classes/Prototype.php share/mantis/library/projax/classes/Scriptaculous.php @@ -907,7 +854,6 @@ share/mantis/news_rss.php share/mantis/news_update.php share/mantis/news_view_page.php share/mantis/permalink_page.php -share/mantis/phing/tasks/mantisbt/ExtractMantisBTVersion.php share/mantis/plugin.php share/mantis/plugin_file.php share/mantis/plugins/MantisCoreFormatting/MantisCoreFormatting.php @@ -976,8 +922,10 @@ share/mantis/plugins/MantisGraph/lang/strings_finnish.txt share/mantis/plugins/MantisGraph/lang/strings_french.txt share/mantis/plugins/MantisGraph/lang/strings_galician.txt share/mantis/plugins/MantisGraph/lang/strings_german.txt +share/mantis/plugins/MantisGraph/lang/strings_greek.txt share/mantis/plugins/MantisGraph/lang/strings_hebrew.txt share/mantis/plugins/MantisGraph/lang/strings_hungarian.txt +share/mantis/plugins/MantisGraph/lang/strings_icelandic.txt share/mantis/plugins/MantisGraph/lang/strings_interlingua.txt share/mantis/plugins/MantisGraph/lang/strings_italian.txt share/mantis/plugins/MantisGraph/lang/strings_japanese.txt @@ -985,6 +933,7 @@ share/mantis/plugins/MantisGraph/lang/strings_korean.txt share/mantis/plugins/MantisGraph/lang/strings_lithuanian.txt share/mantis/plugins/MantisGraph/lang/strings_macedonian.txt share/mantis/plugins/MantisGraph/lang/strings_norwegian_bokmal.txt +share/mantis/plugins/MantisGraph/lang/strings_norwegian_nynorsk.txt share/mantis/plugins/MantisGraph/lang/strings_occitan.txt share/mantis/plugins/MantisGraph/lang/strings_polish.txt share/mantis/plugins/MantisGraph/lang/strings_portuguese_brazil.txt @@ -1002,6 +951,7 @@ share/mantis/plugins/MantisGraph/lang/strings_swissgerman.txt share/mantis/plugins/MantisGraph/lang/strings_tagalog.txt share/mantis/plugins/MantisGraph/lang/strings_turkish.txt share/mantis/plugins/MantisGraph/lang/strings_ukrainian.txt +share/mantis/plugins/MantisGraph/lang/strings_urdu.txt share/mantis/plugins/MantisGraph/lang/strings_vietnamese.txt share/mantis/plugins/MantisGraph/pages/bug_graph_bycategory.php share/mantis/plugins/MantisGraph/pages/bug_graph_bystatus.php @@ -1052,6 +1002,7 @@ share/mantis/plugins/XmlImportExport/lang/strings_finnish.txt share/mantis/plugins/XmlImportExport/lang/strings_french.txt share/mantis/plugins/XmlImportExport/lang/strings_galician.txt share/mantis/plugins/XmlImportExport/lang/strings_german.txt +share/mantis/plugins/XmlImportExport/lang/strings_greek.txt share/mantis/plugins/XmlImportExport/lang/strings_hebrew.txt share/mantis/plugins/XmlImportExport/lang/strings_hungarian.txt share/mantis/plugins/XmlImportExport/lang/strings_interlingua.txt @@ -1076,6 +1027,7 @@ share/mantis/plugins/XmlImportExport/lang/strings_swedish.txt share/mantis/plugins/XmlImportExport/lang/strings_swissgerman.txt share/mantis/plugins/XmlImportExport/lang/strings_tagalog.txt share/mantis/plugins/XmlImportExport/lang/strings_turkish.txt +share/mantis/plugins/XmlImportExport/lang/strings_ukrainian.txt share/mantis/plugins/XmlImportExport/lang/strings_vietnamese.txt share/mantis/plugins/XmlImportExport/mantis.dtd share/mantis/plugins/XmlImportExport/pages/export.php @@ -1106,6 +1058,7 @@ share/mantis/roadmap_page.php share/mantis/scripts/README share/mantis/scripts/checkin.php share/mantis/scripts/send_emails.php +share/mantis/scripts/travis_before_script.sh share/mantis/search.php share/mantis/set_project.php share/mantis/signup.php @@ -1118,31 +1071,6 @@ share/mantis/tag_detach.php share/mantis/tag_update.php share/mantis/tag_update_page.php share/mantis/tag_view_page.php -share/mantis/tests/AllTests.php -share/mantis/tests/Mantis/AllTests.php -share/mantis/tests/Mantis/EnumTest.php -share/mantis/tests/Mantis/StringTest.php -share/mantis/tests/TestConfig.php -share/mantis/tests/bootstrap.php.sample -share/mantis/tests/soap/AllTests.php -share/mantis/tests/soap/AttachmentTest.php -share/mantis/tests/soap/CategoryTest.php -share/mantis/tests/soap/CompressionTest.php -share/mantis/tests/soap/EnumTest.php -share/mantis/tests/soap/FilterTest.php -share/mantis/tests/soap/IssueAddTest.php -share/mantis/tests/soap/IssueMonitorTest.php -share/mantis/tests/soap/IssueNoteTest.php -share/mantis/tests/soap/IssueUpdateTest.php -share/mantis/tests/soap/LoginTest.php -share/mantis/tests/soap/ProjectTest.php -share/mantis/tests/soap/RelationshipTest.php -share/mantis/tests/soap/SoapBase.php -share/mantis/tests/soap/TagTest.php -share/mantis/tests/soap/UserTest.php -share/mantis/tests/soap/VersionTest.php -share/mantis/tests/test.php -share/mantis/tests/test_config_get_set.php share/mantis/verify.php share/mantis/view.php share/mantis/view_all_bug_page.php @@ -1152,5 +1080,3 @@ share/mantis/view_filters_page.php share/mantis/view_user_page.php share/mantis/wiki.php share/mantis/xmlhttprequest.php -@pkgdir share/mantis/docbook/developers/en/build -@pkgdir share/mantis/docbook/administration_guide/en/build diff --git a/devel/mantis/distinfo b/devel/mantis/distinfo index 26e1f0732f4..426a05408bb 100644 --- a/devel/mantis/distinfo +++ b/devel/mantis/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.16 2013/06/30 11:47:44 ryoon Exp $ +$NetBSD: distinfo,v 1.17 2014/09/24 01:06:26 rodent Exp $ -SHA1 (mantisbt-1.2.15.tar.gz) = 24bb24cb5ece5054c7c1638b040118fc60927a87 -RMD160 (mantisbt-1.2.15.tar.gz) = 8c257614ff234c120ff2063defd824c9a014b8b2 -Size (mantisbt-1.2.15.tar.gz) = 3577359 bytes +SHA1 (mantisbt-1.2.17.tar.gz) = 7cfa03ca674eb6727ed6d9c3f79266a12c0a669c +RMD160 (mantisbt-1.2.17.tar.gz) = 40a599a5be7868d13374d9b36bf8ce33ed55149e +Size (mantisbt-1.2.17.tar.gz) = 3958728 bytes diff --git a/devel/mantis/options.mk b/devel/mantis/options.mk new file mode 100644 index 00000000000..9aeec703486 --- /dev/null +++ b/devel/mantis/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2014/09/24 01:06:26 rodent Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.mantis +PKG_SUPPORTED_OPTIONS= charts +PKG_SUGGESTED_OPTIONS+= # blank + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mcharts) +DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph +.endif |