Ravenports generated: 11 Oct 2018 10:07
[ravenports.git] / bucket_4C / facter
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               facter
4 VERSION=                3.12.0
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.12.0
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.12.0
38
39 CMAKE_ARGS=             -DWITHOUT_JRUBY:BOOL=ON
40
41 post-patch:
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
49
50 post-install:
51         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
52         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/facter
53
54 [FILE:161:descriptions/desc.single]
55 Facter is Puppet's cross-platform system profiling library.
56
57 It discovers and reports per-node facts, which are
58 available in your Puppet manifests as variables.
59
60
61 [FILE:110:distinfo]
62 abd98d5eaedecf0016dd154273cb85ed26e8d726c8dc2b9d6227ff59f9bcf724       390445 puppetlabs-facter-3.12.0.tar.gz
63
64
65 [FILE:473:manifests/plist.single]
66 bin/facter
67 include/facter/
68  cwrapper.hpp
69  export.h
70  version.h
71 include/facter/facts/
72  array_value.hpp
73  collection.hpp
74  fact.hpp
75  map_value.hpp
76  os.hpp
77  os_family.hpp
78  resolver.hpp
79  scalar_value.hpp
80  value.hpp
81  vm.hpp
82 include/facter/facts/external/resolver.hpp
83 include/facter/logging/logging.hpp
84 include/facter/ruby/ruby.hpp
85 include/facter/util/
86  config.hpp
87  string.hpp
88 lib/
89  libfacter.so
90  libfacter.so.%%SOVERSION%%
91 lib/ruby/vendor_ruby/facter.rb
92 share/man/man8/facter.8.gz
93
94
95 [FILE:516:patches/patch-cmake_FindCPPHOCON.cmake]
96 --- cmake/FindCPPHOCON.cmake.orig       2018-09-14 15:27:42 UTC
97 +++ cmake/FindCPPHOCON.cmake
98 @@ -1,5 +1,5 @@
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")
102  
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")
105
106
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
110 @@ -6,6 +6,7 @@
111  
112  #include <string>
113  #include <vector>
114 +#include <stdexcept>
115  
116  #include <libgeom.h>
117  
118
119
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
123 @@ -3,7 +3,7 @@
124  namespace facter { namespace facts { namespace cache {
125  
126      std::string fact_cache_location() {
127 -        return "/opt/puppetlabs/facter/cache/cached_facts/";
128 +        return "%%PREFIX%%/var/facter/cache/cached_facts/";
129      }
130  
131  }}}  // namespace facter::facts::cache
132
133
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");
139              }
140          } else {
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");
146          }
147          return directories;
148      }
149
150
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
155      }
156  
157      std::string default_config_location() {
158 -        return "/etc/puppetlabs/facter/facter.conf";
159 +        return "%%PREFIX%%/etc/facter/facter.conf";
160      }
161  }}}  // namespace facter::util::config
162