1 |
commit: c0fb9c0c6f542d840260d4b028e90378e0066f5f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 2 05:57:47 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 06:29:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fb9c0c |
7 |
|
8 |
app-admin/puppet: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
app-admin/puppet/Manifest | 1 - |
13 |
app-admin/puppet/puppet-3.8.7-r1.ebuild | 196 -------------------------------- |
14 |
2 files changed, 197 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest |
17 |
index b252179e1d4..db54a04b803 100644 |
18 |
--- a/app-admin/puppet/Manifest |
19 |
+++ b/app-admin/puppet/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST puppet-3.8.7.tar.gz 2650247 BLAKE2B 20728a12c9c123f4a366ee89b25235fd73215a764ebe7fbd5f618d99f8db06935845778d3759722ccaf6f6a68536ea6de34a413824afba777d72e11d0543e864 SHA512 f86568d4f33c8c18da270e089e1274ce2e3c705c116b078531bb66656f0bbb9a2fc95effbb8bf5355a082d4f32ce5b44e7f6e316937164aa0d71dd47e654c618 |
22 |
DIST puppet-4.10.1.tar.gz 2954351 BLAKE2B 6cf8ac28d8c09f4b82956b3fc8ebc17c0ec35c77818797e5101d03e099850b75fcfa35ec19bd351bcb51fb1d5071541f4f2b8b3be9eada3d21c00c8d8108aa95 SHA512 d232f062b93485f7eea8abb9c5420462e313e6050e7335159f051f7c7af86338c006ae4edc09e0e1370784ee7b076911ca563a4cfc6a1f2afc7179bed08d2032 |
23 |
DIST puppet-4.10.8.tar.gz 2979824 BLAKE2B 802b65d48ff7d8303e3cc847a9f753a5e19c0ada6ee02dc1fc9c748da8d69462c34bdfeddeedf0057179ff1133665439c41e970c41ca1728463292ef26e996ab SHA512 9f3384702dd4938e1e00aeceb0745b760de32000e0dd59d5b846d1120a46026499176a51d0409e3a0ae414efc0872854c204d1941385695a4c57c209fbd1f28d |
24 |
DIST puppet-5.1.0.tar.gz 2734018 BLAKE2B d4169fee328710b7685de2606196de68e21ca31f9a9945bdd84255f5185fd2d95c6543a7b88b5130f1f01e60e04294664de71a8ccd1319c2e0bebf4d031e6225 SHA512 07019f40c5b7f18243f13abb899c2ff2ea4b135895ab98c13da3df50f8e720e2759f8eb39e349ff04286da7de504cffea3df8acf9711e8591b25001a2a3f9c15 |
25 |
|
26 |
diff --git a/app-admin/puppet/puppet-3.8.7-r1.ebuild b/app-admin/puppet/puppet-3.8.7-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index f7e608e5bbf..00000000000 |
29 |
--- a/app-admin/puppet/puppet-3.8.7-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,196 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI="5" |
36 |
- |
37 |
-USE_RUBY="ruby21 ruby22 ruby23" |
38 |
- |
39 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec" |
40 |
- |
41 |
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator |
42 |
- |
43 |
-DESCRIPTION="A system automation and configuration management software" |
44 |
-HOMEPAGE="http://puppetlabs.com/" |
45 |
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="Apache-2.0 GPL-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
50 |
-IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs" |
51 |
- |
52 |
-ruby_add_rdepend " |
53 |
- dev-ruby/hiera |
54 |
- >=dev-ruby/rgen-0.7.0 |
55 |
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3 |
56 |
- dev-ruby/json |
57 |
- augeas? ( dev-ruby/ruby-augeas ) |
58 |
- diff? ( dev-ruby/diff-lcs ) |
59 |
- doc? ( dev-ruby/rdoc ) |
60 |
- ldap? ( dev-ruby/ruby-ldap ) |
61 |
- shadow? ( dev-ruby/ruby-shadow ) |
62 |
- sqlite? ( dev-ruby/sqlite3 ) |
63 |
- virtual/ruby-ssl" |
64 |
- |
65 |
-ruby_add_bdepend "test? ( dev-ruby/mocha )" |
66 |
- |
67 |
-DEPEND="${DEPEND} |
68 |
- emacs? ( virtual/emacs ) |
69 |
- xemacs? ( app-editors/xemacs )" |
70 |
-RDEPEND="${RDEPEND} |
71 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
72 |
- selinux? ( |
73 |
- sys-libs/libselinux[ruby] |
74 |
- sec-policy/selinux-puppet |
75 |
- ) |
76 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
77 |
- >=app-portage/eix-0.18.0" |
78 |
- |
79 |
-SITEFILE="50${PN}-mode-gentoo.el" |
80 |
- |
81 |
-pkg_setup() { |
82 |
- enewgroup puppet |
83 |
- enewuser puppet -1 -1 /var/lib/puppet puppet |
84 |
-} |
85 |
- |
86 |
-all_ruby_prepare() { |
87 |
- # Fix compatibility with ruby22 and later. Psych has been the |
88 |
- # default YAML engine since ruby 2.0 and ruby22 and later no longer |
89 |
- # define YAML::ENGINE at all. |
90 |
- sed -i -e '/YAML_ENGINE =/ s/syck/psych/' lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb |
91 |
- |
92 |
- # Avoid spec that require unpackaged json-schema. |
93 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
94 |
- |
95 |
- # Avoid Rails specs to avoid this dependency and because they |
96 |
- # currently fail against Rails 4.1. |
97 |
- find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die |
98 |
- rm -r spec/unit/rails || die |
99 |
- rm spec/unit/parser/collector_spec.rb || die |
100 |
- |
101 |
- # Avoid specs that can only run in the puppet.git repository. This |
102 |
- # should be narrowed down to the specific specs. |
103 |
- rm spec/integration/parser/compiler_spec.rb spec/integration/parser/future_compiler_spec.rb || die |
104 |
- |
105 |
- # Avoid failing spec that need further investigation. |
106 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
107 |
-} |
108 |
- |
109 |
-all_ruby_compile() { |
110 |
- if use emacs ; then |
111 |
- elisp-compile ext/emacs/puppet-mode.el |
112 |
- fi |
113 |
- |
114 |
- if use xemacs ; then |
115 |
- # Create a separate version for xemacs to be able to install |
116 |
- # emacs and xemacs in parallel. |
117 |
- mkdir ext/xemacs |
118 |
- cp ext/emacs/* ext/xemacs/ |
119 |
- xemacs-elisp-compile ext/xemacs/puppet-mode.el |
120 |
- fi |
121 |
-} |
122 |
- |
123 |
-each_ruby_install() { |
124 |
- each_fakegem_install |
125 |
- #${RUBY} install.rb --destdir="${D}" install || die |
126 |
-} |
127 |
- |
128 |
-all_ruby_install() { |
129 |
- all_fakegem_install |
130 |
- |
131 |
- #systemd stuffs |
132 |
- insinto /usr/lib/systemd/system |
133 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
134 |
- insinto /usr/lib/tmpfiles.d |
135 |
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
136 |
- |
137 |
- newinitd "${FILESDIR}"/puppet.init-r1 puppet |
138 |
- |
139 |
- # Initial configuration files |
140 |
- insinto /etc/puppet |
141 |
- |
142 |
- # Location of log and data files |
143 |
- keepdir /var/log/puppet |
144 |
- fowners -R puppet:puppet /var/log/puppet |
145 |
- |
146 |
- if use minimal ; then |
147 |
- rm "${ED}/etc/puppet/auth.conf" |
148 |
- else |
149 |
- insinto /usr/lib/systemd/system |
150 |
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service" |
151 |
- newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster |
152 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
153 |
- |
154 |
- insinto /etc/puppet |
155 |
- |
156 |
- keepdir /etc/puppet/manifests |
157 |
- keepdir /etc/puppet/modules |
158 |
- |
159 |
- keepdir /var/lib/puppet/ssl |
160 |
- keepdir /var/lib/puppet/facts |
161 |
- keepdir /var/lib/puppet/files |
162 |
- fowners -R puppet:puppet /var/lib/puppet |
163 |
- fperms 0750 /var/lib/puppet |
164 |
- fi |
165 |
- fperms 0750 /etc/puppet |
166 |
- fowners :puppet /etc/puppet |
167 |
- |
168 |
- if use emacs ; then |
169 |
- elisp-install ${PN} ext/emacs/puppet-mode.el* |
170 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
171 |
- fi |
172 |
- |
173 |
- if use xemacs ; then |
174 |
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
175 |
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
176 |
- fi |
177 |
- |
178 |
- if use ldap ; then |
179 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
180 |
- fi |
181 |
- |
182 |
- # ext and examples files |
183 |
- for f in $(find ext examples -type f) ; do |
184 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
185 |
- done |
186 |
-} |
187 |
- |
188 |
-pkg_postinst() { |
189 |
- elog |
190 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
191 |
- elog "cause puppet to hang while installing packages." |
192 |
- elog |
193 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
194 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
195 |
- elog |
196 |
- |
197 |
- if [ \ |
198 |
- -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \ |
199 |
- -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \ |
200 |
- -f "${EPREFIX}/etc/puppet/puppetca.conf" \ |
201 |
- ] ; then |
202 |
- elog |
203 |
- elog "Please remove deprecated config files." |
204 |
- elog " /etc/puppet/puppetca.conf" |
205 |
- elog " /etc/puppet/puppetd.conf" |
206 |
- elog " /etc/puppet/puppetmasterd.conf" |
207 |
- elog |
208 |
- fi |
209 |
- |
210 |
- local v |
211 |
- for v in ${REPLACING_VERSIONS}; do |
212 |
- if [ "$(get_major_version $v)" = "2" ]; then |
213 |
- elog |
214 |
- elog "If you're upgrading from 2.x then we strongly suggest you to read:" |
215 |
- elog "http://docs.puppetlabs.com/guides/upgrading.html" |
216 |
- elog |
217 |
- fi |
218 |
- done |
219 |
- |
220 |
- use emacs && elisp-site-regen |
221 |
- use xemacs && xemacs-elisp-site-regen |
222 |
-} |
223 |
- |
224 |
-pkg_postrm() { |
225 |
- use emacs && elisp-site-regen |
226 |
- use xemacs && xemacs-elisp-site-regen |
227 |
-} |