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 metadata.xml puppet-0.23.2-r1.ebuild puppet-0.22.4.ebuild puppet-0.23.0.ebuild
Date: Sat, 08 Dec 2007 00:39:37
Message-Id: E1J0nj8-0008LD-RT@stork.gentoo.org
1 matsuu 07/12/08 00:39:30
2
3 Modified: ChangeLog metadata.xml
4 Added: puppet-0.23.2-r1.ebuild
5 Removed: puppet-0.22.4.ebuild puppet-0.23.0.ebuild
6 Log:
7 Fixed bugs and cleanup, bug #190840.
8 maintainership takeover.
9 (Portage version: 2.1.3.19)
10
11 Revision Changes Path
12 1.8 app-admin/puppet/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/ChangeLog?r1=1.7&r2=1.8
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ChangeLog 7 Aug 2007 21:09:43 -0000 1.7
25 +++ ChangeLog 8 Dec 2007 00:39:30 -0000 1.8
26 @@ -1,6 +1,16 @@
27 # ChangeLog for app-admin/puppet
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.7 2007/08/07 21:09:43 nakano Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.8 2007/12/08 00:39:30 matsuu Exp $
31 +
32 +*puppet-0.23.2-r1 (08 Dec 2007)
33 +
34 + 08 Dec 2007; MATSUU Takuto <matsuu@g.o>
35 + +files/50puppet-mode-gentoo.el, +files/puppet-0.23.2-gentoo.patch,
36 + metadata.xml, -puppet-0.22.4.ebuild, -puppet-0.23.0.ebuild,
37 + +puppet-0.23.2-r1.ebuild:
38 + Fixed some bugs and cleanup, bug #190840
39 + maintainership takeover.
40 + Removed old versions.
41
42 *puppet-0.23.2 (07 Aug 2007)
43
44
45
46
47 1.2 app-admin/puppet/metadata.xml
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/metadata.xml?rev=1.2&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/metadata.xml?rev=1.2&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/metadata.xml?r1=1.1&r2=1.2
52
53 Index: metadata.xml
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/app-admin/puppet/metadata.xml,v
56 retrieving revision 1.1
57 retrieving revision 1.2
58 diff -u -r1.1 -r1.2
59 --- metadata.xml 17 Mar 2007 17:44:12 -0000 1.1
60 +++ metadata.xml 8 Dec 2007 00:39:30 -0000 1.2
61 @@ -3,6 +3,6 @@
62 <pkgmetadata>
63 <herd>no-herd</herd>
64 <maintainer>
65 - <email>nakano@g.o</email>
66 + <email>matsuu@g.o</email>
67 </maintainer>
68 </pkgmetadata>
69
70
71
72 1.1 app-admin/puppet/puppet-0.23.2-r1.ebuild
73
74 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/puppet-0.23.2-r1.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/puppet/puppet-0.23.2-r1.ebuild?rev=1.1&content-type=text/plain
76
77 Index: puppet-0.23.2-r1.ebuild
78 ===================================================================
79 # Copyright 1999-2007 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.23.2-r1.ebuild,v 1.1 2007/12/08 00:39:30 matsuu Exp $
82
83 inherit elisp-common eutils ruby
84
85 DESCRIPTION="A system automation and configuration management software"
86 HOMEPAGE="http://reductivelabs.com/projects/puppet/index.html"
87 SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 IUSE="emacs"
92 KEYWORDS="~x86 ~amd64"
93
94 DEPEND="emacs? ( virtual/emacs )"
95 RDEPEND="${DEPEND}
96 >=dev-ruby/facter-1.3.5
97 >=app-portage/eix-0.9.4"
98
99 USE_RUBY="ruby18"
100
101 SITEFILE="50${PN}-mode-gentoo.el"
102
103 pkg_setup() {
104 built_with_use virtual/ruby ipv6 || \
105 die "Ruby must be built with ipv6 support, otherwise puppet will not be able to run"
106
107 enewgroup puppet || die "Problem creating group puppet"
108 enewuser puppet -1 -1 /var/lib/puppet puppet || die "Problem creating user puppet"
109 }
110
111 src_unpack() {
112 unpack ${A}
113 cd "${S}"
114
115 epatch "${FILESDIR}"/${P}-gentoo.patch
116 }
117
118 src_compile() {
119 if use emacs ; then
120 elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed"
121 fi
122 }
123
124 src_install() {
125 DESTDIR="${D}" ruby_einstall "$@" || die
126 DESTDIR="${D}" erubydoc
127
128 # Installation of init scripts and configuration
129 doinitd conf/gentoo/init.d/puppetmaster
130 doconfd conf/gentoo/conf.d/puppetmaster
131 doinitd conf/gentoo/init.d/puppet
132 doconfd conf/gentoo/conf.d/puppet
133
134 # Initial configuration files
135 keepdir /etc/puppet/manifests
136 insinto /etc/puppet
137 doins conf/gentoo/puppet/*
138
139 # Location of log and data files
140 keepdir /var/run/puppet
141 keepdir /var/log/puppet
142 keepdir /var/lib/puppet/ssl
143 keepdir /var/lib/puppet/files
144 fowners -R puppet:puppet /var/{run,log,lib}/puppet
145
146 if use emacs ; then
147 elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed"
148 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
149 fi
150 insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/*.vim
151
152 # ext and examples files
153 for f in $(find ext examples -type f) ; do
154 docinto $(dirname ${f})
155 dodoc ${f}
156 done
157 }
158
159 pkg_postinst() {
160 elog
161 elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
162 elog "cause puppet to hang while installing packages."
163 elog
164 elog "Puppet uses eix to get information about currently installed packages,"
165 elog "so please keep the eix metadata cache updated so puppet is able to properly"
166 elog "handle package installations."
167 elog
168 elog "Currently puppet only supports adding and removing services to the default"
169 elog "runlevel, if you want to add/remove a service from another runlevel you may"
170 elog "do so using symlinking."
171 elog
172
173 if [ \
174 -f "${ROOT}/etc/puppet/puppetd.conf" -o \
175 -f "${ROOT}/etc/puppet/puppetmaster.conf" -o \
176 -f "${ROOT}/etc/puppet/puppetca.conf" \
177 ] ; then
178 elog
179 elog "Please remove deprecated config files."
180 elog " /etc/puppet/puppetca.conf"
181 elog " /etc/puppet/puppetd.conf"
182 elog " /etc/puppet/puppetmasterd.conf"
183 elog
184 fi
185 use emacs && elisp-site-regen
186 }
187 pkg_postrm() {
188 use emacs && elisp-site-regen
189 }
190
191
192
193 --
194 gentoo-commits@g.o mailing list