1 |
commit: db368391fe4e5e0f07cb12aa7259b00055c518f2 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 17:17:16 2016 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 21:49:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db368391 |
7 |
|
8 |
app-admin/puppet: remove badness |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-admin/puppet/Manifest | 5 - |
13 |
app-admin/puppet/puppet-4.0.0-r3.ebuild | 163 ----------------------------- |
14 |
app-admin/puppet/puppet-4.1.0-r1.ebuild | 163 ----------------------------- |
15 |
app-admin/puppet/puppet-4.2.1-r1.ebuild | 175 -------------------------------- |
16 |
app-admin/puppet/puppet-4.2.2-r1.ebuild | 175 -------------------------------- |
17 |
app-admin/puppet/puppet-4.4.1.ebuild | 175 -------------------------------- |
18 |
6 files changed, 856 deletions(-) |
19 |
|
20 |
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest |
21 |
index 91fda48..d9d418e 100644 |
22 |
--- a/app-admin/puppet/Manifest |
23 |
+++ b/app-admin/puppet/Manifest |
24 |
@@ -6,9 +6,4 @@ DIST puppet-3.8.3.tar.gz 2638669 SHA256 bbdf5e32428fe005ea7279e9396bfcdf2c9b1127 |
25 |
DIST puppet-3.8.4.tar.gz 2639537 SHA256 19e83ebbbf0933a9df6696255d7ff4d65e3daba1ed8dacf87f16a87ae40a7ad7 SHA512 bcd4251f56292529973c1694d4c1b0673e01cc6525c3fda8415e3b69b03861f0c1c168911b47c1372eeecd54c5eb2efc67ae23fd9ca0329b821b6f1b1e4e641a WHIRLPOOL 8088df2bcfa2f2ed5be8f0769c45d70d5b8496c59f84217299d0df9b143f7551c2fb3a86edc467dfdaca6574a57e7fe4a8b89e9a376e991385650f6ce4dc9f21 |
26 |
DIST puppet-3.8.5.tar.gz 2640987 SHA256 ecba7c70e32c3da6682f9c4706c01cc588a5614759a864446e9fbd2449c6305c SHA512 9c17508032ab4306c0ec1d2e79e1c3548a1da6c875c61155e597642cc901d0639eb99543084a6f88c5826b5faa5af83eaf936672e80a32bf27cf45f545e7d859 WHIRLPOOL 46a227365316c913f16a3b02bc13fd3b47ace497c406a14309d480c49881665d0ca9a0d86fae8a3761d6beb159b222dfdd033e0c1cdb2aaeadd62741c232a50f |
27 |
DIST puppet-3.8.7.tar.gz 2650247 SHA256 50460a3dd8d25118e25eb01178d09743dabc01cd185f6b2cc723bae21ff023c2 SHA512 f86568d4f33c8c18da270e089e1274ce2e3c705c116b078531bb66656f0bbb9a2fc95effbb8bf5355a082d4f32ce5b44e7f6e316937164aa0d71dd47e654c618 WHIRLPOOL 6e3b754f9e6f40c6037652dc7d746e616871a653640e2a91ab7dd3e70b4240c0b377d0f79c543ca95c5d661046c6431e30f263e0f18998cac0ca3089a4634273 |
28 |
-DIST puppet-4.0.0.tar.gz 2498445 SHA256 c02a5cceb68d6c26228c242a312d68cf054233842e914e9d3aec32b38034e013 SHA512 c8ec0771105e83498f7558e1dfa8679d94cb2d526589041319f35cce214a4c8602ebf8541a15fa64ce542168d101042153815887fb8350bce0c4371c490f396f WHIRLPOOL af53d8b14b7110e6648873e9822de37a8bb17b7f635800d9a9fb1fff7df22000cd13604b45913ddddbae58b7af198c80e84c001cc8b6d1643db9ead4ece42bb7 |
29 |
-DIST puppet-4.1.0.tar.gz 2532579 SHA256 a168ac45a7b25932dfc78bd5da3efe41363e239c7361dd5c4f91615dc17bb275 SHA512 85ba32fb3a7e9f3413f201263943411fbb6b57a4aa13461954b32c1095b06d04f26288a216c5624290cf89d09183bc86bb5f57769fe2ccadc44bf57cd601f5d3 WHIRLPOOL 5288b3204a5c5b96da4eabdee19c1156e71b3a76662d8d28fc8e43988e76ca52618d423c207c1a25d5d92638c559db76ee3c8ce336286d3a5e875c1dc538f8b8 |
30 |
-DIST puppet-4.2.1.tar.gz 2546267 SHA256 519842dfa03ff78c94e77fb28867aef12933691b9e2ce41788f80c5c2865fe7e SHA512 d4ce3f6cd0fbca4270a9121671c27985c9aaa5360a1a317afcc8f79cd81d285e1661cc77d50dda47abd8e50309762d5931545ea4d675b9fb6c32b612e570fd3d WHIRLPOOL 492294158f7f5eb78b93098c759c97ca53a09fc7b24a8350dfd76220a1d578f78375ba3bd9d618b97299931001af83cc5475c4f6ad9bbb1c3d9744fa07585bfd |
31 |
-DIST puppet-4.2.2.tar.gz 2550591 SHA256 2d34cda2c65c885ba16e6644edd7733d55e6a0e1011a1f0f7fe80b411affc348 SHA512 63fdbce7839fe1638c22129d22bf2aeef29838adceb6c53aaaf54acc7c9d2957ed559e3625a13dfa1f35b556791de0232868f5ecdc439be95b0b64bea097d217 WHIRLPOOL e2f579efbfc3fbab35ee3a23f40a396b0326484c935eaacead503848abc8406fe705701a2ab7eaf28e070feedef7ac4467d4bbf3412f5999091c809c88550c4c |
32 |
-DIST puppet-4.4.1.tar.gz 2675495 SHA256 a8b15fc035acd56711fdc6160cfbcae455f9f2708ed49ee8c937d93aa7d1c291 SHA512 d9ba703dc0544c5feddbd6c8f28eddba330cc1906e010cf3fc703541ed2d8595262dac56dbdd3ade49d652e3f55942115494928dc40bfe07df4d1b558577787c WHIRLPOOL 11fb2df07ac621cc4a28bcc83e89cd815e609467a0e7d86e15220963b3c907ae1ba772ff313a8ec7a578c0a7299b95625f311d3cb0ef6936e3fcde9bebd28f79 |
33 |
DIST puppet-4.4.2.tar.gz 2680253 SHA256 90ea74703b415965def15566a6d709fbd781a1e21589688c22d2f1bab4688860 SHA512 38c4e4e94693e8f3131aba44ad8b03437cd6896f8266e6f9d6434e355f044c87173034bbd336c33e5848692de60c5b4612141128a95a3d088947e72f90d13bc1 WHIRLPOOL c7d06954d1a9b46cc7f56e73da88dd3297179f1f7ede646601b6305940e200f29bf7047e494df3be12e76b0640673d616058055bc4887d3e296a5372daeab0fd |
34 |
|
35 |
diff --git a/app-admin/puppet/puppet-4.0.0-r3.ebuild b/app-admin/puppet/puppet-4.0.0-r3.ebuild |
36 |
deleted file mode 100644 |
37 |
index a6a95de..0000000 |
38 |
--- a/app-admin/puppet/puppet-4.0.0-r3.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,163 +0,0 @@ |
41 |
-# Copyright 1999-2015 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Id$ |
44 |
- |
45 |
-EAPI="5" |
46 |
- |
47 |
-USE_RUBY="ruby20 ruby21" |
48 |
- |
49 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec" |
50 |
- |
51 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
52 |
- |
53 |
-DESCRIPTION="A system automation and configuration management software." |
54 |
-HOMEPAGE="http://puppetlabs.com/" |
55 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
56 |
- |
57 |
-LICENSE="Apache-2.0 GPL-2" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
60 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs" |
61 |
- |
62 |
-ruby_add_rdepend " |
63 |
- dev-ruby/hiera |
64 |
- >=dev-ruby/rgen-0.6.5 |
65 |
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3 |
66 |
- dev-ruby/json |
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 |
- |
75 |
-DEPEND="${DEPEND} |
76 |
- dev-lang/ruby |
77 |
- emacs? ( virtual/emacs ) |
78 |
- xemacs? ( app-editors/xemacs )" |
79 |
-RDEPEND="${RDEPEND} |
80 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
81 |
- selinux? ( |
82 |
- sys-libs/libselinux[ruby] |
83 |
- sec-policy/selinux-puppet |
84 |
- ) |
85 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
86 |
- >=app-portage/eix-0.18.0" |
87 |
- |
88 |
-SITEFILE="50${PN}-mode-gentoo.el" |
89 |
- |
90 |
-pkg_setup() { |
91 |
- enewgroup puppet |
92 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
93 |
-} |
94 |
- |
95 |
-all_ruby_prepare() { |
96 |
- # Avoid spec that require unpackaged json-schema. |
97 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
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 |
-all_ruby_compile() { |
108 |
- if use emacs ; then |
109 |
- elisp-compile ext/emacs/puppet-mode.el |
110 |
- fi |
111 |
- |
112 |
- if use xemacs ; then |
113 |
- # Create a separate version for xemacs to be able to install |
114 |
- # emacs and xemacs in parallel. |
115 |
- mkdir ext/xemacs |
116 |
- cp ext/emacs/* ext/xemacs/ |
117 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
118 |
- fi |
119 |
-} |
120 |
- |
121 |
-each_ruby_install() { |
122 |
- each_fakegem_install |
123 |
-} |
124 |
- |
125 |
-all_ruby_install() { |
126 |
- all_fakegem_install |
127 |
- |
128 |
- # systemd stuffs |
129 |
- insinto /usr/lib/systemd/system |
130 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
131 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service" |
132 |
- |
133 |
- # tmpfiles stuff |
134 |
- insinto /usr/lib/tmpfiles.d |
135 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
136 |
- |
137 |
- # openrc init stuff |
138 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
139 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
140 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
141 |
- |
142 |
- keepdir /etc/puppetlabs/puppet/ssl |
143 |
- |
144 |
- keepdir /var/lib/puppet/facts |
145 |
- keepdir /var/lib/puppet/files |
146 |
- fowners -R puppet:puppet /var/lib/puppet |
147 |
- |
148 |
- fperms 0750 /var/lib/puppet |
149 |
- |
150 |
- fperms 0750 /etc/puppetlabs |
151 |
- fperms 0750 /etc/puppetlabs/puppet |
152 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
153 |
- fowners -R :puppet /etc/puppetlabs |
154 |
- fowners -R :puppet /var/lib/puppet |
155 |
- |
156 |
- if use emacs ; then |
157 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
158 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
159 |
- fi |
160 |
- |
161 |
- if use xemacs ; then |
162 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
163 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
164 |
- fi |
165 |
- |
166 |
- if use ldap ; then |
167 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
168 |
- fi |
169 |
- |
170 |
- # ext and examples files |
171 |
- for f in $(find ext examples -type f) ; do |
172 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
173 |
- done |
174 |
-} |
175 |
- |
176 |
-pkg_postinst() { |
177 |
- elog |
178 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
179 |
- elog "cause puppet to hang while installing packages." |
180 |
- elog |
181 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
182 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
183 |
- elog |
184 |
- |
185 |
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then |
186 |
- elog |
187 |
- elog "If you're upgrading from 3.x then please move everything in /etc/puppet to" |
188 |
- elog "/etc/puppetlabs/puppet" |
189 |
- elog "Also, puppet now uses config directories for modules and manifests." |
190 |
- elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html" |
191 |
- elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html" |
192 |
- elog "for more information." |
193 |
- elog |
194 |
- fi |
195 |
- |
196 |
- use emacs && elisp-site-regen |
197 |
- use xemacs && xemacs-elisp-site-regen |
198 |
-} |
199 |
- |
200 |
-pkg_postrm() { |
201 |
- use emacs && elisp-site-regen |
202 |
- use xemacs && xemacs-elisp-site-regen |
203 |
-} |
204 |
|
205 |
diff --git a/app-admin/puppet/puppet-4.1.0-r1.ebuild b/app-admin/puppet/puppet-4.1.0-r1.ebuild |
206 |
deleted file mode 100644 |
207 |
index a6a95de..0000000 |
208 |
--- a/app-admin/puppet/puppet-4.1.0-r1.ebuild |
209 |
+++ /dev/null |
210 |
@@ -1,163 +0,0 @@ |
211 |
-# Copyright 1999-2015 Gentoo Foundation |
212 |
-# Distributed under the terms of the GNU General Public License v2 |
213 |
-# $Id$ |
214 |
- |
215 |
-EAPI="5" |
216 |
- |
217 |
-USE_RUBY="ruby20 ruby21" |
218 |
- |
219 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec" |
220 |
- |
221 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
222 |
- |
223 |
-DESCRIPTION="A system automation and configuration management software." |
224 |
-HOMEPAGE="http://puppetlabs.com/" |
225 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
226 |
- |
227 |
-LICENSE="Apache-2.0 GPL-2" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
230 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs" |
231 |
- |
232 |
-ruby_add_rdepend " |
233 |
- dev-ruby/hiera |
234 |
- >=dev-ruby/rgen-0.6.5 |
235 |
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3 |
236 |
- dev-ruby/json |
237 |
- augeas? ( dev-ruby/ruby-augeas ) |
238 |
- diff? ( dev-ruby/diff-lcs ) |
239 |
- doc? ( dev-ruby/rdoc ) |
240 |
- ldap? ( dev-ruby/ruby-ldap ) |
241 |
- shadow? ( dev-ruby/ruby-shadow ) |
242 |
- sqlite? ( dev-ruby/sqlite3 ) |
243 |
- virtual/ruby-ssl" |
244 |
- |
245 |
-DEPEND="${DEPEND} |
246 |
- dev-lang/ruby |
247 |
- emacs? ( virtual/emacs ) |
248 |
- xemacs? ( app-editors/xemacs )" |
249 |
-RDEPEND="${RDEPEND} |
250 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
251 |
- selinux? ( |
252 |
- sys-libs/libselinux[ruby] |
253 |
- sec-policy/selinux-puppet |
254 |
- ) |
255 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
256 |
- >=app-portage/eix-0.18.0" |
257 |
- |
258 |
-SITEFILE="50${PN}-mode-gentoo.el" |
259 |
- |
260 |
-pkg_setup() { |
261 |
- enewgroup puppet |
262 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
263 |
-} |
264 |
- |
265 |
-all_ruby_prepare() { |
266 |
- # Avoid spec that require unpackaged json-schema. |
267 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
268 |
- |
269 |
- # Avoid specs that can only run in the puppet.git repository. This |
270 |
- # should be narrowed down to the specific specs. |
271 |
- rm spec/integration/parser/compiler_spec.rb || die |
272 |
- |
273 |
- # Avoid failing spec that need further investigation. |
274 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
275 |
-} |
276 |
- |
277 |
-all_ruby_compile() { |
278 |
- if use emacs ; then |
279 |
- elisp-compile ext/emacs/puppet-mode.el |
280 |
- fi |
281 |
- |
282 |
- if use xemacs ; then |
283 |
- # Create a separate version for xemacs to be able to install |
284 |
- # emacs and xemacs in parallel. |
285 |
- mkdir ext/xemacs |
286 |
- cp ext/emacs/* ext/xemacs/ |
287 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
288 |
- fi |
289 |
-} |
290 |
- |
291 |
-each_ruby_install() { |
292 |
- each_fakegem_install |
293 |
-} |
294 |
- |
295 |
-all_ruby_install() { |
296 |
- all_fakegem_install |
297 |
- |
298 |
- # systemd stuffs |
299 |
- insinto /usr/lib/systemd/system |
300 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
301 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service" |
302 |
- |
303 |
- # tmpfiles stuff |
304 |
- insinto /usr/lib/tmpfiles.d |
305 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
306 |
- |
307 |
- # openrc init stuff |
308 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
309 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
310 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
311 |
- |
312 |
- keepdir /etc/puppetlabs/puppet/ssl |
313 |
- |
314 |
- keepdir /var/lib/puppet/facts |
315 |
- keepdir /var/lib/puppet/files |
316 |
- fowners -R puppet:puppet /var/lib/puppet |
317 |
- |
318 |
- fperms 0750 /var/lib/puppet |
319 |
- |
320 |
- fperms 0750 /etc/puppetlabs |
321 |
- fperms 0750 /etc/puppetlabs/puppet |
322 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
323 |
- fowners -R :puppet /etc/puppetlabs |
324 |
- fowners -R :puppet /var/lib/puppet |
325 |
- |
326 |
- if use emacs ; then |
327 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
328 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
329 |
- fi |
330 |
- |
331 |
- if use xemacs ; then |
332 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
333 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
334 |
- fi |
335 |
- |
336 |
- if use ldap ; then |
337 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
338 |
- fi |
339 |
- |
340 |
- # ext and examples files |
341 |
- for f in $(find ext examples -type f) ; do |
342 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
343 |
- done |
344 |
-} |
345 |
- |
346 |
-pkg_postinst() { |
347 |
- elog |
348 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
349 |
- elog "cause puppet to hang while installing packages." |
350 |
- elog |
351 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
352 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
353 |
- elog |
354 |
- |
355 |
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then |
356 |
- elog |
357 |
- elog "If you're upgrading from 3.x then please move everything in /etc/puppet to" |
358 |
- elog "/etc/puppetlabs/puppet" |
359 |
- elog "Also, puppet now uses config directories for modules and manifests." |
360 |
- elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html" |
361 |
- elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html" |
362 |
- elog "for more information." |
363 |
- elog |
364 |
- fi |
365 |
- |
366 |
- use emacs && elisp-site-regen |
367 |
- use xemacs && xemacs-elisp-site-regen |
368 |
-} |
369 |
- |
370 |
-pkg_postrm() { |
371 |
- use emacs && elisp-site-regen |
372 |
- use xemacs && xemacs-elisp-site-regen |
373 |
-} |
374 |
|
375 |
diff --git a/app-admin/puppet/puppet-4.2.1-r1.ebuild b/app-admin/puppet/puppet-4.2.1-r1.ebuild |
376 |
deleted file mode 100644 |
377 |
index 06b0bcb..0000000 |
378 |
--- a/app-admin/puppet/puppet-4.2.1-r1.ebuild |
379 |
+++ /dev/null |
380 |
@@ -1,175 +0,0 @@ |
381 |
-# Copyright 1999-2015 Gentoo Foundation |
382 |
-# Distributed under the terms of the GNU General Public License v2 |
383 |
-# $Id$ |
384 |
- |
385 |
-EAPI="5" |
386 |
- |
387 |
-USE_RUBY="ruby20 ruby21" |
388 |
- |
389 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
390 |
- |
391 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
392 |
- |
393 |
-DESCRIPTION="A system automation and configuration management software." |
394 |
-HOMEPAGE="http://puppetlabs.com/" |
395 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
396 |
- |
397 |
-LICENSE="Apache-2.0 GPL-2" |
398 |
-SLOT="0" |
399 |
-KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
400 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs" |
401 |
-RESTRICT="test" |
402 |
- |
403 |
-ruby_add_rdepend " |
404 |
- dev-ruby/hiera |
405 |
- >=dev-ruby/rgen-0.6.5 |
406 |
- dev-ruby/json |
407 |
- >=dev-ruby/facter-3.0.0 |
408 |
- augeas? ( dev-ruby/ruby-augeas ) |
409 |
- diff? ( dev-ruby/diff-lcs ) |
410 |
- doc? ( dev-ruby/rdoc ) |
411 |
- ldap? ( dev-ruby/ruby-ldap ) |
412 |
- shadow? ( dev-ruby/ruby-shadow ) |
413 |
- sqlite? ( dev-ruby/sqlite3 ) |
414 |
- virtual/ruby-ssl" |
415 |
- |
416 |
-ruby_add_bdepend " |
417 |
- test? ( |
418 |
- dev-ruby/mocha |
419 |
- dev-ruby/rack |
420 |
- dev-ruby/rspec-its |
421 |
- )" |
422 |
-# this should go in the above lists, but isn't because of test deps not being keyworded |
423 |
-# dev-ruby/rspec-collection_matchers |
424 |
- |
425 |
-DEPEND+=" ${DEPEND} |
426 |
- emacs? ( virtual/emacs ) |
427 |
- xemacs? ( app-editors/xemacs )" |
428 |
-RDEPEND+=" ${RDEPEND} |
429 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
430 |
- selinux? ( |
431 |
- sys-libs/libselinux[ruby] |
432 |
- sec-policy/selinux-puppet |
433 |
- ) |
434 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
435 |
- >=app-portage/eix-0.18.0" |
436 |
- |
437 |
-SITEFILE="50${PN}-mode-gentoo.el" |
438 |
- |
439 |
-pkg_setup() { |
440 |
- enewgroup puppet |
441 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
442 |
-} |
443 |
- |
444 |
-all_ruby_prepare() { |
445 |
- # Avoid spec that require unpackaged json-schema. |
446 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
447 |
- |
448 |
- # can't be run within portage. |
449 |
- epatch "${FILESDIR}/puppet-fix-tests-4.x.patch" |
450 |
- |
451 |
- # Avoid specs that can only run in the puppet.git repository. This |
452 |
- # should be narrowed down to the specific specs. |
453 |
- rm spec/integration/parser/compiler_spec.rb || die |
454 |
- |
455 |
- # Avoid failing spec that need further investigation. |
456 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
457 |
-} |
458 |
- |
459 |
-all_ruby_compile() { |
460 |
- if use emacs ; then |
461 |
- elisp-compile ext/emacs/puppet-mode.el |
462 |
- fi |
463 |
- |
464 |
- if use xemacs ; then |
465 |
- # Create a separate version for xemacs to be able to install |
466 |
- # emacs and xemacs in parallel. |
467 |
- mkdir ext/xemacs |
468 |
- cp ext/emacs/* ext/xemacs/ |
469 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
470 |
- fi |
471 |
-} |
472 |
- |
473 |
-each_ruby_install() { |
474 |
- each_fakegem_install |
475 |
-# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
476 |
-} |
477 |
- |
478 |
-all_ruby_install() { |
479 |
- all_fakegem_install |
480 |
- |
481 |
- # systemd stuffs |
482 |
- insinto /usr/lib/systemd/system |
483 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
484 |
- |
485 |
- # tmpfiles stuff |
486 |
- insinto /usr/lib/tmpfiles.d |
487 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
488 |
- |
489 |
- # openrc init stuff |
490 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
491 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
492 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
493 |
- |
494 |
- keepdir /etc/puppetlabs/puppet/ssl |
495 |
- |
496 |
- keepdir /var/lib/puppet/facts |
497 |
- keepdir /var/lib/puppet/files |
498 |
- fowners -R puppet:puppet /var/lib/puppet |
499 |
- |
500 |
- fperms 0750 /var/lib/puppet |
501 |
- |
502 |
- fperms 0750 /etc/puppetlabs |
503 |
- fperms 0750 /etc/puppetlabs/puppet |
504 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
505 |
- fowners -R :puppet /etc/puppetlabs |
506 |
- fowners -R :puppet /var/lib/puppet |
507 |
- |
508 |
- if use emacs ; then |
509 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
510 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
511 |
- fi |
512 |
- |
513 |
- if use xemacs ; then |
514 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
515 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
516 |
- fi |
517 |
- |
518 |
- if use ldap ; then |
519 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
520 |
- fi |
521 |
- |
522 |
- # ext and examples files |
523 |
- for f in $(find ext examples -type f) ; do |
524 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
525 |
- done |
526 |
-} |
527 |
- |
528 |
-pkg_postinst() { |
529 |
- elog |
530 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
531 |
- elog "cause puppet to hang while installing packages." |
532 |
- elog |
533 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
534 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
535 |
- elog |
536 |
- |
537 |
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then |
538 |
- elog |
539 |
- elog "If you're upgrading from 3.x then please move everything in /etc/puppet to" |
540 |
- elog "/etc/puppetlabs/puppet" |
541 |
- elog "Also, puppet now uses config directories for modules and manifests." |
542 |
- elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html" |
543 |
- elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html" |
544 |
- elog "for more information." |
545 |
- elog |
546 |
- fi |
547 |
- |
548 |
- use emacs && elisp-site-regen |
549 |
- use xemacs && xemacs-elisp-site-regen |
550 |
-} |
551 |
- |
552 |
-pkg_postrm() { |
553 |
- use emacs && elisp-site-regen |
554 |
- use xemacs && xemacs-elisp-site-regen |
555 |
-} |
556 |
|
557 |
diff --git a/app-admin/puppet/puppet-4.2.2-r1.ebuild b/app-admin/puppet/puppet-4.2.2-r1.ebuild |
558 |
deleted file mode 100644 |
559 |
index 06b0bcb..0000000 |
560 |
--- a/app-admin/puppet/puppet-4.2.2-r1.ebuild |
561 |
+++ /dev/null |
562 |
@@ -1,175 +0,0 @@ |
563 |
-# Copyright 1999-2015 Gentoo Foundation |
564 |
-# Distributed under the terms of the GNU General Public License v2 |
565 |
-# $Id$ |
566 |
- |
567 |
-EAPI="5" |
568 |
- |
569 |
-USE_RUBY="ruby20 ruby21" |
570 |
- |
571 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
572 |
- |
573 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
574 |
- |
575 |
-DESCRIPTION="A system automation and configuration management software." |
576 |
-HOMEPAGE="http://puppetlabs.com/" |
577 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
578 |
- |
579 |
-LICENSE="Apache-2.0 GPL-2" |
580 |
-SLOT="0" |
581 |
-KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
582 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs" |
583 |
-RESTRICT="test" |
584 |
- |
585 |
-ruby_add_rdepend " |
586 |
- dev-ruby/hiera |
587 |
- >=dev-ruby/rgen-0.6.5 |
588 |
- dev-ruby/json |
589 |
- >=dev-ruby/facter-3.0.0 |
590 |
- augeas? ( dev-ruby/ruby-augeas ) |
591 |
- diff? ( dev-ruby/diff-lcs ) |
592 |
- doc? ( dev-ruby/rdoc ) |
593 |
- ldap? ( dev-ruby/ruby-ldap ) |
594 |
- shadow? ( dev-ruby/ruby-shadow ) |
595 |
- sqlite? ( dev-ruby/sqlite3 ) |
596 |
- virtual/ruby-ssl" |
597 |
- |
598 |
-ruby_add_bdepend " |
599 |
- test? ( |
600 |
- dev-ruby/mocha |
601 |
- dev-ruby/rack |
602 |
- dev-ruby/rspec-its |
603 |
- )" |
604 |
-# this should go in the above lists, but isn't because of test deps not being keyworded |
605 |
-# dev-ruby/rspec-collection_matchers |
606 |
- |
607 |
-DEPEND+=" ${DEPEND} |
608 |
- emacs? ( virtual/emacs ) |
609 |
- xemacs? ( app-editors/xemacs )" |
610 |
-RDEPEND+=" ${RDEPEND} |
611 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
612 |
- selinux? ( |
613 |
- sys-libs/libselinux[ruby] |
614 |
- sec-policy/selinux-puppet |
615 |
- ) |
616 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
617 |
- >=app-portage/eix-0.18.0" |
618 |
- |
619 |
-SITEFILE="50${PN}-mode-gentoo.el" |
620 |
- |
621 |
-pkg_setup() { |
622 |
- enewgroup puppet |
623 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
624 |
-} |
625 |
- |
626 |
-all_ruby_prepare() { |
627 |
- # Avoid spec that require unpackaged json-schema. |
628 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
629 |
- |
630 |
- # can't be run within portage. |
631 |
- epatch "${FILESDIR}/puppet-fix-tests-4.x.patch" |
632 |
- |
633 |
- # Avoid specs that can only run in the puppet.git repository. This |
634 |
- # should be narrowed down to the specific specs. |
635 |
- rm spec/integration/parser/compiler_spec.rb || die |
636 |
- |
637 |
- # Avoid failing spec that need further investigation. |
638 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
639 |
-} |
640 |
- |
641 |
-all_ruby_compile() { |
642 |
- if use emacs ; then |
643 |
- elisp-compile ext/emacs/puppet-mode.el |
644 |
- fi |
645 |
- |
646 |
- if use xemacs ; then |
647 |
- # Create a separate version for xemacs to be able to install |
648 |
- # emacs and xemacs in parallel. |
649 |
- mkdir ext/xemacs |
650 |
- cp ext/emacs/* ext/xemacs/ |
651 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
652 |
- fi |
653 |
-} |
654 |
- |
655 |
-each_ruby_install() { |
656 |
- each_fakegem_install |
657 |
-# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
658 |
-} |
659 |
- |
660 |
-all_ruby_install() { |
661 |
- all_fakegem_install |
662 |
- |
663 |
- # systemd stuffs |
664 |
- insinto /usr/lib/systemd/system |
665 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
666 |
- |
667 |
- # tmpfiles stuff |
668 |
- insinto /usr/lib/tmpfiles.d |
669 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
670 |
- |
671 |
- # openrc init stuff |
672 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
673 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
674 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
675 |
- |
676 |
- keepdir /etc/puppetlabs/puppet/ssl |
677 |
- |
678 |
- keepdir /var/lib/puppet/facts |
679 |
- keepdir /var/lib/puppet/files |
680 |
- fowners -R puppet:puppet /var/lib/puppet |
681 |
- |
682 |
- fperms 0750 /var/lib/puppet |
683 |
- |
684 |
- fperms 0750 /etc/puppetlabs |
685 |
- fperms 0750 /etc/puppetlabs/puppet |
686 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
687 |
- fowners -R :puppet /etc/puppetlabs |
688 |
- fowners -R :puppet /var/lib/puppet |
689 |
- |
690 |
- if use emacs ; then |
691 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
692 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
693 |
- fi |
694 |
- |
695 |
- if use xemacs ; then |
696 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
697 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
698 |
- fi |
699 |
- |
700 |
- if use ldap ; then |
701 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
702 |
- fi |
703 |
- |
704 |
- # ext and examples files |
705 |
- for f in $(find ext examples -type f) ; do |
706 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
707 |
- done |
708 |
-} |
709 |
- |
710 |
-pkg_postinst() { |
711 |
- elog |
712 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
713 |
- elog "cause puppet to hang while installing packages." |
714 |
- elog |
715 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
716 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
717 |
- elog |
718 |
- |
719 |
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then |
720 |
- elog |
721 |
- elog "If you're upgrading from 3.x then please move everything in /etc/puppet to" |
722 |
- elog "/etc/puppetlabs/puppet" |
723 |
- elog "Also, puppet now uses config directories for modules and manifests." |
724 |
- elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html" |
725 |
- elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html" |
726 |
- elog "for more information." |
727 |
- elog |
728 |
- fi |
729 |
- |
730 |
- use emacs && elisp-site-regen |
731 |
- use xemacs && xemacs-elisp-site-regen |
732 |
-} |
733 |
- |
734 |
-pkg_postrm() { |
735 |
- use emacs && elisp-site-regen |
736 |
- use xemacs && xemacs-elisp-site-regen |
737 |
-} |
738 |
|
739 |
diff --git a/app-admin/puppet/puppet-4.4.1.ebuild b/app-admin/puppet/puppet-4.4.1.ebuild |
740 |
deleted file mode 100644 |
741 |
index dc356cf..0000000 |
742 |
--- a/app-admin/puppet/puppet-4.4.1.ebuild |
743 |
+++ /dev/null |
744 |
@@ -1,175 +0,0 @@ |
745 |
-# Copyright 1999-2016 Gentoo Foundation |
746 |
-# Distributed under the terms of the GNU General Public License v2 |
747 |
-# $Id$ |
748 |
- |
749 |
-EAPI="5" |
750 |
- |
751 |
-USE_RUBY="ruby20 ruby21" |
752 |
- |
753 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
754 |
- |
755 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
756 |
- |
757 |
-DESCRIPTION="A system automation and configuration management software." |
758 |
-HOMEPAGE="http://puppetlabs.com/" |
759 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
760 |
- |
761 |
-LICENSE="Apache-2.0 GPL-2" |
762 |
-SLOT="0" |
763 |
-KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
764 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs" |
765 |
-RESTRICT="test" |
766 |
- |
767 |
-ruby_add_rdepend " |
768 |
- dev-ruby/hiera |
769 |
- >=dev-ruby/rgen-0.6.5 |
770 |
- dev-ruby/json |
771 |
- >=dev-ruby/facter-3.0.0 |
772 |
- augeas? ( dev-ruby/ruby-augeas ) |
773 |
- diff? ( dev-ruby/diff-lcs ) |
774 |
- doc? ( dev-ruby/rdoc ) |
775 |
- ldap? ( dev-ruby/ruby-ldap ) |
776 |
- shadow? ( dev-ruby/ruby-shadow ) |
777 |
- sqlite? ( dev-ruby/sqlite3 ) |
778 |
- virtual/ruby-ssl" |
779 |
- |
780 |
-ruby_add_bdepend " |
781 |
- test? ( |
782 |
- dev-ruby/mocha |
783 |
- dev-ruby/rack |
784 |
- dev-ruby/rspec-its |
785 |
- )" |
786 |
-# this should go in the above lists, but isn't because of test deps not being keyworded |
787 |
-# dev-ruby/rspec-collection_matchers |
788 |
- |
789 |
-DEPEND+=" ${DEPEND} |
790 |
- emacs? ( virtual/emacs ) |
791 |
- xemacs? ( app-editors/xemacs )" |
792 |
-RDEPEND+=" ${RDEPEND} |
793 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
794 |
- selinux? ( |
795 |
- sys-libs/libselinux[ruby] |
796 |
- sec-policy/selinux-puppet |
797 |
- ) |
798 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
799 |
- >=app-portage/eix-0.18.0" |
800 |
- |
801 |
-SITEFILE="50${PN}-mode-gentoo.el" |
802 |
- |
803 |
-pkg_setup() { |
804 |
- enewgroup puppet |
805 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
806 |
-} |
807 |
- |
808 |
-all_ruby_prepare() { |
809 |
- # Avoid spec that require unpackaged json-schema. |
810 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
811 |
- |
812 |
- # can't be run within portage. |
813 |
- epatch "${FILESDIR}/puppet-fix-tests-4.x.patch" |
814 |
- |
815 |
- # Avoid specs that can only run in the puppet.git repository. This |
816 |
- # should be narrowed down to the specific specs. |
817 |
- rm spec/integration/parser/compiler_spec.rb || die |
818 |
- |
819 |
- # Avoid failing spec that need further investigation. |
820 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
821 |
-} |
822 |
- |
823 |
-all_ruby_compile() { |
824 |
- if use emacs ; then |
825 |
- elisp-compile ext/emacs/puppet-mode.el |
826 |
- fi |
827 |
- |
828 |
- if use xemacs ; then |
829 |
- # Create a separate version for xemacs to be able to install |
830 |
- # emacs and xemacs in parallel. |
831 |
- mkdir ext/xemacs |
832 |
- cp ext/emacs/* ext/xemacs/ |
833 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
834 |
- fi |
835 |
-} |
836 |
- |
837 |
-each_ruby_install() { |
838 |
- each_fakegem_install |
839 |
-# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
840 |
-} |
841 |
- |
842 |
-all_ruby_install() { |
843 |
- all_fakegem_install |
844 |
- |
845 |
- # systemd stuffs |
846 |
- insinto /usr/lib/systemd/system |
847 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
848 |
- |
849 |
- # tmpfiles stuff |
850 |
- insinto /usr/lib/tmpfiles.d |
851 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
852 |
- |
853 |
- # openrc init stuff |
854 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
855 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
856 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
857 |
- |
858 |
- keepdir /etc/puppetlabs/puppet/ssl |
859 |
- |
860 |
- keepdir /var/lib/puppet/facts |
861 |
- keepdir /var/lib/puppet/files |
862 |
- fowners -R puppet:puppet /var/lib/puppet |
863 |
- |
864 |
- fperms 0750 /var/lib/puppet |
865 |
- |
866 |
- fperms 0750 /etc/puppetlabs |
867 |
- fperms 0750 /etc/puppetlabs/puppet |
868 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
869 |
- fowners -R :puppet /etc/puppetlabs |
870 |
- fowners -R :puppet /var/lib/puppet |
871 |
- |
872 |
- if use emacs ; then |
873 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
874 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
875 |
- fi |
876 |
- |
877 |
- if use xemacs ; then |
878 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
879 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
880 |
- fi |
881 |
- |
882 |
- if use ldap ; then |
883 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
884 |
- fi |
885 |
- |
886 |
- # ext and examples files |
887 |
- for f in $(find ext examples -type f) ; do |
888 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
889 |
- done |
890 |
-} |
891 |
- |
892 |
-pkg_postinst() { |
893 |
- elog |
894 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
895 |
- elog "cause puppet to hang while installing packages." |
896 |
- elog |
897 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
898 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
899 |
- elog |
900 |
- |
901 |
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then |
902 |
- elog |
903 |
- elog "If you're upgrading from 3.x then please move everything in /etc/puppet to" |
904 |
- elog "/etc/puppetlabs/puppet" |
905 |
- elog "Also, puppet now uses config directories for modules and manifests." |
906 |
- elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html" |
907 |
- elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html" |
908 |
- elog "for more information." |
909 |
- elog |
910 |
- fi |
911 |
- |
912 |
- use emacs && elisp-site-regen |
913 |
- use xemacs && xemacs-elisp-site-regen |
914 |
-} |
915 |
- |
916 |
-pkg_postrm() { |
917 |
- use emacs && elisp-site-regen |
918 |
- use xemacs && xemacs-elisp-site-regen |
919 |
-} |