Ravenports generated: 01 Apr 2019 09:55
[ravenports.git] / bucket_4C / facter
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               facter
4 VERSION=                3.13.1
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        Cross-platform library for retrieving OS facts
8 HOMEPAGE=               https://github.com/puppetlabs/facter
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/puppetlabs:facter:3.13.1
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 NOT_FOR_OPSYS=          dragonfly
21
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
27
28 USES=                   ssl cmake ruby
29
30 LICENSE=                APACHE20:single
31 LICENSE_TERMS=          single:{{WRKSRC}}/LICENSE
32 LICENSE_FILE=           APACHE20:stock
33 LICENSE_SCHEME=         solo
34
35 FPC_EQUIVALENT=         sysutils/facter
36
37 SOVERSION=              3.13.1
38
39 CXXFLAGS=               -Wno-catch-value
40 CMAKE_ARGS=             -DWITHOUT_JRUBY:BOOL=ON
41
42 post-patch:
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
50
51 post-install:
52         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
53         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/facter
54
55 [FILE:161:descriptions/desc.single]
56 Facter is Puppet's cross-platform system profiling library.
57
58 It discovers and reports per-node facts, which are
59 available in your Puppet manifests as variables.
60
61
62 [FILE:110:distinfo]
63 cc656cd8050c61668c6a1da963d2133999a4203c385e018cdc08faaebe8aa4d4       392008 puppetlabs-facter-3.13.1.tar.gz
64
65
66 [FILE:473:manifests/plist.single]
67 bin/facter
68 include/facter/
69  cwrapper.hpp
70  export.h
71  version.h
72 include/facter/facts/
73  array_value.hpp
74  collection.hpp
75  fact.hpp
76  map_value.hpp
77  os.hpp
78  os_family.hpp
79  resolver.hpp
80  scalar_value.hpp
81  value.hpp
82  vm.hpp
83 include/facter/facts/external/resolver.hpp
84 include/facter/logging/logging.hpp
85 include/facter/ruby/ruby.hpp
86 include/facter/util/
87  config.hpp
88  string.hpp
89 lib/
90  libfacter.so
91  libfacter.so.%%SOVERSION%%
92 lib/ruby/vendor_ruby/facter.rb
93 share/man/man8/facter.8.gz
94
95
96 [FILE:516:patches/patch-cmake_FindCPPHOCON.cmake]
97 --- cmake/FindCPPHOCON.cmake.orig       2019-02-02 20:53:13 UTC
98 +++ cmake/FindCPPHOCON.cmake
99 @@ -1,5 +1,5 @@
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")
103  
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")
106
107
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
111 @@ -6,6 +6,7 @@
112  
113  #include <string>
114  #include <vector>
115 +#include <stdexcept>
116  
117  #include <libgeom.h>
118  
119
120
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
124 @@ -3,7 +3,7 @@
125  namespace facter { namespace facts { namespace cache {
126  
127      std::string fact_cache_location() {
128 -        return "/opt/puppetlabs/facter/cache/cached_facts/";
129 +        return "%%PREFIX%%/var/facter/cache/cached_facts/";
130      }
131  
132  }}}  // namespace facter::facts::cache
133
134
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");
140              }
141          } else {
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");
147          }
148          return directories;
149      }
150
151
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
156      }
157  
158      std::string default_config_location() {
159 -        return "/etc/puppetlabs/facter/facter.conf";
160 +        return "%%PREFIX%%/etc/facter/facter.conf";
161      }
162  }}}  // namespace facter::util::config
163