1 |
commit: 695d721d1dcd80fb9aece54c53b773850b3cee33 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 23 00:40:01 2022 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 23 00:59:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=695d721d |
7 |
|
8 |
app-admin/puppet: 7.14.0 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/puppet/Manifest | 1 + |
14 |
app-admin/puppet/puppet-7.14.0.ebuild | 127 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 128 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest |
18 |
index 4575b948ab9c..44917937b201 100644 |
19 |
--- a/app-admin/puppet/Manifest |
20 |
+++ b/app-admin/puppet/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST puppet-5.5.22.tar.gz 2998132 BLAKE2B 8662c89190d0904fe44ffeca1cf9a9ddca40d57ba6fb2d1e644ca353ceb55b1ca3a91416f1eef2975233c9c4498784e7d7280c111ea0cc070870cadc69341d99 SHA512 5332b084a63bdf244672cc4751022c84a1cc50d3f394a13bdcbccf7fcf4ebea67953e88957f23046608bf25e9182548449be824c18289cb2bf1e3ed29b40dc58 |
23 |
DIST puppet-7.12.0.tar.gz 2862376 BLAKE2B da0d3d05de8187492cbb14d98df0c7eef7fea5a2fdad0f41b687fcef20979d34c1d84513c4c7a504eb95934228b832e416aecb5f626fba20920df286fd403bcd SHA512 5df5b78d5e27ff64e49f440c6e3add7af1b58cd4da6ac5cd649dce012e830e349c2dbc27bf03d4668e2a10cec6628b2872457c7b6f7fe7a4f7cfbd6c8fe8ae2d |
24 |
DIST puppet-7.13.1.tar.gz 2874201 BLAKE2B 663cae7ed82cd9daf2efe70564509f7abc73361df3558a81a99995f1667cedc0d7237644ff3bdfa857dc1239d9aaaeb9815d7b420c8c06ff3b1d7cd4f285b817 SHA512 f1cc3ce9c030ede1847c12c87411a29a785cf6219322e287a69577ccd08211bd485050aaa651941894d331d23927ce627b06aa73d060502ae2835aaab5c08570 |
25 |
+DIST puppet-7.14.0.tar.gz 2816077 BLAKE2B c4aacf7179208e801fad2aa384691e38ca4bd1329819d4ca15b7a3cf25c5787e8adef12c91d233c5adbc301ab77cdf9748f094a1904c78c62d6ac73dafb4a634 SHA512 36aaa9c8cce9d1c40e77eee1e3544c0b0c665bbfa3b8184401905d6f15c142be8490421af0dac57856849de343b288f67153c551db68f8cea9e0ed3ad251feb3 |
26 |
|
27 |
diff --git a/app-admin/puppet/puppet-7.14.0.ebuild b/app-admin/puppet/puppet-7.14.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..21df500a05a1 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppet/puppet-7.14.0.ebuild |
32 |
@@ -0,0 +1,127 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+RUBY_FAKEGEM_TASK_DOC="doc:all" |
41 |
+RUBY_FAKEGEM_EXTRAINSTALL="locales" |
42 |
+ |
43 |
+inherit ruby-fakegem systemd tmpfiles |
44 |
+ |
45 |
+DESCRIPTION="A system automation and configuration management software" |
46 |
+HOMEPAGE="https://puppet.com/" |
47 |
+SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="Apache-2.0 GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
52 |
+IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax" |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+ruby_add_rdepend " |
56 |
+ dev-ruby/hiera |
57 |
+ dev-ruby/json:= |
58 |
+ dev-ruby/semantic_puppet |
59 |
+ >=dev-ruby/facter-3.0.0 |
60 |
+ dev-ruby/concurrent-ruby |
61 |
+ augeas? ( dev-ruby/ruby-augeas ) |
62 |
+ diff? ( dev-ruby/diff-lcs ) |
63 |
+ doc? ( dev-ruby/rdoc ) |
64 |
+ ldap? ( dev-ruby/ruby-ldap ) |
65 |
+ shadow? ( dev-ruby/ruby-shadow ) |
66 |
+ sqlite? ( dev-ruby/sqlite3 ) |
67 |
+ virtual/ruby-ssl |
68 |
+ dev-ruby/hocon" |
69 |
+ |
70 |
+ruby_add_bdepend " |
71 |
+ doc? ( dev-ruby/yard ) |
72 |
+ test? ( |
73 |
+ dev-ruby/mocha |
74 |
+ dev-ruby/rack |
75 |
+ dev-ruby/rspec-its |
76 |
+ )" |
77 |
+# this should go in the above lists, but isn't because of test deps not being keyworded |
78 |
+# dev-ruby/rspec-collection_matchers |
79 |
+ |
80 |
+RDEPEND+=" ${RDEPEND} |
81 |
+ rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
82 |
+ selinux? ( |
83 |
+ sys-libs/libselinux[ruby] |
84 |
+ sec-policy/selinux-puppet |
85 |
+ ) |
86 |
+ vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
87 |
+ >=app-portage/eix-0.18.0 |
88 |
+ acct-user/puppet |
89 |
+ acct-group/puppet" |
90 |
+PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" |
91 |
+ |
92 |
+all_ruby_prepare() { |
93 |
+ # Avoid spec that require unpackaged json-schema. |
94 |
+ rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
95 |
+ |
96 |
+ # fix systemd path |
97 |
+ eapply -p0 "${FILESDIR}/puppet-systemd.patch" |
98 |
+ |
99 |
+ # Avoid specs that can only run in the puppet.git repository. This |
100 |
+ # should be narrowed down to the specific specs. |
101 |
+ rm spec/integration/parser/compiler_spec.rb || die |
102 |
+ |
103 |
+ # Avoid failing spec that need further investigation. |
104 |
+ rm spec/unit/module_tool/metadata_spec.rb || die |
105 |
+} |
106 |
+ |
107 |
+each_ruby_install() { |
108 |
+ each_fakegem_install |
109 |
+# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
110 |
+} |
111 |
+ |
112 |
+all_ruby_install() { |
113 |
+ all_fakegem_install |
114 |
+ |
115 |
+ # systemd stuffs |
116 |
+ systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
117 |
+ |
118 |
+ # tmpfiles stuff |
119 |
+ newtmpfiles "${FILESDIR}/tmpfiles.d" "puppet.conf" |
120 |
+ |
121 |
+ # openrc init stuff |
122 |
+ newinitd "${FILESDIR}"/puppet.init-4.x puppet |
123 |
+ |
124 |
+ keepdir /etc/puppetlabs/puppet/ssl |
125 |
+ |
126 |
+ keepdir /var/lib/puppet/facts |
127 |
+ keepdir /var/lib/puppet/files |
128 |
+ fowners -R puppet:puppet /var/lib/puppet |
129 |
+ |
130 |
+ fperms 0750 /var/lib/puppet |
131 |
+ |
132 |
+ fperms 0750 /etc/puppetlabs |
133 |
+ fperms 0750 /etc/puppetlabs/puppet |
134 |
+ fperms 0750 /etc/puppetlabs/puppet/ssl |
135 |
+ fowners -R :puppet /etc/puppetlabs |
136 |
+ fowners -R :puppet /var/lib/puppet |
137 |
+ |
138 |
+ # ext and examples files |
139 |
+ for f in $(find ext examples -type f) ; do |
140 |
+ docinto "$(dirname ${f})" |
141 |
+ dodoc "${f}" |
142 |
+ done |
143 |
+} |
144 |
+ |
145 |
+pkg_postinst() { |
146 |
+ tmpfiles_process puppet.conf |
147 |
+ |
148 |
+ elog |
149 |
+ elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
150 |
+ elog "cause puppet to hang while installing packages." |
151 |
+ elog |
152 |
+ elog "Portage Puppet module with Gentoo-specific resources:" |
153 |
+ elog "http://forge.puppetlabs.com/gentoo/portage" |
154 |
+ elog |
155 |
+ elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)" |
156 |
+ elog "suppert was removed for >=6.x, please migrate to puppetserver if you have" |
157 |
+ elog "not already done so." |
158 |
+ elog |
159 |
+} |