Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2016 15:56:32 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409250 - in head/www/redmine: . files
Message-ID:  <201602201556.u1KFuWvf067409@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sat Feb 20 15:56:32 2016
New Revision: 409250
URL: https://svnweb.freebsd.org/changeset/ports/409250

Log:
  - Fix postgres support for redmine2
  
  PR:		207007
  Submitted by:	Johannes Jost Meixner <johannes@meixner.dk>

Modified:
  head/www/redmine/Makefile
  head/www/redmine/files/patch-Gemfile

Modified: head/www/redmine/Makefile
==============================================================================
--- head/www/redmine/Makefile	Sat Feb 20 15:53:39 2016	(r409249)
+++ head/www/redmine/Makefile	Sat Feb 20 15:56:32 2016	(r409250)
@@ -3,7 +3,7 @@
 
 PORTNAME=	redmine
 PORTVERSION=	2.6.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://www.redmine.org/releases/
 

Modified: head/www/redmine/files/patch-Gemfile
==============================================================================
--- head/www/redmine/files/patch-Gemfile	Sat Feb 20 15:53:39 2016	(r409249)
+++ head/www/redmine/files/patch-Gemfile	Sat Feb 20 15:56:32 2016	(r409250)
@@ -1,4 +1,4 @@
---- Gemfile.orig	2015-12-09 23:40:39 UTC
+--- Gemfile.orig	2015-12-05 08:47:22 UTC
 +++ Gemfile
 @@ -1,37 +1,29 @@
  source 'https://rubygems.org'
@@ -44,6 +44,15 @@
    # Optional Markdown support, not for JRuby
    group :markdown do
      gem "redcarpet", (RUBY_VERSION < "1.9" ? "~> 2.3.0" : "~> 3.3.2")
+@@ -62,7 +54,7 @@ if File.exist?(database_file)
+         gem "mysql", "~> 2.8.1", :platforms => [:mri, :mingw]
+         gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
+       when /postgresql/
+-        gem "pg", "~> 0.17.1", :platforms => [:mri, :mingw]
++        gem "pg", "~> 0.18.4", :platforms => [:mri, :mingw]
+         gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
+       when /sqlite3/
+         gem "sqlite3", :platforms => [:mri, :mingw]
 @@ -82,23 +74,6 @@ else
    warn("Please configure your config/database.yml first")
  end



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602201556.u1KFuWvf067409>