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