svn commit: r409250 - in head/www/redmine: . files

Martin Wilke miwi at FreeBSD.org
Sat Feb 20 15:56:33 UTC 2016


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 at 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


More information about the svn-ports-all mailing list