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: ChangeLog puppet-2.6.0-r1.ebuild puppet-0.24.8-r1.ebuild puppet-0.25.3.ebuild
Date: Sun, 01 Aug 2010 02:02:09
Message-Id: 20100801011212.A9E092CE15@corvid.gentoo.org
1 matsuu 10/08/01 01:12:12
2
3 Modified: ChangeLog
4 Added: puppet-2.6.0-r1.ebuild
5 Removed: puppet-0.24.8-r1.ebuild puppet-0.25.3.ebuild
6 Log:
7 Fixed pidfile issue, bug #330269. Fixed doc and test handling, bug #329305.
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.65 app-admin/puppet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 23 Jul 2010 11:44:54 -0000 1.64
24 +++ ChangeLog 1 Aug 2010 01:12:11 -0000 1.65
25 @@ -1,6 +1,15 @@
26 # ChangeLog for app-admin/puppet
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.64 2010/07/23 11:44:54 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.65 2010/08/01 01:12:11 matsuu Exp $
30 +
31 +*puppet-2.6.0-r1 (01 Aug 2010)
32 +
33 + 01 Aug 2010; MATSUU Takuto <matsuu@g.o>
34 + -files/puppet-0.24.6-eix.patch, -puppet-0.24.8-r1.ebuild,
35 + -files/puppet-0.24.8-rc-update-show.patch, -puppet-0.25.3.ebuild,
36 + +puppet-2.6.0-r1.ebuild, files/puppet.init, files/puppetmaster.init:
37 + Fixed pidfile issue, bug #330269. Fixed doc and test handling, bug
38 + #329305. Removed old versions.
39
40 23 Jul 2010; Markus Meier <maekke@g.o> puppet-0.25.5.ebuild:
41 amd64 stable, bug #325129
42
43
44
45 1.1 app-admin/puppet/puppet-2.6.0-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.0-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.6.0-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: puppet-2.6.0-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.6.0-r1.ebuild,v 1.1 2010/08/01 01:12:12 matsuu Exp $
55
56 EAPI="2"
57 USE_RUBY="ruby18"
58
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_TASK_TEST="unit"
61 RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
62
63 inherit elisp-common eutils ruby-fakegem
64
65 DESCRIPTION="A system automation and configuration management software"
66 HOMEPAGE="http://puppetlabs.com/"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 IUSE="augeas emacs ldap rrdtool shadow vim-syntax"
71 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
72
73 RESTRICT="test"
74
75 ruby_add_rdepend ">=dev-ruby/facter-1.5.1"
76 ruby_add_rdepend augeas dev-ruby/ruby-augeas
77 ruby_add_rdepend ldap dev-ruby/ruby-ldap
78 #ruby_add_rdepend rrdtool ">=net-analyzer/rrdtool-1.2.23[ruby]"
79 ruby_add_rdepend shadow dev-ruby/ruby-shadow
80
81 DEPEND="${DEPEND}
82 emacs? ( virtual/emacs )"
83 RDEPEND="${RDEPEND}
84 emacs? ( virtual/emacs )
85 rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
86 >=app-portage/eix-0.18.0"
87
88 for _ruby in ${USE_RUBY}; do
89 DEPEND="${DEPEND} ruby_targets_${_ruby}? ( $(ruby_implementation_depend $_ruby)[ssl] )"
90 done
91
92 SITEFILE="50${PN}-mode-gentoo.el"
93
94 pkg_setup() {
95 enewgroup puppet
96 enewuser puppet -1 -1 /var/lib/puppet puppet
97 }
98
99 all_ruby_compile() {
100 all_fakegem_compile
101
102 if use emacs ; then
103 elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed"
104 fi
105 }
106
107 each_fakegem_install() {
108 ${RUBY} install.rb --destdir="${D}" install || die
109 }
110
111 all_ruby_install() {
112 all_fakegem_install
113
114 newinitd "${FILESDIR}"/puppetmaster.init puppetmaster || die
115 doconfd conf/gentoo/conf.d/puppetmaster || die
116 newinitd "${FILESDIR}"/puppet.init puppet || die
117 doconfd conf/gentoo/conf.d/puppet || die
118
119 # Initial configuration files
120 keepdir /etc/puppet/manifests || die
121 insinto /etc/puppet
122 doins conf/gentoo/puppet/* || die
123 doins conf/auth.conf || die
124
125 # Location of log and data files
126 keepdir /var/run/puppet || die
127 keepdir /var/log/puppet || die
128 keepdir /var/lib/puppet/ssl || die
129 keepdir /var/lib/puppet/files || die
130 fowners -R puppet:puppet /var/{run,log,lib}/puppet || die
131
132 if use emacs ; then
133 elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed"
134 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
135 fi
136
137 if use ldap ; then
138 insinto /etc/openldap/schema; doins ext/ldap/puppet.schema || die
139 fi
140
141 if use vim-syntax ; then
142 insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim || die
143 insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim || die
144 fi
145
146 # ext and examples files
147 for f in $(find ext examples -type f) ; do
148 docinto "$(dirname ${f})"; dodoc "${f}" || die
149 done
150 docinto conf; dodoc conf/namespaceauth.conf || die
151 }
152
153 pkg_postinst() {
154 elog
155 elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
156 elog "cause puppet to hang while installing packages."
157 elog
158 elog "Puppet uses eix to get information about currently installed packages,"
159 elog "so please keep the eix metadata cache updated so puppet is able to properly"
160 elog "handle package installations."
161 elog
162 elog "Currently puppet only supports adding and removing services to the default"
163 elog "runlevel, if you want to add/remove a service from another runlevel you may"
164 elog "do so using symlinking."
165 elog
166
167 if [ \
168 -f "${ROOT}/etc/puppet/puppetd.conf" -o \
169 -f "${ROOT}/etc/puppet/puppetmaster.conf" -o \
170 -f "${ROOT}/etc/puppet/puppetca.conf" \
171 ] ; then
172 elog
173 elog "Please remove deprecated config files."
174 elog " /etc/puppet/puppetca.conf"
175 elog " /etc/puppet/puppetd.conf"
176 elog " /etc/puppet/puppetmasterd.conf"
177 elog
178 fi
179
180 use emacs && elisp-site-regen
181 }
182
183 pkg_postrm() {
184 use emacs && elisp-site-regen
185 }