7c8cd68aa2
Changelog: 3.1.2 (2015-11-14) Defect #20992: Parent priority "Independent of subtasks" setting doesn't work Defect #20360: Project copy does not copy custom field settings Defect #20380: Cannot assign users to projects with IE set to compatibility mode Defect #20591: PDF export does not determine picture (.png) height correctly Defect #20677: Custom fields with multiple values required by worklow can be blank Defect #20811: long pre lines are missing from PDF export of wiki pages Defect #21136: Issues API may disclose changeset messages that are not visible Defect #21150: Time logging form may disclose subjects of issues that are not visible Defect #21155: Deleting invalid wiki page version deletes whole page content Defect #20282: Error message when editing a child project without add project/subprojects permissions Defect #20730: Fix tokenization of phrases with non-ascii chars Defect #21071: find_referenced_issue_by_id fails with RangeError for large numbers Patch #21031: Polish translation update for 3.0-stable Patch #21105: Japanese wiki_syntax_detailed_textile.html translation for 3.0-stable Patch #20785: Polish translation update for 3.1-stable Patch #20837: Bulgarian translation Patch #20892: Spanish translation for r14637 Patch #20906: Fix mulitple tab navigation highlighting and content hiding Patch #21019: Traditional Chinese translation (to r14689) Patch #21076: Move inline CSS to application.css for private checkbox Patch #21085: Optimize issue edit description link
78 lines
2.2 KiB
Makefile
78 lines
2.2 KiB
Makefile
# $NetBSD: options.mk,v 1.4 2015/11/21 09:32:07 ryoon Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.redmine
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql sqlite3
|
|
PKG_SUPPORTED_OPTIONS+= unicorn
|
|
|
|
PKG_SUGGESTED_OPTIONS= mysql unicorn
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= mysql pgsql sqlite3
|
|
|
|
###
|
|
### Use mysql, pgsql, or sqlite3 backend
|
|
###
|
|
MYSQL_DISTFILE= mysql2-0.3.20.gem
|
|
PGSQL_DISTFILE= pg-0.18.4.gem
|
|
SQLITE3_DISTFILE= sqlite3-1.3.11.gem
|
|
|
|
.if make (distinfo) || make (mdi) # for checksum generation only
|
|
GEMS_DISTFILES+= ${MYSQL_DISTFILE}
|
|
GEMS_DISTFILES+= ${PGSQL_DISTFILE}
|
|
GEMS_DISTFILES+= ${SQLITE3_DISTFILE}
|
|
.elif !empty(PKG_OPTIONS:Mmysql)
|
|
GEMS_DISTFILES+= ${MYSQL_DISTFILE}
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
RM_PLIST_SRC+= PLIST.mysql
|
|
.elif !empty(PKG_OPTIONS:Mpgsql)
|
|
GEMS_DISTFILES+= ${PGSQL_DISTFILE}
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
CHECK_INTERPRETER_SKIP+= ${RM_DIR}/gems/gems/pg-*/spec/*
|
|
CHECK_INTERPRETER_SKIP+= ${RM_DIR}/gems/gems/pg-*/spec/pg/*
|
|
RM_PLIST_SRC+= PLIST.pgsql
|
|
.elif !empty(PKG_OPTIONS:Msqlite3)
|
|
GEMS_DISTFILES+= ${SQLITE3_DISTFILE}
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
RM_PLIST_SRC+= PLIST.sqlite3
|
|
.endif
|
|
|
|
###
|
|
### Use Unicorn web server
|
|
###
|
|
.if !empty(PKG_OPTIONS:Municorn) || make (distinfo) || make (mdi)
|
|
RM_PLIST_SRC+= PLIST.unicorn
|
|
GEMS_DISTFILES+= kgio-2.10.0.gem \
|
|
raindrops-0.15.0.gem \
|
|
unicorn-5.0.1.gem
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_STAGE.prefix= pre-configure
|
|
SUBST_MESSAGE.prefix= Setting PREFIX and RUBY_PKGPREFIX.
|
|
SUBST_FILES.prefix= ${WRKDIR}/unicorn.rb
|
|
SUBST_SED.prefix+= -e "s|@RUBY_PKGPREFIX@|${RUBY_PKGPREFIX}|g"
|
|
SUBST_VARS.prefix+= PREFIX
|
|
|
|
RCD_SCRIPTS+= redmine_unicorn${RUBY_SUFFIX}
|
|
RCD_SCRIPT_SRC.redmine_unicorn${RUBY_SUFFIX}= ${FILESDIR}/redmine_unicorn.sh
|
|
|
|
CONF_FILES+= ${EGDIR}/unicorn.rb.example \
|
|
${PREFIX}/${RM_DIR}/app/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}/app
|
|
.endif
|
|
.PHONY: unicorn-post-install
|
|
unicorn-post-install:
|
|
# nothing
|