sysutils/facter: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-25 17:50:44 +01:00
parent 1b486dd9eb
commit 284408d4d2
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
6 changed files with 18 additions and 7 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= facter
PORTVERSION= 3.14.24
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES?= sysutils
MASTER_SITES= https://downloads.puppetlabs.com/facter/

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2024-02-25 16:48:32 UTC
+++ CMakeLists.txt
@@ -233,7 +233,7 @@ add_test(NAME "facter\\ smoke" COMMAND facter)
add_test(NAME "facter\\ smoke" COMMAND facter)
# Install the man page
-if ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD|FreeBSD")
+if ("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
set(MANDIR man/man8/)
else()
set(MANDIR share/man/man8/)

View File

@ -1,6 +1,6 @@
--- lib/CMakeLists.txt.orig 2018-12-17 18:05:06 UTC
--- lib/CMakeLists.txt.orig 2022-07-18 15:00:22 UTC
+++ lib/CMakeLists.txt
@@ -306,12 +306,15 @@ endif()
@@ -331,12 +331,15 @@ include_directories(
# Set include directories
include_directories(

View File

@ -1,5 +1,5 @@
https://bugs.gentoo.org/840116
--- lib/src/facts/glib/load_average_resolver.cc
--- lib/src/facts/glib/load_average_resolver.cc.orig 2022-07-18 15:00:22 UTC
+++ lib/src/facts/glib/load_average_resolver.cc
@@ -1,5 +1,6 @@
#include <internal/facts/glib/load_average_resolver.hpp>

View File

@ -1,6 +1,6 @@
--- lib/src/facts/posix/collection.cc.orig 2017-09-12 21:43:10 UTC
--- lib/src/facts/posix/collection.cc.orig 2022-07-18 15:00:22 UTC
+++ lib/src/facts/posix/collection.cc
@@ -29,6 +29,8 @@ namespace facter { namespace facts {
@@ -25,6 +25,8 @@ namespace facter { namespace facts {
directories.emplace_back("/opt/puppetlabs/facter/facts.d");
directories.emplace_back("/etc/facter/facts.d");
directories.emplace_back("/etc/puppetlabs/facter/facts.d");

View File

@ -25,5 +25,5 @@ lib/libfacter.so
lib/libfacter.so.%%PORTVERSION%%
lib/ruby/gems/%%RUBY_VER%%/specifications/facter-%%PORTVERSION%%.gemspec
lib/ruby/vendor_ruby/facter.rb
man/man8/facter.8.gz
share/man/man8/facter.8.gz
%%FACTER_JAVA%%lib/ruby/vendor_ruby/facter.jar