FreeBSD Bugzilla – Attachment 232847 Details for
Bug 262351
sysutils/rubygem-hiera-eyaml: broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update the sysutils/rubygem-hiera-eyaml with a patch
fix-rubygem-hiera-eyaml.diff (text/plain), 1.34 KB, created by
ruben
on 2022-03-31 16:34:03 UTC
(
hide
)
Description:
Update the sysutils/rubygem-hiera-eyaml with a patch
Filename:
MIME Type:
Creator:
ruben
Created:
2022-03-31 16:34:03 UTC
Size:
1.34 KB
patch
obsolete
>From 44add6922881dd665d764a91ab1f511a1c3dcb74 Mon Sep 17 00:00:00 2001 >From: Ruben van Staveren <ruben@verweg.com> >Date: Wed, 30 Mar 2022 21:38:48 +0200 >Subject: [PATCH] Add fix to let eyaml work with newer rubygem > > >diff --git a/sysutils/rubygem-hiera-eyaml/Makefile b/sysutils/rubygem-hiera-eyaml/Makefile >index 477a5ade05cb..bdac634e3d59 100644 >--- a/sysutils/rubygem-hiera-eyaml/Makefile >+++ b/sysutils/rubygem-hiera-eyaml/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= hiera-eyaml > PORTVERSION= 3.2.2 >+PORTREVISION= 1 > CATEGORIES= sysutils rubygems > MASTER_SITES= RG > >diff --git a/sysutils/rubygem-hiera-eyaml/files/patch-lib-hiera-backend-eyaml-plugins.rb b/sysutils/rubygem-hiera-eyaml/files/patch-lib-hiera-backend-eyaml-plugins.rb >new file mode 100644 >index 000000000000..5f01f87d34f4 >--- /dev/null >+++ b/sysutils/rubygem-hiera-eyaml/files/patch-lib-hiera-backend-eyaml-plugins.rb >@@ -0,0 +1,10 @@ >+--- lib/hiera/backend/eyaml/plugins.rb.orig 2022-03-30 19:38:02 UTC >++++ lib/hiera/backend/eyaml/plugins.rb >+@@ -33,6 +33,7 @@ class Hiera >+ >+ specs.each do |spec| >+ next if @@plugins.include? spec >++ spec = Gem::VERSION >= "3.3.7" ? spec.to_spec() : spec >+ >+ dependency = spec.dependencies.find { |d| d.name == "hiera-eyaml" } >+ next if dependency && !dependency.requirement.satisfied_by?( this_version )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262351
:
232847
|
233360
|
233362
|
234012