02d11f0ff6
4.2.5 (2022-03-28) [Attachments] * Defect #36013: Paste image mixed with other DataTransferItem [Database] * Defect #36766: Database migration from Redmine 0.8.7 or earlier fails [Documents] * Defect #36686: Allow pasting screenshots from clipboard in documents [Gems support] * Patch #36795: Set the minimum required version of ROTP gem to 5.0.0 [Issues filter] * Defect #30924: Filter on Target version's Status in subproject doesn't work on version from top project [Projects] * Defect #36593: User without permissions to view required project custom fields cannot create new projects [Rails support] * Patch #36757: Update Rails to 5.2.6.3 4.2.4 (2022-02-20) [Gantt] * Defect #35027: Gantt PNG export ignores imagemagick_convert_command [Gems support] * Defect #35435: Psych 4: aliases in database.yml cause Psych::BadAlias exception * Defect #36226: Psych 4: Psych::DisallowedClass exception when unserializing a setting value [Importers] * Defect #35656: When importing issue relations, the validation messages are not shown in the UI [Issues] * Defect #36455: Text custom field values are not aligned with their labels when text formatting is enabled [Rails support] * Patch #36633: Update Rails to 5.2.6.2 [Time tracking] * Defect #20018: Duplicate activities in time entry report when project-specific activies exist * Defect #36248: Time entries of sub-projects are not listed when activity is specified in filters [Translations] * Defect #36517: Label error_can_not_execute_macro_html in Russian translation is broken [UI] * Defect #36446: Watchers autocomplete fails with 403 error when the search is made from multiple objects with different projects * Patch #35215: Don't display "No Match Found!" when the inline autocomplete doesn't return any result * Defect #35090: Permission check of the setting button on the issues page mismatches button semantics * Defect #36363: Cannot select text in a table with a context menu available * Patch #36378: Update copyright year in the footer to 2022 [Wiki] * Defect #36494: WikiContentVersion API returns 500 if author is nil * Defect #36561: Wiki revision page does not return 404 if revision does not exist
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2022/04/03 05:36:02 taca Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.redmine42
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql sqlite3
|
|
PKG_SUPPORTED_OPTIONS+= ruby-unicorn
|
|
PKG_SUGGESTED_OPTIONS= mysql ruby-unicorn
|
|
|
|
PLIST_VARS+= unicorn
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use mysql, pgsql, or sqlite3 backend
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-mysql2>=0.5.0<0.6:../../databases/ruby-mysql2
|
|
.elif !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-pg>=1.2.2<2.0:../../databases/ruby-pg
|
|
.elif !empty(PKG_OPTIONS:Msqlite3)
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-sqlite3>=1.4.0<1.5:../../databases/ruby-sqlite3
|
|
.endif
|
|
|
|
###
|
|
### Use Unicorn web server
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mruby-unicorn) || make (distinfo) || make (mdi)
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-unicorn-[0-9]*:../../www/ruby-unicorn
|
|
|
|
PLIST.unicorn= yes
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_STAGE.prefix= pre-install
|
|
SUBST_MESSAGE.prefix= Setting PREFIX, RUBY_SUFFIX and RM_DIR.
|
|
SUBST_FILES.prefix= ${WRKDIR}/unicorn.rb
|
|
SUBST_VARS.prefix+= PREFIX RUBY_SUFFIX RM_DIR
|
|
|
|
RCD_SCRIPTS+= redmine42_unicorn${RUBY_SUFFIX}
|
|
RCD_SCRIPT_SRC.redmine42_unicorn${RUBY_SUFFIX}= ${FILESDIR}/redmine42_unicorn.sh
|
|
|
|
CONF_FILES+= ${EGDIR}/unicorn.rb.example \
|
|
${PREFIX}/${RM_DIR}/config/unicorn.rb
|
|
|
|
PLIST_SRC= ${PLIST_SRC_DFLT} ${RM_PLIST_SRC}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/unicorn.rb ${WRKDIR}/unicorn.rb
|
|
|
|
.PHONY: unicorn-post-install
|
|
unicorn-post-install:
|
|
${CP} ${WRKDIR}/unicorn.rb \
|
|
${DESTDIR}${EGDIR}/unicorn.rb.example
|
|
${CP} ${FILESDIR}/Gemfile.local \
|
|
${DESTDIR}${PREFIX}/${RM_DIR}
|
|
.endif
|
|
.PHONY: unicorn-post-install
|
|
unicorn-post-install:
|
|
# nothing
|