Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 11:02:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485755 - in head/devel/rubygem-warden: . files
Message-ID:  <201811241102.wAOB2sim004144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 24 11:02:54 2018
New Revision: 485755
URL: https://svnweb.freebsd.org/changeset/ports/485755

Log:
  Add a workaround for gitlab-ce
  
  - Bump PORTREVISION for package change
  
  Tested by:	mfechner
  Reference:	https://lists.freebsd.org/pipermail/svn-ports-head/2018-November/193262.html

Added:
  head/devel/rubygem-warden/files/
  head/devel/rubygem-warden/files/patch-gemspec   (contents, props changed)
Modified:
  head/devel/rubygem-warden/Makefile

Modified: head/devel/rubygem-warden/Makefile
==============================================================================
--- head/devel/rubygem-warden/Makefile	Sat Nov 24 10:50:21 2018	(r485754)
+++ head/devel/rubygem-warden/Makefile	Sat Nov 24 11:02:54 2018	(r485755)
@@ -3,6 +3,7 @@
 
 PORTNAME=	warden
 PORTVERSION=	1.2.8
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,9 @@ COMMENT=	Rack middleware that provides authentication 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-rack>=2.0.6:www/rubygem-rack
+# Change from rubygem-rack>=2.0.6 to rubygem-rack>=1.6 as a workround for www/gitlab-ce
+# Ref: https://lists.freebsd.org/pipermail/svn-ports-head/2018-November/193262.html
+RUN_DEPENDS=	rubygem-rack>=1.6:www/rubygem-rack
 
 USES=		gem
 USE_RUBY=	yes

Added: head/devel/rubygem-warden/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-warden/files/patch-gemspec	Sat Nov 24 11:02:54 2018	(r485755)
@@ -0,0 +1,11 @@
+--- warden.gemspec.orig	2018-11-22 20:12:33 UTC
++++ warden.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+     s.specification_version = 4
+ 
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+-      s.add_runtime_dependency(%q<rack>.freeze, [">= 2.0.6"])
++      s.add_runtime_dependency(%q<rack>.freeze, [">= 1.6"])
+     else
+       s.add_dependency(%q<rack>.freeze, [">= 2.0.6"])
+     end



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