update to openfact 5.6.1

This commit is contained in:
kn
2026-05-12 20:50:46 +00:00
parent 4ef0f78adf
commit 8d9ddb384c
3 changed files with 3 additions and 19 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
# https://github.com/OpenVoxProject/openfact/issues/47
COMMENT = system inventory tool
DISTNAME = openfact-5.6.0
REVISION = 0
DISTNAME = openfact-5.6.1
CATEGORIES = sysutils
HOMEPAGE = https://github.com/OpenVoxProject/openfact/
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (openfact-5.6.0.gem) = kbuNI+jB0TKHmqAJ0rsEaGt459IdKaLWdWJ8zP8SPB0=
SIZE (openfact-5.6.0.gem) = 174080
SHA256 (openfact-5.6.1.gem) = TMeeqJMhobT0SnWobN3klrXxQBclUjOQEZR9Zh8tq6k=
SIZE (openfact-5.6.1.gem) = 174080
@@ -1,15 +0,0 @@
post-5.6.0 merged "interfaces: parse flags radix correctly"
https://github.com/OpenVoxProject/openfact/pull/110
Index: lib/facter/resolvers/networking.rb
--- lib/facter/resolvers/networking.rb.orig
+++ lib/facter/resolvers/networking.rb
@@ -64,7 +64,7 @@ module Facter
end
def extract_flags(raw_data, parsed_interface_data)
- flags = raw_data.match(/flags=\d+<(.+)>/)&.captures&.first
+ flags = raw_data.match(/flags=\h+<(.+)>/)&.captures&.first
parsed_interface_data[:flags] = flags.split(',') unless flags.nil?
end