diff options
author | tz <tz@FreeBSD.org> | 2016-08-10 22:19:04 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2016-08-10 22:19:04 +0800 |
commit | 349b5dd238ec212f9940955d9c2bf91afe954687 (patch) | |
tree | 0aa2203d64998d552c3b79129672f5491ce1f098 /security/dradis | |
parent | d207dedb61e50ad3b6e83a4b338f042a58856d97 (diff) | |
download | freebsd-ports-gnome-349b5dd238ec212f9940955d9c2bf91afe954687.tar.gz freebsd-ports-gnome-349b5dd238ec212f9940955d9c2bf91afe954687.tar.zst freebsd-ports-gnome-349b5dd238ec212f9940955d9c2bf91afe954687.zip |
security/dradis: fix Gemfile patch
The port was broken because it needs Rails 3.0.4. It now accepts the
current version 3.2.22.2 and the new rubygem RedCloth version
Approved by: swills (mentor)
Diffstat (limited to 'security/dradis')
-rw-r--r-- | security/dradis/Makefile | 2 | ||||
-rw-r--r-- | security/dradis/files/patch-server__Gemfile | 15 |
2 files changed, 11 insertions, 6 deletions
diff --git a/security/dradis/Makefile b/security/dradis/Makefile index 3d43b3904376..2bdd0898d8ba 100644 --- a/security/dradis/Makefile +++ b/security/dradis/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dradis -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v DISTVERSION= 2.6.1 CATEGORIES= security diff --git a/security/dradis/files/patch-server__Gemfile b/security/dradis/files/patch-server__Gemfile index d9586a23de6d..e045f695189b 100644 --- a/security/dradis/files/patch-server__Gemfile +++ b/security/dradis/files/patch-server__Gemfile @@ -1,8 +1,13 @@ ---- ./server/Gemfile.orig 2010-11-30 17:45:17.000000000 +0100 -+++ ./server/Gemfile 2011-01-09 22:37:36.000000000 +0100 -@@ -11,11 +11,11 @@ - # - gem 'RedCloth', :require => 'redcloth' +--- server/Gemfile.orig 2011-02-11 09:59:58 UTC ++++ server/Gemfile +@@ -1,14 +1,14 @@ + source 'http://rubygems.org' + +-gem 'rails', '3.0.4' ++gem 'rails', '>= 3.0.4' + +-gem 'RedCloth', '4.2.5', :require => 'redcloth' ++gem 'RedCloth', '>= 4.2.5', :require => 'redcloth' -if !( (RUBY_PLATFORM =~ /mswin/i) || (RUBY_PLATFORM =~ /mingw/i) ) - gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' |