1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Cross-platform library for retrieving OS facts
8 HOMEPAGE= https://github.com/puppetlabs/facter
12 SITES[main]= GITHUB/puppetlabs:facter:3.13.1
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 NOT_FOR_OPSYS= dragonfly
22 BUILDRUN_DEPENDS= curl:primary:standard
23 leatherman:single:standard
24 cpp-hocon:single:standard
25 yaml-cpp:single:standard
26 boost-libraries:rest:python_default
30 LICENSE= APACHE20:single
31 LICENSE_TERMS= single:{{WRKSRC}}/LICENSE
32 LICENSE_FILE= APACHE20:stock
35 FPC_EQUIVALENT= sysutils/facter
39 CXXFLAGS= -Wno-catch-value
40 CMAKE_ARGS= -DWITHOUT_JRUBY:BOOL=ON
43 ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
44 ${WRKSRC}/lib/src/facts/posix/cache.cc \
45 ${WRKSRC}/lib/src/facts/posix/collection.cc \
46 ${WRKSRC}/lib/src/util/config/posix/config.cc
47 # ignore MANDIR override by FreeBSD
48 ${REINPLACE_CMD} -e 's,OpenBSD|FreeBSD,disable,' \
49 ${WRKSRC}/CMakeLists.txt
52 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
53 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/facter
55 [FILE:161:descriptions/desc.single]
56 Facter is Puppet's cross-platform system profiling library.
58 It discovers and reports per-node facts, which are
59 available in your Puppet manifests as variables.
63 cc656cd8050c61668c6a1da963d2133999a4203c385e018cdc08faaebe8aa4d4 392008 puppetlabs-facter-3.13.1.tar.gz
66 [FILE:473:manifests/plist.single]
83 include/facter/facts/external/resolver.hpp
84 include/facter/logging/logging.hpp
85 include/facter/ruby/ruby.hpp
91 libfacter.so.%%SOVERSION%%
92 lib/ruby/vendor_ruby/facter.rb
93 share/man/man8/facter.8.gz
96 [FILE:516:patches/patch-cmake_FindCPPHOCON.cmake]
97 --- cmake/FindCPPHOCON.cmake.orig 2019-02-02 20:53:13 UTC
98 +++ cmake/FindCPPHOCON.cmake
100 include(FindDependency)
101 -find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "libcpp-hocon.a")
102 +find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "liblibcpp-hocon.so")
104 include(FeatureSummary)
105 set_package_properties(CPPHOCON PROPERTIES DESCRIPTION "A C++ parser for the HOCON configuration language" URL "https://github.com/puppetlabs/cpp-hocon")
108 [FILE:219:patches/patch-lib_inc_internal_util_freebsd_geom.hpp]
109 --- lib/inc/internal/util/freebsd/geom.hpp.orig 2019-02-02 20:53:13 UTC
110 +++ lib/inc/internal/util/freebsd/geom.hpp
115 +#include <stdexcept>
121 [FILE:382:patches/patch-lib_src_facts_posix_cache.cc]
122 --- lib/src/facts/posix/cache.cc.orig 2019-02-02 20:53:13 UTC
123 +++ lib/src/facts/posix/cache.cc
125 namespace facter { namespace facts { namespace cache {
127 std::string fact_cache_location() {
128 - return "/opt/puppetlabs/facter/cache/cached_facts/";
129 + return "%%PREFIX%%/var/facter/cache/cached_facts/";
132 }}} // namespace facter::facts::cache
135 [FILE:673:patches/patch-lib_src_facts_posix_collection.cc]
136 --- lib/src/facts/posix/collection.cc.orig 2019-02-02 20:53:13 UTC
137 +++ lib/src/facts/posix/collection.cc
138 @@ -26,9 +26,8 @@ namespace facter { namespace facts {
139 directories.emplace_back(home + "/.facter/facts.d");
142 - directories.emplace_back("/opt/puppetlabs/facter/facts.d");
143 - directories.emplace_back("/etc/facter/facts.d");
144 - directories.emplace_back("/etc/puppetlabs/facter/facts.d");
145 + directories.emplace_back("%%PREFIX%%/etc/facter/facts.d");
146 + directories.emplace_back("%%PREFIX%%/etc/puppetlabs/facter/facts.d");
152 [FILE:374:patches/patch-lib_src_util_config_posix_config.cc]
153 --- lib/src/util/config/posix/config.cc.orig 2019-02-02 20:53:13 UTC
154 +++ lib/src/util/config/posix/config.cc
155 @@ -7,6 +7,6 @@ namespace facter { namespace util { name
158 std::string default_config_location() {
159 - return "/etc/puppetlabs/facter/facter.conf";
160 + return "%%PREFIX%%/etc/facter/facter.conf";
162 }}} // namespace facter::util::config