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: Mon, 23 Sep 2019 15:32:04
Message-Id: 1569252504.aaf034936a1f78d03fde9a38a31f426eb8173111.prometheanfire@gentoo
1 commit: aaf034936a1f78d03fde9a38a31f426eb8173111
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 23 15:28:24 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 23 15:28:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaf03493
7
8 app-admin/puppet: 6.8.0 stable amd64 and x86 with cleanup
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.17
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 app-admin/puppet/Manifest | 1 -
14 app-admin/puppet/puppet-6.6.0.ebuild | 138 -----------------------------------
15 app-admin/puppet/puppet-6.8.0.ebuild | 2 +-
16 3 files changed, 1 insertion(+), 140 deletions(-)
17
18 diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
19 index e769be51f4c..4c2d9c5ae07 100644
20 --- a/app-admin/puppet/Manifest
21 +++ b/app-admin/puppet/Manifest
22 @@ -1,7 +1,6 @@
23 DIST puppet-4.10.12.tar.gz 3022218 BLAKE2B 03757857868b1544078ae5e40d6e438631c788f1b01a3e62ba90e477b754601d2c085228e084363ff20ee39728b02ebe8ca83e17f7c79dddae1c3968aef4e320 SHA512 ff7accf70b1d4de7282cf3b41246151c49c4758a41ace56a470e4723749638027011cf170747e66fa5812280e1612e754e12d92dd35fa6c93171f7187bb9cfa2
24 DIST puppet-5.5.14.tar.gz 3075736 BLAKE2B bfea82d40f9671cdefab0b10c9481e4fbad397dd0a4aa26f5d0fa9ffa94477a5cc59b3724ab9ae3ee2e7e9230881676582c328c804ce9138dc484b9bd92e0ec3 SHA512 861100c02e0b8a5bb232d266bcd5e54b0e32cf26954ea37f276690aa3159ffdb28195ab8691df61ee0098300d226ea1d369dbdff8aae69101c2bbe6068ede8b1
25 DIST puppet-5.5.16.tar.gz 3084466 BLAKE2B f3e2f12331b4794b90a81a4f80e626fcd3d5252b7cbdacc1d6243faa557540d3a68e5e23b7b5c3e4f4286774e9a9198e59fb15d7d7c41d7193754ed5c80dd624 SHA512 7d9e533e352a22e347ac6467094c4bdbde893c2503f47b4a2d175fd6e759e6662991efdd1a0a83d9495d22f28da4ae7a30cc771c5d90b8252c4618bd8837833a
26 -DIST puppet-6.6.0.tar.gz 2898687 BLAKE2B 67370b191985f75f783d795d7ef38df53fbf28efa8ab79ae309dba985f4ba296d2862fb366b68a46d03f526c3f27c51b1e1cefcccbaa96f6694dc888a7adcc2c SHA512 e7e7367565d12c208654bd353112542fb84b736f262dc86adb940e02a4e34d473e7bb5f084e0caa5fab01be4ef479ad2baa3e751d4d86ee447cf960f400413e5
27 DIST puppet-6.7.2.tar.gz 2907345 BLAKE2B bbb0f789ae64b5039e5b1bd2ce985e89ba693d33352baee7a1d11df7f314663aa3606a73d42d6b20042f81ee405a72cd17b9cf8f3c3cb257869e982f84cfd552 SHA512 6ebcaff30bda27fc17870b991287d620d455db8cf9a41c59833efc2a7541d3622228a7278689eb0494d0f6328cd334764f21ffe8700a567696e05398a5c16b7d
28 DIST puppet-6.8.0.tar.gz 2906582 BLAKE2B 2dd2f9eb203aa951e0ea9639efa20aac3edb063b4bd68dd0b05a07fc2a399c4b59b3b87a1cb573096c5042920080623b9afb9c4d863b6249664edcc291cd1787 SHA512 c8446529e706dab7fd156b5bbca638f1722b07a638f626df2002a4ad218ec5e448f533395a6eed613b31ebbacea56539e903c040998d4110c8a362f2ead7f43b
29 DIST puppet-6.9.0.tar.gz 2911311 BLAKE2B 1d58d0e976430031732de4f63c3ec100088f1d93894cf52caff252befeabe1ea3cf51939063143bd7c9011bb56f2a6420ba38ae230edea19ac8f1f135ed6f56f SHA512 4d1bc1a398c1e75bf8e832d477a0fff4fa3613510f8d59d73594e6fc2f2bbbedf050b1e7729b71bb1428c230f42fcf7b98f7a7683fc3c52cb36a596e20e6540b
30
31 diff --git a/app-admin/puppet/puppet-6.6.0.ebuild b/app-admin/puppet/puppet-6.6.0.ebuild
32 deleted file mode 100644
33 index eeefd4e8c63..00000000000
34 --- a/app-admin/puppet/puppet-6.6.0.ebuild
35 +++ /dev/null
36 @@ -1,138 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI="6"
41 -
42 -USE_RUBY="ruby23 ruby24 ruby25"
43 -
44 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
45 -
46 -RUBY_FAKEGEM_TASK_DOC="doc:all"
47 -
48 -RUBY_FAKEGEM_EXTRAINSTALL="locales"
49 -
50 -inherit eutils user ruby-fakegem eapi7-ver
51 -
52 -DESCRIPTION="A system automation and configuration management software."
53 -HOMEPAGE="https://puppet.com/"
54 -SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
55 -
56 -LICENSE="Apache-2.0 GPL-2"
57 -SLOT="0"
58 -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
59 -IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
60 -RESTRICT="test"
61 -
62 -ruby_add_rdepend "
63 - dev-ruby/hiera
64 - dev-ruby/json:=
65 - dev-ruby/semantic_puppet
66 - >=dev-ruby/facter-3.0.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 -PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
95 -
96 -pkg_setup() {
97 - enewgroup puppet
98 - enewuser puppet -1 -1 /var/lib/puppet puppet
99 -}
100 -
101 -all_ruby_prepare() {
102 - # Avoid spec that require unpackaged json-schema.
103 - rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
104 -
105 - # can't be run within portage.
106 - epatch "${FILESDIR}/puppet-fix-tests-6.4.1.patch"
107 -
108 - # fix systemd path
109 - epatch "${FILESDIR}/puppet-systemd.patch"
110 -
111 - # Avoid specs that can only run in the puppet.git repository. This
112 - # should be narrowed down to the specific specs.
113 - rm spec/integration/parser/compiler_spec.rb || die
114 -
115 - # Avoid failing spec that need further investigation.
116 - rm spec/unit/module_tool/metadata_spec.rb || die
117 -}
118 -
119 -each_ruby_install() {
120 - each_fakegem_install
121 -# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
122 -}
123 -
124 -all_ruby_install() {
125 - all_fakegem_install
126 -
127 - # systemd stuffs
128 - insinto /usr/lib/systemd/system
129 - doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
130 -
131 - # tmpfiles stuff
132 - insinto /usr/lib/tmpfiles.d
133 - newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
134 -
135 - # openrc init stuff
136 - newinitd "${FILESDIR}"/puppet.init-4.x puppet
137 -
138 - keepdir /etc/puppetlabs/puppet/ssl
139 -
140 - keepdir /var/lib/puppet/facts
141 - keepdir /var/lib/puppet/files
142 - fowners -R puppet:puppet /var/lib/puppet
143 -
144 - fperms 0750 /var/lib/puppet
145 -
146 - fperms 0750 /etc/puppetlabs
147 - fperms 0750 /etc/puppetlabs/puppet
148 - fperms 0750 /etc/puppetlabs/puppet/ssl
149 - fowners -R :puppet /etc/puppetlabs
150 - fowners -R :puppet /var/lib/puppet
151 -
152 - if use ldap ; then
153 - insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
154 - fi
155 -
156 - # ext and examples files
157 - for f in $(find ext examples -type f) ; do
158 - docinto "$(dirname ${f})"; dodoc "${f}"
159 - done
160 -}
161 -
162 -pkg_postinst() {
163 - elog
164 - elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
165 - elog "cause puppet to hang while installing packages."
166 - elog
167 - elog "Portage Puppet module with Gentoo-specific resources:"
168 - elog "http://forge.puppetlabs.com/gentoo/portage"
169 - elog
170 - elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
171 - elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
172 - elog "not already done so."
173 - elog
174 -}
175
176 diff --git a/app-admin/puppet/puppet-6.8.0.ebuild b/app-admin/puppet/puppet-6.8.0.ebuild
177 index 0038f1ebf43..eeefd4e8c63 100644
178 --- a/app-admin/puppet/puppet-6.8.0.ebuild
179 +++ b/app-admin/puppet/puppet-6.8.0.ebuild
180 @@ -19,7 +19,7 @@ SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
181
182 LICENSE="Apache-2.0 GPL-2"
183 SLOT="0"
184 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
185 +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
186 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
187 RESTRICT="test"