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.4.ebuild ChangeLog puppet-0.25.4-r1.ebuild puppet-2.6.0.ebuild puppet-2.6.1.ebuild puppet-2.6.0-r1.ebuild
Date: Fri, 31 Dec 2010 04:02:23
Message-Id: 20101231040212.977B720054@flycatcher.gentoo.org
1 matsuu 10/12/31 04:02:12
2
3 Modified: ChangeLog
4 Added: puppet-2.6.4.ebuild
5 Removed: puppet-0.25.4-r1.ebuild puppet-2.6.0.ebuild
6 puppet-2.6.1.ebuild puppet-2.6.0-r1.ebuild
7 Log:
8 Version bumped, bug #349188.
9
10 (Portage version: 2.1.9.26/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.72 app-admin/puppet/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.72&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.72&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.71&r2=1.72
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v
22 retrieving revision 1.71
23 retrieving revision 1.72
24 diff -u -r1.71 -r1.72
25 --- ChangeLog 4 Nov 2010 07:13:35 -0000 1.71
26 +++ ChangeLog 31 Dec 2010 04:02:12 -0000 1.72
27 @@ -1,6 +1,13 @@
28 # ChangeLog for app-admin/puppet
29 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.71 2010/11/04 07:13:35 matsuu Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.72 2010/12/31 04:02:12 matsuu Exp $
32 +
33 +*puppet-2.6.4 (31 Dec 2010)
34 +
35 + 31 Dec 2010; MATSUU Takuto <matsuu@g.o> -puppet-0.25.4-r1.ebuild,
36 + -puppet-2.6.0.ebuild, -puppet-2.6.0-r1.ebuild, -puppet-2.6.1.ebuild,
37 + +puppet-2.6.4.ebuild:
38 + Version bumped, bug #349188. Removed old versions.
39
40 *puppet-2.6.2 (04 Nov 2010)
41
42 @@ -15,10 +22,10 @@
43 20 Sep 2010; Guy Martin <gmsoft@g.o> puppet-0.25.5.ebuild:
44 hppa stable wrt #325129
45
46 - 18 Sep 2010; Raúl Porcel <armin76@g.o> puppet-0.25.5.ebuild:
47 + 18 Sep 2010; Ra炭l Porcel <armin76@g.o> puppet-0.25.5.ebuild:
48 sparc stable wrt #325129
49
50 - 15 Aug 2010; Diego E. Pettenò <flameeyes@g.o> puppet-2.6.0.ebuild,
51 + 15 Aug 2010; Diego E. Petten嘆 <flameeyes@g.o> puppet-2.6.0.ebuild,
52 puppet-2.6.0-r1.ebuild:
53 Update to the new ruby_add_rdepend syntax (classic-style) and use
54 virtual/ruby-ssl rather than reimplementing it by hand.
55 @@ -64,7 +71,7 @@
56 puppet-0.25.4-r1.ebuild:
57 stable x86, bug 306195
58
59 - 04 Mar 2010; Raúl Porcel <armin76@g.o> puppet-0.25.4-r1.ebuild:
60 + 04 Mar 2010; Ra炭l Porcel <armin76@g.o> puppet-0.25.4-r1.ebuild:
61 sparc stable wrt #306195
62
63 *puppet-0.25.4-r1 (02 Mar 2010)
64 @@ -93,13 +100,13 @@
65
66 *puppet-0.25.1-r1 (22 Nov 2009)
67
68 - 22 Nov 2009; Benedikt Böhm <hollow@g.o> +puppet-0.25.1-r1.ebuild,
69 + 22 Nov 2009; Benedikt B旦hm <hollow@g.o> +puppet-0.25.1-r1.ebuild,
70 files/puppet-0.25.1-eix-0.18.patch:
71 fix regression in the portage provider
72
73 *puppet-0.25.1 (16 Nov 2009)
74
75 - 16 Nov 2009; Benedikt Böhm <hollow@g.o> puppet-0.24.8-r1.ebuild,
76 + 16 Nov 2009; Benedikt B旦hm <hollow@g.o> puppet-0.24.8-r1.ebuild,
77 -puppet-0.25.0.ebuild, puppet-0.25.0-r1.ebuild, +puppet-0.25.1.ebuild,
78 +files/puppet-0.25.1-eix-0.18.patch:
79 version bump + backported portage provider for eix-0.18 compatibility (see
80 @@ -107,7 +114,7 @@
81
82 *puppet-0.25.0-r1 (08 Oct 2009)
83
84 - 08 Oct 2009; Benedikt Böhm <hollow@g.o> +puppet-0.25.0-r1.ebuild,
85 + 08 Oct 2009; Benedikt B旦hm <hollow@g.o> +puppet-0.25.0-r1.ebuild,
86 +files/puppet-0.25.0-cert-names.patch:
87 add hotfix for 0.24.x CA compatibility. Upstream bug #2617
88
89 @@ -152,7 +159,7 @@
90
91 *puppet-0.24.8-r1 (19 Apr 2009)
92
93 - 19 Apr 2009; Benedikt Böhm <hollow@g.o>
94 + 19 Apr 2009; Benedikt B旦hm <hollow@g.o>
95 +files/puppet-0.24.8-rc-update-show.patch, puppet-0.24.8.ebuild,
96 +puppet-0.24.8-r1.ebuild:
97 identify services with ambiguous suffixes correctly
98 @@ -229,7 +236,7 @@
99 Fixed rrdtool dependency, bug #238568. Fixed to work with
100 >=app-portage/eix-0.14.0.
101
102 - 29 Sep 2008; Tiziano Müller <dev-zero@g.o> files/puppet.init,
103 + 29 Sep 2008; Tiziano M端ller <dev-zero@g.o> files/puppet.init,
104 files/puppetmaster.init:
105 Removed bashism from init-scripts
106
107 @@ -275,7 +282,7 @@
108 16 Jun 2008; nixnut <nixnut@g.o> puppet-0.24.4.ebuild:
109 Stable on ppc wrt bug 227375
110
111 - 16 Jun 2008; Tiziano Müller <dev-zero@g.o>
112 + 16 Jun 2008; Tiziano M端ller <dev-zero@g.o>
113 +files/puppet-0.24.4-openrc_initd.patch, files/puppetmaster.init,
114 puppet-0.24.4.ebuild:
115 Added fix to make scripts work with baselayout-2/openrc (bug #218071)
116
117
118
119 1.1 app-admin/puppet/puppet-2.6.4.ebuild
120
121 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.4.ebuild?rev=1.1&view=markup
122 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.4.ebuild?rev=1.1&content-type=text/plain
123
124 Index: puppet-2.6.4.ebuild
125 ===================================================================
126 # Copyright 1999-2010 Gentoo Foundation
127 # Distributed under the terms of the GNU General Public License v2
128 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.6.4.ebuild,v 1.1 2010/12/31 04:02:12 matsuu Exp $
129
130 EAPI="2"
131 USE_RUBY="ruby18"
132
133 RUBY_FAKEGEM_TASK_DOC=""
134 RUBY_FAKEGEM_TASK_TEST="spec"
135 RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
136
137 inherit elisp-common eutils ruby-fakegem
138
139 DESCRIPTION="A system automation and configuration management software"
140 HOMEPAGE="http://puppetlabs.com/"
141
142 LICENSE="GPL-2"
143 SLOT="0"
144 IUSE="augeas emacs ldap rrdtool shadow vim-syntax"
145 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
146
147 ruby_add_rdepend "
148 >=dev-ruby/facter-1.5.1
149 augeas? ( dev-ruby/ruby-augeas )
150 ldap? ( dev-ruby/ruby-ldap )
151 shadow? ( dev-ruby/ruby-shadow )
152 virtual/ruby-ssl"
153 #rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
154
155 DEPEND="${DEPEND}
156 emacs? ( virtual/emacs )"
157 RDEPEND="${RDEPEND}
158 emacs? ( virtual/emacs )
159 rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
160 >=app-portage/eix-0.18.0"
161
162 SITEFILE="50${PN}-mode-gentoo.el"
163
164 pkg_setup() {
165 enewgroup puppet
166 enewuser puppet -1 -1 /var/lib/puppet puppet
167 }
168
169 all_ruby_compile() {
170 all_fakegem_compile
171
172 if use emacs ; then
173 elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed"
174 fi
175 }
176
177 each_fakegem_install() {
178 ${RUBY} install.rb --destdir="${D}" install || die
179 }
180
181 all_ruby_install() {
182 all_fakegem_install
183
184 newinitd "${FILESDIR}"/puppetmaster.init puppetmaster || die
185 doconfd conf/gentoo/conf.d/puppetmaster || die
186 newinitd "${FILESDIR}"/puppet.init puppet || die
187 doconfd conf/gentoo/conf.d/puppet || die
188
189 # Initial configuration files
190 keepdir /etc/puppet/manifests || die
191 insinto /etc/puppet
192
193 # Bug #338439
194 #doins conf/gentoo/puppet/* || die
195 doins conf/redhat/*.conf || die
196 doins conf/auth.conf || die
197
198 # Location of log and data files
199 keepdir /var/run/puppet || die
200 keepdir /var/log/puppet || die
201 keepdir /var/lib/puppet/ssl || die
202 keepdir /var/lib/puppet/files || die
203 fowners -R puppet:puppet /var/{run,log,lib}/puppet || die
204
205 if use emacs ; then
206 elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed"
207 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
208 fi
209
210 if use ldap ; then
211 insinto /etc/openldap/schema; doins ext/ldap/puppet.schema || die
212 fi
213
214 if use vim-syntax ; then
215 insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim || die
216 insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim || die
217 fi
218
219 # ext and examples files
220 for f in $(find ext examples -type f) ; do
221 docinto "$(dirname ${f})"; dodoc "${f}" || die
222 done
223 docinto conf; dodoc conf/namespaceauth.conf || die
224 }
225
226 pkg_postinst() {
227 elog
228 elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
229 elog "cause puppet to hang while installing packages."
230 elog
231 elog "Puppet uses eix to get information about currently installed packages,"
232 elog "so please keep the eix metadata cache updated so puppet is able to properly"
233 elog "handle package installations."
234 elog
235 elog "Currently puppet only supports adding and removing services to the default"
236 elog "runlevel, if you want to add/remove a service from another runlevel you may"
237 elog "do so using symlinking."
238 elog
239
240 if [ \
241 -f "${ROOT}/etc/puppet/puppetd.conf" -o \
242 -f "${ROOT}/etc/puppet/puppetmaster.conf" -o \
243 -f "${ROOT}/etc/puppet/puppetca.conf" \
244 ] ; then
245 elog
246 elog "Please remove deprecated config files."
247 elog " /etc/puppet/puppetca.conf"
248 elog " /etc/puppet/puppetd.conf"
249 elog " /etc/puppet/puppetmasterd.conf"
250 elog
251 fi
252
253 use emacs && elisp-site-regen
254 }
255
256 pkg_postrm() {
257 use emacs && elisp-site-regen
258 }