1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Upgrade to 2.5.1

give up MAINTAINER

PR:	220689
This commit is contained in:
Dan Langille 2017-08-22 14:55:12 +00:00
parent 82386c175c
commit bda6a572c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448537
5 changed files with 1249 additions and 371 deletions

View File

@ -1,34 +1,197 @@
# Created by: Sebastien Gioria <gioria@FreeBSD.org>
# Created by: Rozhuk Ivan <rozhuk.im@gmail.com>
# $FreeBSD$
PORTNAME= mantis
PORTVERSION= 1.2.19
PORTREVISION= 1
PORTVERSION= 2.5.1
CATEGORIES= databases www
MASTER_SITES= SF/${PORTNAME}bt/${PORTNAME}-stable/${PORTVERSION}
DISTNAME= mantisbt-${PORTVERSION}
MAINTAINER= dvl@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= Bug tracking system written in PHP
NO_BUILD= yes
USE_PHP= hash pcre session xml
USE_GITHUB= yes
GH_ACCOUNT= mantisbt:DEFAULT \
mantisbt:api_swaggerui \
mantisbt:lib_adodb \
mantisbt:lib_disposable \
mantisbt:lib_parsedown \
mantisbt:lib_phpmailer \
mantisbt:lib_securimage
GH_PROJECT= mantisbt:DEFAULT \
swagger-ui:api_swaggerui \
ADOdb:lib_adodb \
disposable_email_checker:lib_disposable \
parsedown:lib_parsedown \
PHPMailer:lib_phpmailer \
securimage:lib_securimage
GH_TAGNAME= 063cce6182568cf2eba81e3ca59cdd67606e7bab:DEFAULT \
0beaf61f94c3e6359ee0cdaf7b23ad4b365d761f:api_swaggerui \
cc2c13e337f1441e3aa1e17497722c1cd98b281b:lib_adodb \
6a7ddc0598810bdb91d270b489cec2e1033e047f:lib_disposable \
20ff8bbb57205368b4b42d094642a3e52dac85fb:lib_parsedown \
e066a6277ad41fcfdb8d3b8536aaa55ec9b6399b:lib_phpmailer \
65d446e137db4fe84e7f7edb9e7b06fce521a63b:lib_securimage
GH_SUBDIR= library/adodb:lib_adodb \
library/disposable:lib_disposable \
library/parsedown:lib_parsedown \
library/phpmailer:lib_phpmailer \
library/securimage:lib_securimage
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL
OPTIONS_GROUP= PLUGINS
OPTIONS_GROUP_PLUGINS= ACTIVITY ANNOUNCE COLORIZED CUSTOMREPORTER \
EMAILREP EVENTLOG FLTBUGLST JQUERYCHOSEN \
JQUERYUI LIGHTBOX PIWIK SAMPLEAUTH SLACK \
SNIPPETS SI TASKODROME TIMETRACKING
OPTIONS_DEFAULT= MYSQL
OPTIONS_SUB= yes
ACTIVITY_DESC= Shows bug notes by creation date
ACTIVITY_GH_ACCOUNT= mantisbt-plugins:activity
ACTIVITY_GH_PROJECT= Activity:activity
ACTIVITY_GH_TAGNAME= 99cf873396ebc3fec431c6746dae1a604768f322:activity
ACTIVITY_GH_SUBDIR= plugins/Activity:activity
ANNOUNCE_DESC= Announcements
ANNOUNCE_GH_ACCOUNT= mantisbt-plugins:announce
ANNOUNCE_GH_PROJECT= Announce:announce
ANNOUNCE_GH_TAGNAME= b9459924d88b8a9503d6ee9c37045d857d7da57e:announce
ANNOUNCE_GH_SUBDIR= plugins/Announce:announce
COLORIZED_DESC= Colorized Theme
COLORIZED_GH_ACCOUNT= mantisbt-plugins:colorized
COLORIZED_GH_PROJECT= MantisBT-Colorized:colorized
COLORIZED_GH_TAGNAME= f43dc4cc36e8851f8df1797116f904ccf5f1689d:colorized
COLORIZED_GH_SUBDIR= css/themes/colorized:colorized
CUSTOMREPORTER_DESC= Allows the selection of a Reporter from a list
CUSTOMREPORTER_GH_ACCOUNT= mantisbt-plugins:customreporter
CUSTOMREPORTER_GH_PROJECT= CustomReporter:customreporter
CUSTOMREPORTER_GH_TAGNAME= e9658eac2aa6c7e37609578e1d8bd676d22a3770:customreporter
CUSTOMREPORTER_GH_SUBDIR= plugins/CustomReporter:customreporter
EMAILREP_DESC= Allows to report an issue by sending an email
EMAILREP_GH_ACCOUNT= mantisbt-plugins:emailrep
EMAILREP_GH_PROJECT= EmailReporting:emailrep
EMAILREP_GH_TAGNAME= bcee020b3ce4bf91678a3f48d213660cf9902968:emailrep
EMAILREP_GH_SUBDIR= plugins/EmailReporting:emailrep
EVENTLOG_DESC= Allows MantisBT components to log data
EVENTLOG_GH_ACCOUNT= mantisbt-plugins:eventlog
EVENTLOG_GH_PROJECT= EventLog:eventlog
EVENTLOG_GH_TAGNAME= 74fd03cf85a32088a0206bc73bb14ddbd148aed2:eventlog
EVENTLOG_GH_SUBDIR= plugins/EventLog:eventlog
FLTBUGLST_DESC= Allowing to filter by a set of bug IDs
FLTBUGLST_GH_ACCOUNT= mantisbt-plugins:fltbuglst
FLTBUGLST_GH_PROJECT= FilterBugList:fltbuglst
FLTBUGLST_GH_TAGNAME= 4de5242dcf3ced656cffbf14776ce41089c07e49:fltbuglst
FLTBUGLST_GH_SUBDIR= plugins/FilterBugList:fltbuglst
JQUERYCHOSEN_DESC= Support the Library Chosen to MantisBT
JQUERYCHOSEN_GH_ACCOUNT= mantisbt-plugins:jquerychosen
JQUERYCHOSEN_GH_PROJECT= JqueryChosen:jquerychosen
JQUERYCHOSEN_GH_TAGNAME= dc305e987ea3693bb92d22545ba23f3fc44d04c3:jquerychosen
JQUERYUI_DESC= jQuery UI library + Combobox
JQUERYUI_GH_ACCOUNT= mantisbt-plugins:jqueryui
JQUERYUI_GH_PROJECT= jQuery-UI:jqueryui
JQUERYUI_GH_TAGNAME= ca77afa51166658b469dd11bfff7713485935bda:jqueryui
LIGHTBOX_DESC= Plugin to open attachments using Lightbox
LIGHTBOX_GH_ACCOUNT= mantisbt-plugins:lightbox
LIGHTBOX_GH_PROJECT= Lightbox:lightbox
LIGHTBOX_GH_TAGNAME= f8220ba689378054ca433f718d909dc41a803def:lightbox
LIGHTBOX_GH_SUBDIR= plugins/Lightbox:lightbox
PIWIK_DESC= Paste print screens directly
PIWIK_GH_ACCOUNT= mantisbt-plugins:piwik
PIWIK_GH_PROJECT= piwik:piwik
PIWIK_GH_TAGNAME= a2dba46836bdc07a80b8040e889ba0606f97415e:piwik
SAMPLEAUTH_DESC= A sample authentication plugin
SAMPLEAUTH_GH_ACCOUNT= mantisbt-plugins:sampleauth
SAMPLEAUTH_GH_PROJECT= SampleAuth:sampleauth
SAMPLEAUTH_GH_TAGNAME= 34856715f49a5c273f33e094c759c0e0b52b3912:sampleauth
SAMPLEAUTH_GH_SUBDIR= plugins/SampleAuth:sampleauth
SLACK_DESC= Slack integration
SLACK_GH_ACCOUNT= mantisbt-plugins:slack
SLACK_GH_PROJECT= Slack:slack
SLACK_GH_TAGNAME= b054ea2446f7ac8cf9487cf72a9d9b7bca46f350:slack
SLACK_GH_SUBDIR= plugins/Slack:slack
SNIPPETS_DESC= Slack integration
SNIPPETS_GH_ACCOUNT= mantisbt-plugins:snippets
SNIPPETS_GH_PROJECT= snippets:snippets
SNIPPETS_GH_TAGNAME= ae08cb9845ad8a206dff7b4cad8c3dd7ffe611a5:snippets
SNIPPETS_GH_SUBDIR= plugins/Snippets:snippets
SI_DESC= Source control integration
SI_GH_ACCOUNT= mantisbt-plugins:si
SI_GH_PROJECT= source-integration:si
SI_GH_TAGNAME= 5aec11023a9c242a67f2255e24b4377d28c6a4f4:si
SI_USE= php=curl
TASKODROME_DESC= Interactive scrum board
TASKODROME_GH_ACCOUNT= mantisbt-plugins:taskodrome
TASKODROME_GH_PROJECT= Taskodrome:taskodrome
TASKODROME_GH_TAGNAME= c9bc06c0d7fcf8683f2534263a117970ee4e418d:taskodrome
TIMETRACKING_DESC= Time Tracking
TIMETRACKING_GH_ACCOUNT=mantisbt-plugins:timetracking
TIMETRACKING_GH_PROJECT=timetracking:timetracking
TIMETRACKING_GH_TAGNAME=990ce27aba9a6f79fdfbe10f71c7b60c7b8cbe26:timetracking
MYSQL_DESC= MySQL support
MYSQL_USE= php=mysqli
PGSQL_DESC= PostgreSQL support
OPTIONS_DEFAULT= MYSQL
MYSQL_USE= mysql=yes php=mysql
PGSQL_USE= pgsql=yes php=pgsql
PGSQL_USE= php=pgsql
SUB_FILES= pkg-message
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
post-extract:
@${MV} ${WRKSRC_api_swaggerui}/dist/* ${WRKSRC}/api/rest/swagger/
@${MV} ${WRKSRC}/api/rest/swagger/index.html ${WRKSRC}/api/rest/swagger/index.php
post-extract-COLORIZED-on:
@${MV} ${WRKSRC_colorized}/colorized.css ${WRKSRC_colorized}/default.css
@${CP} ${WRKSRC_colorized}/assets/screenshot-1.png ${WRKSRC_colorized}/colorized.png
post-extract-JQUERYCHOSEN-on:
@${MV} ${WRKSRC_jquerychosen}/JqueryChosen ${WRKSRC}/plugins/
post-extract-JQUERYUI-on:
@${MV} ${WRKSRC_jqueryui}/jQueryUI ${WRKSRC}/plugins/
post-extract-PIWIK-on:
@${MV} ${WRKSRC_piwik}/Piwik ${WRKSRC}/plugins/
post-extract-SI-on:
@${MV} ${WRKSRC_si}/Source ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceBitBucket ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceCgit ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceGithub ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceGitlab ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceGitphp ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceGitweb ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceHgWeb ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceSFSVN ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceSVN ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceViewVC ${WRKSRC}/plugins/
@${MV} ${WRKSRC_si}/SourceWebSVN ${WRKSRC}/plugins/
post-extract-TASKODROME-on:
@${MV} ${WRKSRC_taskodrome}/Taskodrome ${WRKSRC}/plugins/
post-extract-TIMETRACKING-on:
@${MV} ${WRKSRC_timetracking}/TimeTracking ${WRKSRC}/plugins/
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}

View File

@ -1,2 +1,49 @@
SHA256 (mantisbt-1.2.19.tar.gz) = 0814d2113de4a53498bb67fa531ca36dee821e5c22df150deb75dc918eed86de
SIZE (mantisbt-1.2.19.tar.gz) = 2615171
TIMESTAMP = 1501075956
SHA256 (mantisbt-mantisbt-2.5.1-063cce6182568cf2eba81e3ca59cdd67606e7bab_GH0.tar.gz) = 22c221478380f3cafc9d5ccdaa3916b7826327750ebf75b746b324b77df40855
SIZE (mantisbt-mantisbt-2.5.1-063cce6182568cf2eba81e3ca59cdd67606e7bab_GH0.tar.gz) = 4523391
SHA256 (mantisbt-swagger-ui-0beaf61f94c3e6359ee0cdaf7b23ad4b365d761f_GH0.tar.gz) = 5c67f724da6d2daa8931920b82f92319098badc47b57848c385a942a1420bdf4
SIZE (mantisbt-swagger-ui-0beaf61f94c3e6359ee0cdaf7b23ad4b365d761f_GH0.tar.gz) = 1401641
SHA256 (mantisbt-ADOdb-cc2c13e337f1441e3aa1e17497722c1cd98b281b_GH0.tar.gz) = a9334857b2dfefb42273f5296ef89166e6d65fcca26857702bce579ba1add102
SIZE (mantisbt-ADOdb-cc2c13e337f1441e3aa1e17497722c1cd98b281b_GH0.tar.gz) = 342578
SHA256 (mantisbt-disposable_email_checker-6a7ddc0598810bdb91d270b489cec2e1033e047f_GH0.tar.gz) = a2df1d7eb889ee175abb9c9d7a698260416bdb9c8d768262f68ca2050563921f
SIZE (mantisbt-disposable_email_checker-6a7ddc0598810bdb91d270b489cec2e1033e047f_GH0.tar.gz) = 9205
SHA256 (mantisbt-parsedown-20ff8bbb57205368b4b42d094642a3e52dac85fb_GH0.tar.gz) = a5fa28b2c0a546e34679ea78a9dbd811820351bd9b64df97d0b1fd29eb94f26b
SIZE (mantisbt-parsedown-20ff8bbb57205368b4b42d094642a3e52dac85fb_GH0.tar.gz) = 17633
SHA256 (mantisbt-PHPMailer-e066a6277ad41fcfdb8d3b8536aaa55ec9b6399b_GH0.tar.gz) = 61ef72758060af029320478343f70250aea6cf3434e526283c0911ba907ba1ab
SIZE (mantisbt-PHPMailer-e066a6277ad41fcfdb8d3b8536aaa55ec9b6399b_GH0.tar.gz) = 92355
SHA256 (mantisbt-securimage-65d446e137db4fe84e7f7edb9e7b06fce521a63b_GH0.tar.gz) = 490a47dd550e20de5a8f1f4841e55803232ab5716e502cc1e292cdc7dc52af30
SIZE (mantisbt-securimage-65d446e137db4fe84e7f7edb9e7b06fce521a63b_GH0.tar.gz) = 7590715
SHA256 (mantisbt-plugins-Activity-99cf873396ebc3fec431c6746dae1a604768f322_GH0.tar.gz) = 7c9a2d08d98854c40e53ec5ae90aa84ea3849843e5dec8fceefd4cbfba6d4c88
SIZE (mantisbt-plugins-Activity-99cf873396ebc3fec431c6746dae1a604768f322_GH0.tar.gz) = 42861
SHA256 (mantisbt-plugins-Announce-b9459924d88b8a9503d6ee9c37045d857d7da57e_GH0.tar.gz) = 7427ae79986cc922b51263142b4f0a3427641492259ffe99d995ddf868ede7c4
SIZE (mantisbt-plugins-Announce-b9459924d88b8a9503d6ee9c37045d857d7da57e_GH0.tar.gz) = 146279
SHA256 (mantisbt-plugins-MantisBT-Colorized-f43dc4cc36e8851f8df1797116f904ccf5f1689d_GH0.tar.gz) = d4ca823fdcef233f041a2ab590d7b2c9e7e9209d2f92f07749967b564b128418
SIZE (mantisbt-plugins-MantisBT-Colorized-f43dc4cc36e8851f8df1797116f904ccf5f1689d_GH0.tar.gz) = 260775
SHA256 (mantisbt-plugins-CustomReporter-e9658eac2aa6c7e37609578e1d8bd676d22a3770_GH0.tar.gz) = 867156531e1ad67a467cfd7ef5456c2f18098dc8c9c711a636f3c7b612f64134
SIZE (mantisbt-plugins-CustomReporter-e9658eac2aa6c7e37609578e1d8bd676d22a3770_GH0.tar.gz) = 15727
SHA256 (mantisbt-plugins-EmailReporting-bcee020b3ce4bf91678a3f48d213660cf9902968_GH0.tar.gz) = 412446e1b8660045845d0dfb60167e15b97bc046ad81ff20e34e640dea34a664
SIZE (mantisbt-plugins-EmailReporting-bcee020b3ce4bf91678a3f48d213660cf9902968_GH0.tar.gz) = 170934
SHA256 (mantisbt-plugins-EventLog-74fd03cf85a32088a0206bc73bb14ddbd148aed2_GH0.tar.gz) = ee0d3fccfce3cc63b597d59e46067dd8f511014cee8b308763e5ed900753673d
SIZE (mantisbt-plugins-EventLog-74fd03cf85a32088a0206bc73bb14ddbd148aed2_GH0.tar.gz) = 264064
SHA256 (mantisbt-plugins-FilterBugList-4de5242dcf3ced656cffbf14776ce41089c07e49_GH0.tar.gz) = ef30ffa35e3e40e6a9da494e9ce6b556510212588b66e8712661d3f5da27e24c
SIZE (mantisbt-plugins-FilterBugList-4de5242dcf3ced656cffbf14776ce41089c07e49_GH0.tar.gz) = 3172
SHA256 (mantisbt-plugins-JqueryChosen-dc305e987ea3693bb92d22545ba23f3fc44d04c3_GH0.tar.gz) = 070cadc956689e6357af43a251e1d6fd703fa2612c8dee45c61e6e29e456d15e
SIZE (mantisbt-plugins-JqueryChosen-dc305e987ea3693bb92d22545ba23f3fc44d04c3_GH0.tar.gz) = 50254
SHA256 (mantisbt-plugins-jQuery-UI-ca77afa51166658b469dd11bfff7713485935bda_GH0.tar.gz) = 39281ee9847ae9100c7fcfe9453e3ce860983c2de2f4a549f10117ab3e0d2be5
SIZE (mantisbt-plugins-jQuery-UI-ca77afa51166658b469dd11bfff7713485935bda_GH0.tar.gz) = 127397
SHA256 (mantisbt-plugins-Lightbox-f8220ba689378054ca433f718d909dc41a803def_GH0.tar.gz) = 4ad7f432feffb9f793781b06465fe63e84997b5665a73e15d423b0b45bafa925
SIZE (mantisbt-plugins-Lightbox-f8220ba689378054ca433f718d909dc41a803def_GH0.tar.gz) = 29920
SHA256 (mantisbt-plugins-piwik-a2dba46836bdc07a80b8040e889ba0606f97415e_GH0.tar.gz) = b0ea772a6779bba9f94560d6eb3cb4169484446bf10fdcde4292706e6798b2f1
SIZE (mantisbt-plugins-piwik-a2dba46836bdc07a80b8040e889ba0606f97415e_GH0.tar.gz) = 2898
SHA256 (mantisbt-plugins-SampleAuth-34856715f49a5c273f33e094c759c0e0b52b3912_GH0.tar.gz) = 0b469ad79ffb792e4fc9cbcc5d48266c686be20de3f0cd6986bf43893deca1c3
SIZE (mantisbt-plugins-SampleAuth-34856715f49a5c273f33e094c759c0e0b52b3912_GH0.tar.gz) = 197029
SHA256 (mantisbt-plugins-Slack-b054ea2446f7ac8cf9487cf72a9d9b7bca46f350_GH0.tar.gz) = 14ebf649ef6d16edcc370c44fb601765acfd80fb26a745e04f3fe8411705f24d
SIZE (mantisbt-plugins-Slack-b054ea2446f7ac8cf9487cf72a9d9b7bca46f350_GH0.tar.gz) = 26874
SHA256 (mantisbt-plugins-snippets-ae08cb9845ad8a206dff7b4cad8c3dd7ffe611a5_GH0.tar.gz) = a1f01085cbb0bbc8c5359016b6ff3e6d7027ea5ea3f5548e49f58bca1e37751b
SIZE (mantisbt-plugins-snippets-ae08cb9845ad8a206dff7b4cad8c3dd7ffe611a5_GH0.tar.gz) = 13661
SHA256 (mantisbt-plugins-source-integration-5aec11023a9c242a67f2255e24b4377d28c6a4f4_GH0.tar.gz) = b8d5924cc91bde642bff76e51ef0802f4c944ebba0450926ef9c9f192f2ff584
SIZE (mantisbt-plugins-source-integration-5aec11023a9c242a67f2255e24b4377d28c6a4f4_GH0.tar.gz) = 102817
SHA256 (mantisbt-plugins-Taskodrome-c9bc06c0d7fcf8683f2534263a117970ee4e418d_GH0.tar.gz) = 105efa7fe51cd182dcaa9d59fe8e8cc9e56a212f3f5036382e5835b63cbbf61e
SIZE (mantisbt-plugins-Taskodrome-c9bc06c0d7fcf8683f2534263a117970ee4e418d_GH0.tar.gz) = 14524911
SHA256 (mantisbt-plugins-timetracking-990ce27aba9a6f79fdfbe10f71c7b60c7b8cbe26_GH0.tar.gz) = a33ff4326e33a72e3816fea02fc24ff187eb8ec544f04590b111f7a930a963b5
SIZE (mantisbt-plugins-timetracking-990ce27aba9a6f79fdfbe10f71c7b60c7b8cbe26_GH0.tar.gz) = 12864

View File

@ -0,0 +1,20 @@
--- api/rest/swagger/index.php 2017-06-18 00:46:15.000000000 +0300
+++ api/rest/swagger/index.php 2017-02-24 08:29:06.000000000 +0300
@@ -1,3 +1,8 @@
+<?php
+$g_bypass_headers = true;
+require_once( __DIR__ . '/../../../core.php' );
+$t_path = config_get( 'path' );
+?>
<!DOCTYPE html>
<html>
<head>
@@ -38,7 +43,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
- url = "http://petstore.swagger.io/v2/swagger.json";
+ url = '<?php echo $t_path . 'api/rest/swagger.json' ?>';
}
hljs.configure({

View File

@ -1,17 +0,0 @@
--- config_defaults_inc.php.orig 2015-11-02 10:57:53 UTC
+++ config_defaults_inc.php
@@ -2347,9 +2347,13 @@
/**
* Threshold needed to view project documentation
+ * Note: setting this to ANYBODY will let any user download attachments
+ * from private projects, regardless of their being a member of it.
+ * @see $g_enable_project_documentation
+ * @see $g_upload_project_file_threshold
* @global int $g_view_proj_doc_threshold
*/
- $g_view_proj_doc_threshold = ANYBODY;
+ $g_view_proj_doc_threshold = VIEWER;
/**
* Site manager

File diff suppressed because it is too large Load Diff