aboutsummaryrefslogtreecommitdiff
path: root/www/redmine
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2016-10-14 11:23:44 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2016-10-14 11:23:44 +0000
commit9f723446fa240e1d68d8adf978764008b1c4109e (patch)
tree2c203531a14d1ec7d1fa265210d39a03519693e8 /www/redmine
parent6d8621a62a8aae7d70d97c4416f089b99b0786c9 (diff)
downloadports-9f723446fa240e1d68d8adf978764008b1c4109e.tar.gz
ports-9f723446fa240e1d68d8adf978764008b1c4109e.zip
Notes
Diffstat (limited to 'www/redmine')
-rw-r--r--www/redmine/Makefile2
-rw-r--r--www/redmine/files/patch-Gemfile9
-rw-r--r--www/redmine/files/pg.rb2
3 files changed, 11 insertions, 2 deletions
diff --git a/www/redmine/Makefile b/www/redmine/Makefile
index 8260f53f6c49..3497520aa490 100644
--- a/www/redmine/Makefile
+++ b/www/redmine/Makefile
@@ -3,7 +3,7 @@
PORTNAME= redmine
PORTVERSION= 3.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.redmine.org/releases/
diff --git a/www/redmine/files/patch-Gemfile b/www/redmine/files/patch-Gemfile
index c6e8345b64ac..e104b617c4ed 100644
--- a/www/redmine/files/patch-Gemfile
+++ b/www/redmine/files/patch-Gemfile
@@ -55,6 +55,15 @@
platforms :jruby do
# jruby-openssl is bundled with JRuby 1.7.0
gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
+@@ -72,7 +55,7 @@ if File.exist?(database_file)
+ when 'mysql'
+ gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
+ when /postgresql/
+- gem "pg", "~> 0.18.1", :platforms => [:mri, :mingw, :x64_mingw]
++ gem "pg", ">= 0.18.1", :platforms => [:mri, :mingw, :x64_mingw]
+ gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
+ when /sqlite3/
+ gem "sqlite3", :platforms => [:mri, :mingw, :x64_mingw]
@@ -92,21 +75,6 @@ else
warn("Please configure your config/database.yml first")
end
diff --git a/www/redmine/files/pg.rb b/www/redmine/files/pg.rb
index ccd06db0c56e..01a14e80f2e8 100644
--- a/www/redmine/files/pg.rb
+++ b/www/redmine/files/pg.rb
@@ -1 +1 @@
-gem "pg", "~> 0.18.1"
+gem "pg", ">= 0.18.1"