Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/
Date: Tue, 15 Sep 2020 16:29:53
Message-Id: 1600187375.454d3784e42553434aa33ccc86a93aeb54f9c21a.prometheanfire@gentoo
1 commit: 454d3784e42553434aa33ccc86a93aeb54f9c21a
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 16:25:08 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 16:29:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454d3784
7
8 app-admin/puppet: cleanup
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-admin/puppet/Manifest | 2 -
14 app-admin/puppet/puppet-5.5.20.ebuild | 140 ----------------------------------
15 app-admin/puppet/puppet-6.15.0.ebuild | 136 ---------------------------------
16 3 files changed, 278 deletions(-)
17
18 diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
19 index 572e5aff836..0629fb8a0f8 100644
20 --- a/app-admin/puppet/Manifest
21 +++ b/app-admin/puppet/Manifest
22 @@ -1,6 +1,4 @@
23 DIST puppet-5.5.19.tar.gz 2993740 BLAKE2B aa6bde89489279769ee9a1ed5508fb223f7f0153b1b1991970018908eee70ff0816688c702b8dc779d01e1978ea7f9290c80523648730d5408a17674c11345fd SHA512 996fa155ca04c8c3c96c29cf65cd24eaf9e19e89fcf85345509dbd3673b28c263df5b62d6f016b8ac1c1da8ed86f0acf3100eae2656252bb10c542972db81de3
24 -DIST puppet-5.5.20.tar.gz 2995117 BLAKE2B f147be28967da748bf8d5f7250eae9045caafaa3925f850cc0a77acc19a6a47ed92d4ec81278334608839f6f8c83cab19324f2753bc05d3a042a3bfaccb72a46 SHA512 83b8f234697e13d6fd8ac16634fff4e4adfece70858c32c1001925c71cc4d9a482da1880c27c08e796facb46d5d17889f9521121a69cb49e160e3c031ad564c4
25 DIST puppet-5.5.21.tar.gz 2997149 BLAKE2B b42fd79132ce0aab02724c7aa38fc39a216df38266b9ee8078b433860b675f36b3c4da0d13d8fb456069250e6cb6470686c83581bc6b57801a44375f829be195 SHA512 b33191c104cb58fc842d065c3cf7dec8ce723ddc9b273c930f56692e252eb6c51bc3b0442db6500cf015fe24ec3eb133428aa09d845ca92b05de2da39bce8bfd
26 -DIST puppet-6.15.0.tar.gz 2880562 BLAKE2B 082f6a6b0ee56cdb1cd98b8cade8b07b7970ae0a78a9cf7c80e9af945eb722ad156b28004ad565c51750a63fa5932e99b1dd39ac0d4008d3ed225868e7671a31 SHA512 ac7e17bd87ee924fd928d565389b424ff2ed45b9b08e1be4eff4dec3688545657e2dfede46adeb48faecf3875c640c99b07ed6e09906b3e66b4654bb984d9296
27 DIST puppet-6.17.0.tar.gz 2901101 BLAKE2B 59e75d1b2a8d02285ab867d3b63b1656e29c418f4844b21100e135b306e16f82284690565e5354f515499ec7bc0e2ff688308e077cc4656076a38f49bb1bedf9 SHA512 2ebf31cce1dcc4ce0bf9403f56d3f97a41a4014111be1f27e340de8e4db157549bc4609068ee6396be3c88ff1a93b40792692a5b01140fa66a1f5a82453ba1d1
28 DIST puppet-6.18.0.tar.gz 2911742 BLAKE2B 75ecb14a0cf96c1c54d09f88f91984805834288a166e74c5b9648d5f9ad60a6c279100f32f148659772a22fc01d21345bf765ed47518bfa9bd81d06c17587efd SHA512 a14994aea502fbc78219967e2d711952b580df1e7befeab2d254a73f28036c6c7923d167a20bc61c9abe76000f93dcd3cba92b3353540e2a26fc27b10b06efe1
29
30 diff --git a/app-admin/puppet/puppet-5.5.20.ebuild b/app-admin/puppet/puppet-5.5.20.ebuild
31 deleted file mode 100644
32 index 92e56e9b375..00000000000
33 --- a/app-admin/puppet/puppet-5.5.20.ebuild
34 +++ /dev/null
35 @@ -1,140 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI="6"
40 -
41 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
42 -
43 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
44 -
45 -RUBY_FAKEGEM_TASK_DOC="doc:all"
46 -
47 -RUBY_FAKEGEM_EXTRAINSTALL="locales"
48 -
49 -inherit ruby-fakegem eapi7-ver
50 -
51 -DESCRIPTION="A system automation and configuration management software."
52 -HOMEPAGE="https://puppet.com/"
53 -SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
54 -
55 -LICENSE="Apache-2.0 GPL-2"
56 -SLOT="0"
57 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
58 -IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
59 -RESTRICT="test"
60 -
61 -ruby_add_rdepend "
62 - >=dev-ruby/hiera-3.2.1:0
63 - >=dev-ruby/facter-3.0.0
64 - >=dev-ruby/fast_gettext-1.1.2:0
65 - >=dev-ruby/locale-2.1:0
66 - >=dev-ruby/multi_json-1.10:0
67 - augeas? ( dev-ruby/ruby-augeas )
68 - diff? ( dev-ruby/diff-lcs )
69 - doc? ( dev-ruby/rdoc )
70 - ldap? ( dev-ruby/ruby-ldap )
71 - shadow? ( dev-ruby/ruby-shadow )
72 - sqlite? ( dev-ruby/sqlite3 )
73 - virtual/ruby-ssl
74 - dev-ruby/hocon"
75 -
76 -ruby_add_bdepend "
77 - doc? ( dev-ruby/yard )
78 - test? (
79 - dev-ruby/mocha
80 - dev-ruby/rack
81 - dev-ruby/rspec-its
82 - )"
83 -# this should go in the above lists, but isn't because of test deps not being keyworded
84 -# dev-ruby/rspec-collection_matchers
85 -
86 -RDEPEND+=" ${RDEPEND}
87 - rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
88 - selinux? (
89 - sys-libs/libselinux[ruby]
90 - sec-policy/selinux-puppet
91 - )
92 - vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
93 - >=app-portage/eix-0.18.0
94 - acct-user/puppet
95 - acct-group/puppet"
96 -PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
97 -
98 -all_ruby_prepare() {
99 - # Avoid spec that require unpackaged json-schema.
100 - rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
101 -
102 - # fix systemd path
103 - eapply -p0 "${FILESDIR}/puppet-systemd.patch"
104 -
105 - # Avoid specs that can only run in the puppet.git repository. This
106 - # should be narrowed down to the specific specs.
107 - rm spec/integration/parser/compiler_spec.rb || die
108 -
109 - # Avoid failing spec that need further investigation.
110 - rm spec/unit/module_tool/metadata_spec.rb || die
111 -}
112 -
113 -each_ruby_install() {
114 - each_fakegem_install
115 -# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
116 -}
117 -
118 -all_ruby_install() {
119 - all_fakegem_install
120 -
121 - # systemd stuffs
122 - insinto /usr/lib/systemd/system
123 - doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
124 -
125 - # tmpfiles stuff
126 - insinto /usr/lib/tmpfiles.d
127 - newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
128 -
129 - # openrc init stuff
130 - newinitd "${FILESDIR}"/puppet.init-4.x puppet
131 - newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
132 - newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
133 -
134 - keepdir /etc/puppetlabs/puppet/ssl
135 -
136 - keepdir /var/lib/puppet/facts
137 - keepdir /var/lib/puppet/files
138 - fowners -R puppet:puppet /var/lib/puppet
139 -
140 - fperms 0750 /var/lib/puppet
141 -
142 - fperms 0750 /etc/puppetlabs
143 - fperms 0750 /etc/puppetlabs/puppet
144 - fperms 0750 /etc/puppetlabs/puppet/ssl
145 - fowners -R :puppet /etc/puppetlabs
146 - fowners -R :puppet /var/lib/puppet
147 -
148 - if use ldap ; then
149 - insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
150 - fi
151 -
152 - # ext and examples files
153 - for f in $(find ext examples -type f) ; do
154 - docinto "$(dirname ${f})"; dodoc "${f}"
155 - done
156 -}
157 -
158 -pkg_postinst() {
159 - elog
160 - elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
161 - elog "cause puppet to hang while installing packages."
162 - elog
163 - elog "Portage Puppet module with Gentoo-specific resources:"
164 - elog "http://forge.puppetlabs.com/gentoo/portage"
165 - elog
166 -
167 - for v in ${REPLACING_VERSIONS}; do
168 - if [ "$(ver_cut 1 "$v")" -eq "4" ]; then
169 - elog
170 - elog "Please see the following url for the release notes for puppet-5"
171 - elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x"
172 - elog
173 - fi
174 - done
175 -}
176
177 diff --git a/app-admin/puppet/puppet-6.15.0.ebuild b/app-admin/puppet/puppet-6.15.0.ebuild
178 deleted file mode 100644
179 index 11fd2d3c508..00000000000
180 --- a/app-admin/puppet/puppet-6.15.0.ebuild
181 +++ /dev/null
182 @@ -1,136 +0,0 @@
183 -# Copyright 1999-2020 Gentoo Authors
184 -# Distributed under the terms of the GNU General Public License v2
185 -
186 -EAPI="6"
187 -
188 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
189 -
190 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
191 -
192 -RUBY_FAKEGEM_TASK_DOC="doc:all"
193 -
194 -RUBY_FAKEGEM_EXTRAINSTALL="locales"
195 -
196 -inherit eutils ruby-fakegem eapi7-ver
197 -
198 -DESCRIPTION="A system automation and configuration management software."
199 -HOMEPAGE="https://puppet.com/"
200 -SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
201 -
202 -LICENSE="Apache-2.0 GPL-2"
203 -SLOT="0"
204 -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
205 -IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
206 -RESTRICT="test"
207 -
208 -ruby_add_rdepend "
209 - dev-ruby/hiera
210 - dev-ruby/json:=
211 - dev-ruby/semantic_puppet
212 - >=dev-ruby/facter-3.0.0
213 - dev-ruby/concurrent-ruby
214 - augeas? ( dev-ruby/ruby-augeas )
215 - diff? ( dev-ruby/diff-lcs )
216 - doc? ( dev-ruby/rdoc )
217 - ldap? ( dev-ruby/ruby-ldap )
218 - shadow? ( dev-ruby/ruby-shadow )
219 - sqlite? ( dev-ruby/sqlite3 )
220 - virtual/ruby-ssl
221 - dev-ruby/hocon"
222 -
223 -ruby_add_bdepend "
224 - doc? ( dev-ruby/yard )
225 - test? (
226 - dev-ruby/mocha
227 - dev-ruby/rack
228 - dev-ruby/rspec-its
229 - )"
230 -# this should go in the above lists, but isn't because of test deps not being keyworded
231 -# dev-ruby/rspec-collection_matchers
232 -
233 -RDEPEND+=" ${RDEPEND}
234 - rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
235 - selinux? (
236 - sys-libs/libselinux[ruby]
237 - sec-policy/selinux-puppet
238 - )
239 - vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
240 - >=app-portage/eix-0.18.0
241 - acct-user/puppet
242 - acct-group/puppet"
243 -PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
244 -
245 -all_ruby_prepare() {
246 - # Avoid spec that require unpackaged json-schema.
247 - rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
248 -
249 - # can't be run within portage.
250 - epatch "${FILESDIR}/puppet-fix-tests-6.10.1.patch"
251 -
252 - # fix systemd path
253 - epatch "${FILESDIR}/puppet-systemd.patch"
254 -
255 - # Avoid specs that can only run in the puppet.git repository. This
256 - # should be narrowed down to the specific specs.
257 - rm spec/integration/parser/compiler_spec.rb || die
258 -
259 - # Avoid failing spec that need further investigation.
260 - rm spec/unit/module_tool/metadata_spec.rb || die
261 -}
262 -
263 -each_ruby_install() {
264 - each_fakegem_install
265 -# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
266 -}
267 -
268 -all_ruby_install() {
269 - all_fakegem_install
270 -
271 - # systemd stuffs
272 - insinto /usr/lib/systemd/system
273 - doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
274 -
275 - # tmpfiles stuff
276 - insinto /usr/lib/tmpfiles.d
277 - newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
278 -
279 - # openrc init stuff
280 - newinitd "${FILESDIR}"/puppet.init-4.x puppet
281 -
282 - keepdir /etc/puppetlabs/puppet/ssl
283 -
284 - keepdir /var/lib/puppet/facts
285 - keepdir /var/lib/puppet/files
286 - fowners -R puppet:puppet /var/lib/puppet
287 -
288 - fperms 0750 /var/lib/puppet
289 -
290 - fperms 0750 /etc/puppetlabs
291 - fperms 0750 /etc/puppetlabs/puppet
292 - fperms 0750 /etc/puppetlabs/puppet/ssl
293 - fowners -R :puppet /etc/puppetlabs
294 - fowners -R :puppet /var/lib/puppet
295 -
296 - if use ldap ; then
297 - insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
298 - fi
299 -
300 - # ext and examples files
301 - for f in $(find ext examples -type f) ; do
302 - docinto "$(dirname ${f})"; dodoc "${f}"
303 - done
304 -}
305 -
306 -pkg_postinst() {
307 - elog
308 - elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
309 - elog "cause puppet to hang while installing packages."
310 - elog
311 - elog "Portage Puppet module with Gentoo-specific resources:"
312 - elog "http://forge.puppetlabs.com/gentoo/portage"
313 - elog
314 - elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
315 - elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
316 - elog "not already done so."
317 - elog
318 -}