Upgrade to Rainbows 5.2.1

Tweak unicorn dependency to work with unicorn 6.
This commit is contained in:
jeremy 2021-03-20 19:51:41 +00:00
parent 7800bcdac9
commit 9282d0d57a
4 changed files with 19 additions and 21 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.19 2019/07/12 21:02:29 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2021/03/20 19:51:41 jeremy Exp $
COMMENT = ruby-unicorn for sleepy apps and slow clients
DISTNAME = rainbows-5.1.1
DISTNAME = rainbows-5.2.1
CATEGORIES = www
HOMEPAGE = https://bogomips.org/rainbows/
@ -16,7 +16,7 @@ MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-kgio,${MODRUBY_FLAVOR}>=2.5,<3.0 \
www/ruby-unicorn,${MODRUBY_FLAVOR}>=5.1,<6.0 \
www/ruby-unicorn,${MODRUBY_FLAVOR}>=5.1 \
www/ruby-rack,${MODRUBY_FLAVOR}>=1.1.0,<3.0
CONFIGURE_STYLE = ruby gem

View File

@ -1,2 +1,2 @@
SHA256 (rainbows-5.1.1.gem) = MZpsae3qvwzaDcc+r1UcZuNZJ7vE9VuD072oG93xfgM=
SIZE (rainbows-5.1.1.gem) = 158720
SHA256 (rainbows-5.2.1.gem) = irKjwYH/JFApCTufNaubGfrw2viTu77naBxu4jlLQPk=
SIZE (rainbows-5.2.1.gem) = 156160

View File

@ -1,15 +1,16 @@
$OpenBSD: patch-_metadata,v 1.1 2017/03/28 23:38:05 jeremy Exp $
$OpenBSD: patch-_metadata,v 1.2 2021/03/20 19:51:41 jeremy Exp $
Allow prerelease unicorn gem.
Work with unicorn 6.
--- .metadata.orig Tue Mar 28 16:34:55 2017
+++ .metadata Tue Mar 28 16:35:13 2017
@@ -46,7 +46,7 @@ dependencies:
- !ruby/object:Gem::Version
version: '5.0'
type: :runtime
- prerelease: false
+ prerelease: true
version_requirements: !ruby/object:Gem::Requirement
Index: .metadata
--- .metadata.orig
+++ .metadata
@@ -48,7 +48,7 @@ dependencies:
name: unicorn
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- - - "~>"
+ - - ">"
- !ruby/object:Gem::Version
version: '5.1'
type: :runtime

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2017/11/14 17:03:55 jeremy Exp $
@comment $OpenBSD: PLIST,v 1.8 2021/03/20 19:51:41 jeremy Exp $
${GEM_BIN}/rainbows${GEM_BIN_SUFFIX}
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
@ -11,9 +11,7 @@ ${GEM_LIB}/gems/${DISTNAME}/COPYING
${GEM_LIB}/gems/${DISTNAME}/DEPLOY
${GEM_LIB}/gems/${DISTNAME}/Documentation/
${GEM_LIB}/gems/${DISTNAME}/Documentation/.gitignore
${GEM_LIB}/gems/${DISTNAME}/Documentation/GNUmakefile
${GEM_LIB}/gems/${DISTNAME}/Documentation/comparison.haml
${GEM_LIB}/gems/${DISTNAME}/Documentation/rainbows.1.txt
${GEM_LIB}/gems/${DISTNAME}/FAQ
${GEM_LIB}/gems/${DISTNAME}/GIT-VERSION-FILE
${GEM_LIB}/gems/${DISTNAME}/GIT-VERSION-GEN
@ -32,7 +30,6 @@ ${GEM_LIB}/gems/${DISTNAME}/TUNING
${GEM_LIB}/gems/${DISTNAME}/Test_Suite
${GEM_LIB}/gems/${DISTNAME}/archive/
${GEM_LIB}/gems/${DISTNAME}/archive/.gitignore
${GEM_LIB}/gems/${DISTNAME}/archive/rfmig.rb
${GEM_LIB}/gems/${DISTNAME}/archive/slrnpull.conf
${GEM_LIB}/gems/${DISTNAME}/bin/
${GEM_LIB}/gems/${DISTNAME}/bin/rainbows