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.12.0
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 CMAKE_ARGS= -DWITHOUT_JRUBY:BOOL=ON
42 ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
43 ${WRKSRC}/lib/src/facts/posix/cache.cc \
44 ${WRKSRC}/lib/src/facts/posix/collection.cc \
45 ${WRKSRC}/lib/src/util/config/posix/config.cc
46 # ignore MANDIR override by FreeBSD
47 ${REINPLACE_CMD} -e 's,OpenBSD|FreeBSD,disable,' \
48 ${WRKSRC}/CMakeLists.txt
51 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
52 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/facter
54 [FILE:161:descriptions/desc.single]
55 Facter is Puppet's cross-platform system profiling library.
57 It discovers and reports per-node facts, which are
58 available in your Puppet manifests as variables.
62 abd98d5eaedecf0016dd154273cb85ed26e8d726c8dc2b9d6227ff59f9bcf724 390445 puppetlabs-facter-3.12.0.tar.gz
65 [FILE:473:manifests/plist.single]
82 include/facter/facts/external/resolver.hpp
83 include/facter/logging/logging.hpp
84 include/facter/ruby/ruby.hpp
90 libfacter.so.%%SOVERSION%%
91 lib/ruby/vendor_ruby/facter.rb
92 share/man/man8/facter.8.gz
95 [FILE:516:patches/patch-cmake_FindCPPHOCON.cmake]
96 --- cmake/FindCPPHOCON.cmake.orig 2018-09-14 15:27:42 UTC
97 +++ cmake/FindCPPHOCON.cmake
99 include(FindDependency)
100 -find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "libcpp-hocon.a")
101 +find_dependency(CPPHOCON DISPLAY "cpp-hocon" HEADERS "hocon/config.hpp" LIBRARIES "liblibcpp-hocon.so")
103 include(FeatureSummary)
104 set_package_properties(CPPHOCON PROPERTIES DESCRIPTION "A C++ parser for the HOCON configuration language" URL "https://github.com/puppetlabs/cpp-hocon")
107 [FILE:219:patches/patch-lib_inc_internal_util_freebsd_geom.hpp]
108 --- lib/inc/internal/util/freebsd/geom.hpp.orig 2018-09-14 15:27:42 UTC
109 +++ lib/inc/internal/util/freebsd/geom.hpp
114 +#include <stdexcept>
120 [FILE:382:patches/patch-lib_src_facts_posix_cache.cc]
121 --- lib/src/facts/posix/cache.cc.orig 2018-09-14 15:27:42 UTC
122 +++ lib/src/facts/posix/cache.cc
124 namespace facter { namespace facts { namespace cache {
126 std::string fact_cache_location() {
127 - return "/opt/puppetlabs/facter/cache/cached_facts/";
128 + return "%%PREFIX%%/var/facter/cache/cached_facts/";
131 }}} // namespace facter::facts::cache
134 [FILE:673:patches/patch-lib_src_facts_posix_collection.cc]
135 --- lib/src/facts/posix/collection.cc.orig 2018-09-14 15:27:42 UTC
136 +++ lib/src/facts/posix/collection.cc
137 @@ -26,9 +26,8 @@ namespace facter { namespace facts {
138 directories.emplace_back(home + "/.facter/facts.d");
141 - directories.emplace_back("/opt/puppetlabs/facter/facts.d");
142 - directories.emplace_back("/etc/facter/facts.d");
143 - directories.emplace_back("/etc/puppetlabs/facter/facts.d");
144 + directories.emplace_back("%%PREFIX%%/etc/facter/facts.d");
145 + directories.emplace_back("%%PREFIX%%/etc/puppetlabs/facter/facts.d");
151 [FILE:374:patches/patch-lib_src_util_config_posix_config.cc]
152 --- lib/src/util/config/posix/config.cc.orig 2018-09-14 15:27:42 UTC
153 +++ lib/src/util/config/posix/config.cc
154 @@ -7,6 +7,6 @@ namespace facter { namespace util { name
157 std::string default_config_location() {
158 - return "/etc/puppetlabs/facter/facter.conf";
159 + return "%%PREFIX%%/etc/facter/facter.conf";
161 }}} // namespace facter::util::config