diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-19 18:07:43 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-19 18:07:43 +0000 |
commit | 021988a86e8b753e2e93d2ccab8b7af40acd494f (patch) | |
tree | 077e387512525e8faeeeb8ca0d38da1c1d6a852e /app-admin | |
parent | fix build with gcc 4.3, bug #251221 (diff) | |
download | historical-021988a86e8b753e2e93d2ccab8b7af40acd494f.tar.gz historical-021988a86e8b753e2e93d2ccab8b7af40acd494f.tar.bz2 historical-021988a86e8b753e2e93d2ccab8b7af40acd494f.zip |
Version bumped.
Package-Manager: portage-2.1.6/cvs/Linux 2.6.27-gentoo-r4 x86_64
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/puppet/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/puppet/Manifest | 4 | ||||
-rw-r--r-- | app-admin/puppet/puppet-0.24.7.ebuild | 141 |
3 files changed, 150 insertions, 2 deletions
diff --git a/app-admin/puppet/ChangeLog b/app-admin/puppet/ChangeLog index 48e896a46c9a..d97833803998 100644 --- a/app-admin/puppet/ChangeLog +++ b/app-admin/puppet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/puppet # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.31 2008/12/02 17:29:54 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.32 2008/12/19 18:07:43 matsuu Exp $ + +*puppet-0.24.7 (19 Dec 2008) + + 19 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> +puppet-0.24.7.ebuild: + Version bumped. 02 Dec 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> ChangeLog: diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest index c8eef9eeebfd..4fdad399abc4 100644 --- a/app-admin/puppet/Manifest +++ b/app-admin/puppet/Manifest @@ -9,8 +9,10 @@ AUX puppetmaster.init 976 RMD160 2f3ba179a2642b17e82bedf86765bf9cfe7fd5bc SHA1 e DIST puppet-0.24.4.tgz 652572 RMD160 e675d27216dfeb3717c8140d3c89625e6be351e9 SHA1 e79671d8765e08df93c6a4c76b198467c3e13a7a SHA256 0d54f6db7cf1210d123264bcb35b07b36837ebc12a4f2bd01aee6127836adfb9 DIST puppet-0.24.5.tgz 872803 RMD160 be85ce18ce6a56939eaf83c60cc55d1c5134ef36 SHA1 fe3d63bf30169eb6ec2b30e43d489a51bb36d090 SHA256 0b5ff82b06699a5d10b2ee6e995f427b76540cc0e67ffa8243ee6fc03d8e641d DIST puppet-0.24.6.tgz 894124 RMD160 5fba245b7dcd196f734558ab8bc00a3637dc49fc SHA1 2deaf43934c149430dec46d97af17aa4afc41442 SHA256 1cf0f7914b6ed13314bff2f517a42fd224ef24bd99b46e323d2bc793fe58b936 +DIST puppet-0.24.7.tgz 1088422 RMD160 fc5da816355878712cddc302ea964dfddcf7bf64 SHA1 37f40b920666b1cb73adedc66abcb3cfee43aae7 SHA256 1107006f89980d5e1b9e905db25616beb5f92261e3ee1f661f5baeb838c1be32 EBUILD puppet-0.24.4.ebuild 3395 RMD160 1fb3c6d7f30c5c8e7b60677ec88f3a4783290253 SHA1 af75f2fa63d3d65d49d60dddeaf5093177d26468 SHA256 fa7b1964961008b3585cfc29b09204248cc9fcb3fde881f3c79e1ec8a520f4a8 EBUILD puppet-0.24.5-r4.ebuild 4038 RMD160 3140da785fd0365a65b263197342963fcac3f037 SHA1 dd68af46e22eaf8423c0a99d60488547771caa98 SHA256 90405e56b976ac3752d50ca4f906880a8800310aa369eb87bbe9ab6c7131e2a1 EBUILD puppet-0.24.6-r1.ebuild 4031 RMD160 a81502558f0f80857f031d6ee785b786a336fe51 SHA1 bbaa81b061844534e79790712fdd1acb59c5d016 SHA256 785f7d3807421a8941e468cd607338c4a02379b7acfa68c2b3881921d88cb6e7 -MISC ChangeLog 6271 RMD160 124daf4b8300604a3ab73470db5cacfe289e2d6f SHA1 cf5115a13f1ca181c2e94e16890b83f89fa242f2 SHA256 22ee54a72c559eb5b35c2dbc8f675c7bb7f635eb9695480257ee735d5e46a07b +EBUILD puppet-0.24.7.ebuild 3900 RMD160 c0f4b7c509c3e0c3626fb965129f008cc82fc524 SHA1 9d3df12eb5e82f03e4230fc53d9bf76d8482745a SHA256 b96a504cac425253da72ce850d8ac129dc2b6e777ffdda2afbfc816873ae8477 +MISC ChangeLog 6387 RMD160 3e4055437d5c632918bd767779e50d4813083e5e SHA1 dffe2df2cee301d5ea50ee2e416bc7d4d80c7ded SHA256 5a2bd60c471d050f4a81834716f18b2f4d7f766cbab7af01ba2d9e74c608dfc4 MISC metadata.xml 1002 RMD160 172f4fc2883017a49b71d7e48c558bbc6c54770b SHA1 0386fcc01ff39593cf1755051a3d1283e6b4f2b7 SHA256 eb49ad59455c53c1666eeca292c0670b399968f9e10e9017b88f1e206098f8a5 diff --git a/app-admin/puppet/puppet-0.24.7.ebuild b/app-admin/puppet/puppet-0.24.7.ebuild new file mode 100644 index 000000000000..fe7acdef1ee0 --- /dev/null +++ b/app-admin/puppet/puppet-0.24.7.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.24.7.ebuild,v 1.1 2008/12/19 18:07:43 matsuu Exp $ + +inherit elisp-common eutils ruby + +DESCRIPTION="A system automation and configuration management software" +HOMEPAGE="http://reductivelabs.com/projects/puppet/index.html" +SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="emacs ldap rrdtool vim-syntax" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="emacs? ( virtual/emacs ) + >=dev-ruby/facter-1.5.0" +RDEPEND="${DEPEND} + >=app-portage/eix-0.9.4 + ldap? ( dev-ruby/ruby-ldap ) + rrdtool? ( + || ( + >=net-analyzer/rrdtool-1.2.23 + dev-ruby/ruby-rrd + ) + )" +# || ( +# www-servers/webrick +# www-servers/mongrel +# ) +# dev-ruby/diff-lcs +# dev-ruby/rails +# dev-ruby/ruby-shadow + +USE_RUBY="ruby18 ruby19" + +SITEFILE="50${PN}-mode-gentoo.el" + +pkg_setup() { + built_with_use virtual/ruby ipv6 || \ + die "Ruby must be built with ipv6 support, otherwise puppet will not be able to run" + + built_with_use virtual/ruby ssl || \ + die "Ruby must be built with ssl support, otherwise puppet will not be able to run" + + if use rrdtool && \ + has_version '>=net-analyzer/rrdtool-1.2.23' && \ + ! built_with_use '>=net-analyzer/rrdtool-1.2.23' ruby + then + die "net-analyzer/rrdtool must be built with ruby USE flag." + fi + + enewgroup puppet + enewuser puppet -1 -1 /var/lib/puppet puppet +} + +src_compile() { + if use emacs ; then + elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed" + fi +} + +src_install() { + DESTDIR="${D}" ruby_einstall "$@" || die + DESTDIR="${D}" erubydoc + + # + # bug #237071 + # + #doinitd conf/gentoo/init.d/puppetmaster + newinitd "${FILESDIR}"/puppetmaster.init puppetmaster + #doconfd conf/gentoo/conf.d/puppetmaster + newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster + #doinitd conf/gentoo/init.d/puppet + newinitd "${FILESDIR}"/puppet.init puppet + doconfd conf/gentoo/conf.d/puppet + + # Initial configuration files + keepdir /etc/puppet/manifests + insinto /etc/puppet + doins conf/gentoo/puppet/* + + # Location of log and data files + keepdir /var/run/puppet + keepdir /var/log/puppet + keepdir /var/lib/puppet/ssl + keepdir /var/lib/puppet/files + fowners -R puppet:puppet /var/{run,log,lib}/puppet + + if use emacs ; then + elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + if use ldap ; then + insinto /etc/openldap/schema; doins ext/ldap/puppet.schema + fi + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim + insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim + fi + + # ext and examples files + for f in $(find ext examples -type f) ; do + docinto "$(dirname ${f})"; dodoc "${f}" + done + docinto conf; dodoc conf/namespaceauth.conf +} + +pkg_postinst() { + elog + elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" + elog "cause puppet to hang while installing packages." + elog + elog "Puppet uses eix to get information about currently installed packages," + elog "so please keep the eix metadata cache updated so puppet is able to properly" + elog "handle package installations." + elog + elog "Currently puppet only supports adding and removing services to the default" + elog "runlevel, if you want to add/remove a service from another runlevel you may" + elog "do so using symlinking." + elog + + if [ \ + -f "${ROOT}/etc/puppet/puppetd.conf" -o \ + -f "${ROOT}/etc/puppet/puppetmaster.conf" -o \ + -f "${ROOT}/etc/puppet/puppetca.conf" \ + ] ; then + elog + elog "Please remove deprecated config files." + elog " /etc/puppet/puppetca.conf" + elog " /etc/puppet/puppetd.conf" + elog " /etc/puppet/puppetmasterd.conf" + elog + fi + use emacs && elisp-site-regen +} +pkg_postrm() { + use emacs && elisp-site-regen +} |