pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mantis Update to 1.2.17. pkgsrc changes: Add bas...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bf84cfe0165
branches:  trunk
changeset: 639721:9bf84cfe0165
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Wed Sep 24 01:06:26 2014 +0000

description:
Update to 1.2.17. pkgsrc changes: Add bash:run to USE_TOOLS and
REPLACE_BASH in installed file. Replace PHP interpreter in installed *.php
files. Move options framework into options.mk. Use INSTALLATION_DIRS
instead of INSTALL_DATA_DIR. From doc/RELEASE:

1.2.17 Security Release (2014-03-04)
-------------------------------------------------

MantisBT 1.2.17 is a security update for the stable 1.2.x branch. All
installations that are currently running any 1.2.x version are strongly advised
to upgrade to this release. Download it from [3].

An SQL injection vulnerability (CVE-2014-2238) in adm_config_report.php was
patched. Refer to issue #17055 for detailed information.

This release also includes a few bug fixes for the tracker, including News API
correction for the regression issue #16940 introduced in 1.2.16, as well as
updated translations in many languages.

A full changelog for the 1.2.x series can be found on the official site. [1]

1.2.16 Security Release (2014-02-07)
-------------------------------------------------

MantisBT 1.2.16 is a security update for the stable 1.2.x branch. All
installations that are currently running any 1.2.x version are strongly advised
to upgrade to this release. Download it from [3].

The following security issues were resolved:

 - Cross-site scripting (XSS) issue in account_sponsor_page.php, allowing a
   malicious user with project manager access to execute arbitrary JavaScript
   code (CVE-2013-4460). Affects MantisBT 1.1.0 and later.
   Refer to issue #16513 for detailed information.

 - SQL injection attacks through the SOAP API's mc_attachment_get() function
   (CVE-2014-1608). Affects MantisBT 1.1.0a4 and later.
   Refer to issue #16879 for detailed information.

 - Additional cases of unsanitized SQL query parameters usage were identified,
   potentially allowing SQL injection attacks (CVE-2014-1609).
   Refer to issue #16880 for detailed information.

This release also includes many bug fixes and enhancements to the tracker
and the SOAP api, as well as updated translations in many languages.

A full changelog for the 1.2.x series can be found on the official site. [1]

[1] The changelog is split between multiple releases:

1.2.17     http://www.mantisbt.org/bugs/changelog_page.php?version_id=189
1.2.16     http://www.mantisbt.org/bugs/changelog_page.php?version_id=183

diffstat:

 devel/mantis/MESSAGE    |    4 +-
 devel/mantis/Makefile   |   32 +++++-------
 devel/mantis/PLIST      |  114 ++++++++---------------------------------------
 devel/mantis/distinfo   |    8 +-
 devel/mantis/options.mk |   11 ++++
 5 files changed, 51 insertions(+), 118 deletions(-)

diffs (truncated from 380 to 300 lines):

diff -r e1c432618fed -r 9bf84cfe0165 devel/mantis/MESSAGE
--- a/devel/mantis/MESSAGE      Tue Sep 23 22:52:01 2014 +0000
+++ b/devel/mantis/MESSAGE      Wed Sep 24 01:06:26 2014 +0000
@@ -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 -r e1c432618fed -r 9bf84cfe0165 devel/mantis/Makefile
--- a/devel/mantis/Makefile     Tue Sep 23 22:52:01 2014 +0000
+++ b/devel/mantis/Makefile     Wed Sep 24 01:06:26 2014 +0000
@@ -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 @@
 
 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_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 -r e1c432618fed -r 9bf84cfe0165 devel/mantis/PLIST
--- a/devel/mantis/PLIST        Tue Sep 23 22:52:01 2014 +0000
+++ b/devel/mantis/PLIST        Wed Sep 24 01:06:26 2014 +0000
@@ -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/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_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_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/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/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/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_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_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_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/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-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-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_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_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_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_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_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_swissgerman.txt



Home | Main Index | Thread Index | Old Index