mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to openfact 5.6.1
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user