1 |
matsuu 12/02/27 13:23:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: puppet-2.7.11.ebuild |
5 |
Removed: puppet-2.7.6.ebuild puppet-2.7.6-r1.ebuild |
6 |
Log: |
7 |
Version bumped, bug #403963. |
8 |
|
9 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.97 app-admin/puppet/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.97&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.97&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.96&r2=1.97 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v |
21 |
retrieving revision 1.96 |
22 |
retrieving revision 1.97 |
23 |
diff -u -r1.96 -r1.97 |
24 |
--- ChangeLog 15 Dec 2011 16:15:21 -0000 1.96 |
25 |
+++ ChangeLog 27 Feb 2012 13:23:13 -0000 1.97 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-admin/puppet |
28 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.96 2011/12/15 16:15:21 matsuu Exp $ |
30 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.97 2012/02/27 13:23:13 matsuu Exp $ |
32 |
+ |
33 |
+*puppet-2.7.11 (27 Feb 2012) |
34 |
+ |
35 |
+ 27 Feb 2012; MATSUU Takuto <matsuu@g.o> -puppet-2.7.6.ebuild, |
36 |
+ -puppet-2.7.6-r1.ebuild, +puppet-2.7.11.ebuild: |
37 |
+ Version bumped, bug #403963. Removed old versions. |
38 |
|
39 |
*puppet-2.7.9 (15 Dec 2011) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-admin/puppet/puppet-2.7.11.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.7.11.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/puppet-2.7.11.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: puppet-2.7.11.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.11.ebuild,v 1.1 2012/02/27 13:23:13 matsuu Exp $ |
54 |
|
55 |
EAPI="4" |
56 |
# ruby19: dev-ruby/ruby-ldap has no ruby19 |
57 |
USE_RUBY="ruby18" |
58 |
|
59 |
RUBY_FAKEGEM_TASK_DOC="" |
60 |
RUBY_FAKEGEM_TASK_TEST="test" |
61 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*" |
62 |
|
63 |
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem |
64 |
|
65 |
DESCRIPTION="A system automation and configuration management software" |
66 |
HOMEPAGE="http://puppetlabs.com/" |
67 |
|
68 |
LICENSE="Apache-2.0" |
69 |
SLOT="0" |
70 |
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs" |
71 |
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
72 |
|
73 |
ruby_add_rdepend " |
74 |
>=dev-ruby/facter-1.5.6 |
75 |
augeas? ( dev-ruby/ruby-augeas ) |
76 |
diff? ( dev-ruby/diff-lcs ) |
77 |
doc? ( dev-ruby/rdoc ) |
78 |
ldap? ( dev-ruby/ruby-ldap ) |
79 |
shadow? ( dev-ruby/ruby-shadow ) |
80 |
sqlite3? ( dev-ruby/sqlite3-ruby ) |
81 |
virtual/ruby-ssl" |
82 |
# couchdb? ( dev-ruby/couchrest ) |
83 |
# mongrel? ( www-servers/mongrel ) |
84 |
# rack? ( >=dev-ruby/rack-1 ) |
85 |
# rails? ( |
86 |
# dev-ruby/rails |
87 |
# >=dev-ruby/activerecord-2.1 |
88 |
# ) |
89 |
# stomp? ( dev-ruby/stomp ) |
90 |
|
91 |
DEPEND="${DEPEND} |
92 |
emacs? ( virtual/emacs ) |
93 |
xemacs? ( app-editors/xemacs )" |
94 |
RDEPEND="${RDEPEND} |
95 |
emacs? ( virtual/emacs ) |
96 |
xemacs? ( app-editors/xemacs ) |
97 |
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
98 |
selinux? ( sys-libs/libselinux[ruby] ) |
99 |
>=app-portage/eix-0.18.0" |
100 |
|
101 |
SITEFILE="50${PN}-mode-gentoo.el" |
102 |
|
103 |
pkg_setup() { |
104 |
enewgroup puppet |
105 |
enewuser puppet -1 -1 /var/lib/puppet puppet |
106 |
} |
107 |
|
108 |
all_ruby_compile() { |
109 |
all_fakegem_compile |
110 |
|
111 |
if use emacs ; then |
112 |
elisp-compile ext/emacs/puppet-mode.el |
113 |
fi |
114 |
|
115 |
if use xemacs ; then |
116 |
# Create a separate version for xemacs to be able to install |
117 |
# emacs and xemacs in parallel. |
118 |
mkdir ext/xemacs |
119 |
cp ext/emacs/* ext/xemacs/ |
120 |
xemacs-elisp-compile ext/xemacs/puppet-mode.el |
121 |
fi |
122 |
} |
123 |
|
124 |
each_fakegem_install() { |
125 |
${RUBY} install.rb --destdir="${D}" install |
126 |
} |
127 |
|
128 |
all_ruby_install() { |
129 |
all_fakegem_install |
130 |
|
131 |
newinitd "${FILESDIR}"/puppet.init puppet |
132 |
doconfd conf/gentoo/conf.d/puppet |
133 |
|
134 |
# Initial configuration files |
135 |
insinto /etc/puppet |
136 |
# Bug #338439 |
137 |
#doins conf/gentoo/puppet/* |
138 |
doins conf/redhat/puppet.conf |
139 |
|
140 |
# Location of log and data files |
141 |
keepdir /var/{run,log}/puppet |
142 |
fowners -R puppet:puppet /var/{run,log}/puppet |
143 |
|
144 |
if use minimal ; then |
145 |
rm "${ED}/usr/bin/puppetmasterd" |
146 |
rm "${ED}/etc/puppet/auth.conf" |
147 |
else |
148 |
newinitd "${FILESDIR}"/puppetmaster-2.7.6.init puppetmaster |
149 |
newconfd "${FILESDIR}"/puppetmaster-2.7.6.confd puppetmaster |
150 |
|
151 |
insinto /etc/puppet |
152 |
doins conf/redhat/fileserver.conf |
153 |
|
154 |
keepdir /etc/puppet/manifests |
155 |
keepdir /etc/puppet/modules |
156 |
|
157 |
keepdir /var/lib/puppet/ssl |
158 |
keepdir /var/lib/puppet/facts |
159 |
keepdir /var/lib/puppet/files |
160 |
fowners -R puppet:puppet /var/{run,log,lib}/puppet |
161 |
fi |
162 |
|
163 |
if use emacs ; then |
164 |
elisp-install ${PN} ext/emacs/puppet-mode.el* |
165 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
166 |
fi |
167 |
|
168 |
if use xemacs ; then |
169 |
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el* |
170 |
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
171 |
fi |
172 |
|
173 |
if use ldap ; then |
174 |
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
175 |
fi |
176 |
|
177 |
if use vim-syntax ; then |
178 |
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim |
179 |
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim |
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 |
docinto conf; dodoc conf/namespaceauth.conf |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
elog |
191 |
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
192 |
elog "cause puppet to hang while installing packages." |
193 |
elog |
194 |
elog "Puppet uses eix to get information about currently installed packages," |
195 |
elog "so please keep the eix metadata cache updated so puppet is able to properly" |
196 |
elog "handle package installations." |
197 |
elog |
198 |
elog "Currently puppet only supports adding and removing services to the default" |
199 |
elog "runlevel, if you want to add/remove a service from another runlevel you may" |
200 |
elog "do so using symlinking." |
201 |
elog |
202 |
|
203 |
if [ \ |
204 |
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \ |
205 |
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \ |
206 |
-f "${EPREFIX}/etc/puppet/puppetca.conf" \ |
207 |
] ; then |
208 |
elog |
209 |
elog "Please remove deprecated config files." |
210 |
elog " /etc/puppet/puppetca.conf" |
211 |
elog " /etc/puppet/puppetd.conf" |
212 |
elog " /etc/puppet/puppetmasterd.conf" |
213 |
elog |
214 |
fi |
215 |
|
216 |
use emacs && elisp-site-regen |
217 |
use xemacs && xemacs-elisp-site-regen |
218 |
} |
219 |
|
220 |
pkg_postrm() { |
221 |
use emacs && elisp-site-regen |
222 |
use xemacs && xemacs-elisp-site-regen |
223 |
} |