Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/puppet: puppet-2.6.11.ebuild ChangeLog puppet-2.7.5.ebuild
Date: Fri, 30 Sep 2011 23:59:00
Message-Id: 20110930235851.2D01120036@flycatcher.gentoo.org
1 matsuu 11/09/30 23:58:51
2
3 Modified: ChangeLog
4 Added: puppet-2.6.11.ebuild puppet-2.7.5.ebuild
5 Log:
6 Version bumped, bug #385149.
7
8 (Portage version: 2.1.10.19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.82 app-admin/puppet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.82&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.82&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.81&r2=1.82
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v
20 retrieving revision 1.81
21 retrieving revision 1.82
22 diff -u -r1.81 -r1.82
23 --- ChangeLog 30 Sep 2011 20:59:24 -0000 1.81
24 +++ ChangeLog 30 Sep 2011 23:58:51 -0000 1.82
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-admin/puppet
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.81 2011/09/30 20:59:24 beandog Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.82 2011/09/30 23:58:51 matsuu Exp $
30 +
31 +*puppet-2.7.5 (30 Sep 2011)
32 +*puppet-2.6.11 (30 Sep 2011)
33 +
34 + 30 Sep 2011; MATSUU Takuto <matsuu@g.o> +puppet-2.6.11.ebuild,
35 + +puppet-2.7.5.ebuild:
36 + Version bumped, bug #385149.
37
38 30 Sep 2011; Steve Dibb <beandog@g.o> puppet-2.6.10.ebuild:
39 amd64 stable, security bug 384859
40
41
42
43 1.1 app-admin/puppet/puppet-2.6.11.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.11.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.11.ebuild?rev=1.1&content-type=text/plain
47
48 Index: puppet-2.6.11.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.6.11.ebuild,v 1.1 2011/09/30 23:58:51 matsuu Exp $
53
54 EAPI="3"
55 USE_RUBY="ruby18"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_TASK_TEST="test"
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
60
61 inherit elisp-common xemacs-elisp-common eutils ruby-fakegem
62
63 DESCRIPTION="A system automation and configuration management software"
64 HOMEPAGE="http://puppetlabs.com/"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite3 vim-syntax xemacs"
69 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
70
71 ruby_add_rdepend "
72 >=dev-ruby/facter-1.5.1
73 augeas? ( dev-ruby/ruby-augeas )
74 diff? ( dev-ruby/diff-lcs )
75 doc? ( dev-ruby/rdoc )
76 ldap? ( dev-ruby/ruby-ldap )
77 shadow? ( dev-ruby/ruby-shadow )
78 sqlite3? ( dev-ruby/sqlite3-ruby )
79 virtual/ruby-ssl"
80 # couchdb? ( dev-ruby/couchrest )
81 # mongrel? ( www-servers/mongrel )
82 # rack? ( >=dev-ruby/rack-1 )
83 # rails? (
84 # dev-ruby/rails
85 # >=dev-ruby/activerecord-2.1
86 # )
87 # stomp? ( dev-ruby/stomp )
88
89 DEPEND="${DEPEND}
90 emacs? ( virtual/emacs )
91 xemacs? ( app-editors/xemacs )"
92 RDEPEND="${RDEPEND}
93 emacs? ( virtual/emacs )
94 xemacs? ( app-editors/xemacs )
95 rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
96 selinux? ( sys-libs/libselinux[ruby] )
97 >=app-portage/eix-0.18.0"
98
99 SITEFILE="50${PN}-mode-gentoo.el"
100
101 pkg_setup() {
102 enewgroup puppet
103 enewuser puppet -1 -1 /var/lib/puppet puppet
104 }
105
106 all_ruby_compile() {
107 all_fakegem_compile
108
109 if use emacs ; then
110 elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed"
111 fi
112
113 if use xemacs ; then
114 # Create a separate version for xemacs to be able to install
115 # emacs and xemacs in parallel.
116 mkdir ext/xemacs || die
117 cp ext/emacs/* ext/xemacs/ || die
118 xemacs-elisp-compile ext/xemacs/puppet-mode.el || die "xemacs-elisp-compile failed"
119 fi
120 }
121
122 each_fakegem_install() {
123 ${RUBY} install.rb --destdir="${D}" install || die
124 }
125
126 all_ruby_install() {
127 all_fakegem_install
128
129 newinitd "${FILESDIR}"/puppetmaster.init puppetmaster || die
130 doconfd conf/gentoo/conf.d/puppetmaster || die
131 newinitd "${FILESDIR}"/puppet.init puppet || die
132 doconfd conf/gentoo/conf.d/puppet || die
133
134 # Initial configuration files
135 keepdir /etc/puppet/manifests || die
136 keepdir /etc/puppet/modules || die
137 insinto /etc/puppet
138
139 # Bug #338439
140 #doins conf/gentoo/puppet/* || die
141 doins conf/redhat/*.conf || die
142 doins conf/auth.conf || die
143
144 # Location of log and data files
145 keepdir /var/run/puppet || die
146 keepdir /var/log/puppet || die
147 keepdir /var/lib/puppet/ssl || die
148 keepdir /var/lib/puppet/facts || die
149 keepdir /var/lib/puppet/files || die
150 fowners -R puppet:puppet /var/{run,log,lib}/puppet || die
151
152 if use emacs ; then
153 elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed"
154 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
155 fi
156
157 if use xemacs ; then
158 xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* || die "xemacs-elisp-install failed"
159 xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
160 fi
161
162 if use ldap ; then
163 insinto /etc/openldap/schema; doins ext/ldap/puppet.schema || die
164 fi
165
166 if use vim-syntax ; then
167 insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim || die
168 insinto /usr/share/vim/vimfiles/ftplugin; doins ext/vim/ftplugin/puppet.vim || die
169 insinto /usr/share/vim/vimfiles/indent; doins ext/vim/indent/puppet.vim || die
170 insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim || die
171 fi
172
173 # ext and examples files
174 for f in $(find ext examples -type f) ; do
175 docinto "$(dirname ${f})"; dodoc "${f}" || die
176 done
177 docinto conf; dodoc conf/namespaceauth.conf || die
178 }
179
180 pkg_postinst() {
181 elog
182 elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
183 elog "cause puppet to hang while installing packages."
184 elog
185 elog "Puppet uses eix to get information about currently installed packages,"
186 elog "so please keep the eix metadata cache updated so puppet is able to properly"
187 elog "handle package installations."
188 elog
189 elog "Currently puppet only supports adding and removing services to the default"
190 elog "runlevel, if you want to add/remove a service from another runlevel you may"
191 elog "do so using symlinking."
192 elog
193
194 if [ \
195 -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
196 -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
197 -f "${EPREFIX}/etc/puppet/puppetca.conf" \
198 ] ; then
199 elog
200 elog "Please remove deprecated config files."
201 elog " /etc/puppet/puppetca.conf"
202 elog " /etc/puppet/puppetd.conf"
203 elog " /etc/puppet/puppetmasterd.conf"
204 elog
205 fi
206
207 use emacs && elisp-site-regen
208 use xemacs && xemacs-elisp-site-regen
209 }
210
211 pkg_postrm() {
212 use emacs && elisp-site-regen
213 use xemacs && xemacs-elisp-site-regen
214 }
215
216
217
218 1.1 app-admin/puppet/puppet-2.7.5.ebuild
219
220 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.7.5.ebuild?rev=1.1&view=markup
221 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.7.5.ebuild?rev=1.1&content-type=text/plain
222
223 Index: puppet-2.7.5.ebuild
224 ===================================================================
225 # Copyright 1999-2011 Gentoo Foundation
226 # Distributed under the terms of the GNU General Public License v2
227 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.5.ebuild,v 1.1 2011/09/30 23:58:51 matsuu Exp $
228
229 EAPI="3"
230 # ruby19: dev-ruby/ruby-ldap has no ruby19
231 USE_RUBY="ruby18"
232
233 RUBY_FAKEGEM_TASK_DOC=""
234 RUBY_FAKEGEM_TASK_TEST="test"
235 RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
236
237 inherit elisp-common xemacs-elisp-common eutils ruby-fakegem
238
239 DESCRIPTION="A system automation and configuration management software"
240 HOMEPAGE="http://puppetlabs.com/"
241
242 LICENSE="Apache-2.0"
243 SLOT="0"
244 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite3 vim-syntax xemacs"
245 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
246
247 ruby_add_rdepend "
248 >=dev-ruby/facter-1.5.1
249 augeas? ( dev-ruby/ruby-augeas )
250 diff? ( dev-ruby/diff-lcs )
251 doc? ( dev-ruby/rdoc )
252 ldap? ( dev-ruby/ruby-ldap )
253 shadow? ( dev-ruby/ruby-shadow )
254 sqlite3? ( dev-ruby/sqlite3-ruby )
255 virtual/ruby-ssl"
256 # couchdb? ( dev-ruby/couchrest )
257 # mongrel? ( www-servers/mongrel )
258 # rack? ( >=dev-ruby/rack-1 )
259 # rails? (
260 # dev-ruby/rails
261 # >=dev-ruby/activerecord-2.1
262 # )
263 # stomp? ( dev-ruby/stomp )
264
265 DEPEND="${DEPEND}
266 emacs? ( virtual/emacs )
267 xemacs? ( app-editors/xemacs )"
268 RDEPEND="${RDEPEND}
269 emacs? ( virtual/emacs )
270 xemacs? ( app-editors/xemacs )
271 rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
272 selinux? ( sys-libs/libselinux[ruby] )
273 >=app-portage/eix-0.18.0"
274
275 SITEFILE="50${PN}-mode-gentoo.el"
276
277 pkg_setup() {
278 enewgroup puppet
279 enewuser puppet -1 -1 /var/lib/puppet puppet
280 }
281
282 all_ruby_compile() {
283 all_fakegem_compile
284
285 if use emacs ; then
286 elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed"
287 fi
288
289 if use xemacs ; then
290 # Create a separate version for xemacs to be able to install
291 # emacs and xemacs in parallel.
292 mkdir ext/xemacs || die
293 cp ext/emacs/* ext/xemacs/ || die
294 xemacs-elisp-compile ext/xemacs/puppet-mode.el || die "xemacs-elisp-compile failed"
295 fi
296 }
297
298 each_fakegem_install() {
299 ${RUBY} install.rb --destdir="${D}" install || die
300 }
301
302 all_ruby_install() {
303 all_fakegem_install
304
305 newinitd "${FILESDIR}"/puppetmaster.init puppetmaster || die
306 doconfd conf/gentoo/conf.d/puppetmaster || die
307 newinitd "${FILESDIR}"/puppet.init puppet || die
308 doconfd conf/gentoo/conf.d/puppet || die
309
310 # Initial configuration files
311 keepdir /etc/puppet/manifests || die
312 keepdir /etc/puppet/modules || die
313 insinto /etc/puppet
314
315 # Bug #338439
316 #doins conf/gentoo/puppet/* || die
317 doins conf/redhat/*.conf || die
318 doins conf/auth.conf || die
319
320 # Location of log and data files
321 keepdir /var/run/puppet || die
322 keepdir /var/log/puppet || die
323 keepdir /var/lib/puppet/ssl || die
324 keepdir /var/lib/puppet/facts || die
325 keepdir /var/lib/puppet/files || die
326 fowners -R puppet:puppet /var/{run,log,lib}/puppet || die
327
328 if use emacs ; then
329 elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed"
330 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
331 fi
332
333 if use xemacs ; then
334 xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* || die "xemacs-elisp-install failed"
335 xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
336 fi
337
338 if use ldap ; then
339 insinto /etc/openldap/schema; doins ext/ldap/puppet.schema || die
340 fi
341
342 if use vim-syntax ; then
343 insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim || die
344 insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim || die
345 fi
346
347 # ext and examples files
348 for f in $(find ext examples -type f) ; do
349 docinto "$(dirname ${f})"; dodoc "${f}" || die
350 done
351 docinto conf; dodoc conf/namespaceauth.conf || die
352 }
353
354 pkg_postinst() {
355 elog
356 elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
357 elog "cause puppet to hang while installing packages."
358 elog
359 elog "Puppet uses eix to get information about currently installed packages,"
360 elog "so please keep the eix metadata cache updated so puppet is able to properly"
361 elog "handle package installations."
362 elog
363 elog "Currently puppet only supports adding and removing services to the default"
364 elog "runlevel, if you want to add/remove a service from another runlevel you may"
365 elog "do so using symlinking."
366 elog
367
368 if [ \
369 -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
370 -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
371 -f "${EPREFIX}/etc/puppet/puppetca.conf" \
372 ] ; then
373 elog
374 elog "Please remove deprecated config files."
375 elog " /etc/puppet/puppetca.conf"
376 elog " /etc/puppet/puppetd.conf"
377 elog " /etc/puppet/puppetmasterd.conf"
378 elog
379 fi
380
381 use emacs && elisp-site-regen
382 use xemacs && xemacs-elisp-site-regen
383 }
384
385 pkg_postrm() {
386 use emacs && elisp-site-regen
387 use xemacs && xemacs-elisp-site-regen
388 }