1 |
matsuu 09/08/25 23:11:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: puppet-0.25.0_rc1.ebuild |
5 |
Log: |
6 |
Version bumped, bug #280364. |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.42 app-admin/puppet/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.42&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.42&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.41&r2=1.42 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v |
19 |
retrieving revision 1.41 |
20 |
retrieving revision 1.42 |
21 |
diff -u -r1.41 -r1.42 |
22 |
--- ChangeLog 21 Jul 2009 22:12:15 -0000 1.41 |
23 |
+++ ChangeLog 25 Aug 2009 23:11:31 -0000 1.42 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-admin/puppet |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.41 2009/07/21 22:12:15 matsuu Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.42 2009/08/25 23:11:31 matsuu Exp $ |
29 |
+ |
30 |
+*puppet-0.25.0_rc1 (25 Aug 2009) |
31 |
+ |
32 |
+ 25 Aug 2009; MATSUU Takuto <matsuu@g.o> +puppet-0.25.0_rc1.ebuild: |
33 |
+ Version bumped, bug #280364. |
34 |
|
35 |
21 Jul 2009; MATSUU Takuto <matsuu@g.o> -puppet-0.24.7-r1.ebuild, |
36 |
-puppet-0.24.8.ebuild, puppet-0.24.8-r1.ebuild, files/puppet.init, |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-admin/puppet/puppet-0.25.0_rc1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/puppet-0.25.0_rc1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/puppet-0.25.0_rc1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: puppet-0.25.0_rc1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.25.0_rc1.ebuild,v 1.1 2009/08/25 23:11:31 matsuu Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
inherit elisp-common eutils ruby |
53 |
|
54 |
MY_P="${P/_}" |
55 |
DESCRIPTION="A system automation and configuration management software" |
56 |
HOMEPAGE="http://reductivelabs.com/projects/puppet" |
57 |
SRC_URI="http://reductivelabs.com/downloads/${PN}/${MY_P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
IUSE="augeas emacs ldap rrdtool shadow vim-syntax" |
62 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
63 |
|
64 |
DEPEND="dev-lang/ruby[ssl] |
65 |
emacs? ( virtual/emacs ) |
66 |
>=dev-ruby/facter-1.5.0" |
67 |
RDEPEND="${DEPEND} |
68 |
>=app-portage/eix-0.9.4 |
69 |
augeas? ( dev-ruby/ruby-augeas ) |
70 |
ldap? ( dev-ruby/ruby-ldap ) |
71 |
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
72 |
shadow? ( dev-ruby/ruby-shadow )" |
73 |
# || ( |
74 |
# www-servers/webrick |
75 |
# www-servers/mongrel |
76 |
# ) |
77 |
# dev-ruby/diff-lcs |
78 |
# dev-ruby/rails |
79 |
|
80 |
S="${WORKDIR}/${MY_P}" |
81 |
USE_RUBY="ruby18" |
82 |
|
83 |
SITEFILE="50${PN}-mode-gentoo.el" |
84 |
|
85 |
pkg_setup() { |
86 |
enewgroup puppet |
87 |
enewuser puppet -1 -1 /var/lib/puppet puppet |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
epatch "${FILESDIR}/${PN}-0.24.6-eix.patch" |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
if use emacs ; then |
96 |
elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed" |
97 |
fi |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
DESTDIR="${D}" ruby_einstall "$@" || die |
102 |
DESTDIR="${D}" erubydoc |
103 |
|
104 |
# |
105 |
# bug #237071 |
106 |
# |
107 |
#doinitd conf/gentoo/init.d/puppetmaster |
108 |
newinitd "${FILESDIR}"/puppetmaster.init puppetmaster |
109 |
#doconfd conf/gentoo/conf.d/puppetmaster |
110 |
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
111 |
#doinitd conf/gentoo/init.d/puppet |
112 |
newinitd "${FILESDIR}"/puppet.init puppet |
113 |
doconfd conf/gentoo/conf.d/puppet |
114 |
|
115 |
# Initial configuration files |
116 |
keepdir /etc/puppet/manifests |
117 |
insinto /etc/puppet |
118 |
doins conf/gentoo/puppet/* |
119 |
|
120 |
# Location of log and data files |
121 |
keepdir /var/run/puppet |
122 |
keepdir /var/log/puppet |
123 |
keepdir /var/lib/puppet/ssl |
124 |
keepdir /var/lib/puppet/files |
125 |
fowners -R puppet:puppet /var/{run,log,lib}/puppet |
126 |
|
127 |
if use emacs ; then |
128 |
elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed" |
129 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
130 |
fi |
131 |
|
132 |
if use ldap ; then |
133 |
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
134 |
fi |
135 |
|
136 |
if use vim-syntax ; then |
137 |
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim |
138 |
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim |
139 |
fi |
140 |
|
141 |
# ext and examples files |
142 |
for f in $(find ext examples -type f) ; do |
143 |
docinto "$(dirname ${f})"; dodoc "${f}" |
144 |
done |
145 |
docinto conf; dodoc conf/namespaceauth.conf |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
elog |
150 |
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
151 |
elog "cause puppet to hang while installing packages." |
152 |
elog |
153 |
elog "Puppet uses eix to get information about currently installed packages," |
154 |
elog "so please keep the eix metadata cache updated so puppet is able to properly" |
155 |
elog "handle package installations." |
156 |
elog |
157 |
elog "Currently puppet only supports adding and removing services to the default" |
158 |
elog "runlevel, if you want to add/remove a service from another runlevel you may" |
159 |
elog "do so using symlinking." |
160 |
elog |
161 |
|
162 |
if [ \ |
163 |
-f "${ROOT}/etc/puppet/puppetd.conf" -o \ |
164 |
-f "${ROOT}/etc/puppet/puppetmaster.conf" -o \ |
165 |
-f "${ROOT}/etc/puppet/puppetca.conf" \ |
166 |
] ; then |
167 |
elog |
168 |
elog "Please remove deprecated config files." |
169 |
elog " /etc/puppet/puppetca.conf" |
170 |
elog " /etc/puppet/puppetd.conf" |
171 |
elog " /etc/puppet/puppetmasterd.conf" |
172 |
elog |
173 |
fi |
174 |
use emacs && elisp-site-regen |
175 |
} |
176 |
pkg_postrm() { |
177 |
use emacs && elisp-site-regen |
178 |
} |