From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/
Date: Fri, 25 Nov 2016 09:13:56 +0000 (UTC) [thread overview]
Message-ID: <1480065229.30fa0b72cf3ae1b3fe2b35fe41dc63a636fb5c1b.graaff@gentoo> (raw)
commit: 30fa0b72cf3ae1b3fe2b35fe41dc63a636fb5c1b
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 09:11:37 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 09:13:49 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30fa0b72
app-admin/puppet: cleanup; drop stable ppc, sparc, x86 keywords, bug 575610
Package-Manager: portage-2.3.0
app-admin/puppet/Manifest | 4 -
app-admin/puppet/puppet-3.7.3-r1.ebuild | 189 -------------------------------
app-admin/puppet/puppet-3.7.4-r3.ebuild | 191 --------------------------------
app-admin/puppet/puppet-3.8.4.ebuild | 191 --------------------------------
app-admin/puppet/puppet-3.8.5.ebuild | 189 -------------------------------
5 files changed, 764 deletions(-)
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
index 2c52b94..5289a93 100644
--- a/app-admin/puppet/Manifest
+++ b/app-admin/puppet/Manifest
@@ -1,7 +1,3 @@
-DIST puppet-3.7.3.tar.gz 2594007 SHA256 4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637 SHA512 74baae5525090ac6213cc8ef27ad74cde5372ac08f8d5c11ed2a4bd2f6ed2b9940fa141ddb705328785611cbd0d32d70a40f1b44dbc9b167e11f0ad1051efc8b WHIRLPOOL 7ff9909c6bfb4d83caf8fbfcac11dff27c3a7583a68336040d404745bf35f4676933b6494d2c65c1f87fc9de5928ac9ae79f81e0b0a356088c0be5d8526ad42a
-DIST puppet-3.7.4.tar.gz 2600191 SHA256 957c09ab253f76e624809766999da6d872f79b3a64b54b8c66bdd8907c291745 SHA512 868a80df0e07b68f0de2fe31dcc55ab1f9da160d66e151298ecb11c17382c13939a88f2925e387a14d2713be5375c2606f26ff52c11dd214874d71f17b3c0617 WHIRLPOOL d5dfb53a062532427ed32acb834517d8eaeba9f53e85bccb79de93f5f947e7d4df472b40c0bed91703b8977ac99c9764944290627815dc60430a8cfe2098519b
-DIST puppet-3.8.4.tar.gz 2639537 SHA256 19e83ebbbf0933a9df6696255d7ff4d65e3daba1ed8dacf87f16a87ae40a7ad7 SHA512 bcd4251f56292529973c1694d4c1b0673e01cc6525c3fda8415e3b69b03861f0c1c168911b47c1372eeecd54c5eb2efc67ae23fd9ca0329b821b6f1b1e4e641a WHIRLPOOL 8088df2bcfa2f2ed5be8f0769c45d70d5b8496c59f84217299d0df9b143f7551c2fb3a86edc467dfdaca6574a57e7fe4a8b89e9a376e991385650f6ce4dc9f21
-DIST puppet-3.8.5.tar.gz 2640987 SHA256 ecba7c70e32c3da6682f9c4706c01cc588a5614759a864446e9fbd2449c6305c SHA512 9c17508032ab4306c0ec1d2e79e1c3548a1da6c875c61155e597642cc901d0639eb99543084a6f88c5826b5faa5af83eaf936672e80a32bf27cf45f545e7d859 WHIRLPOOL 46a227365316c913f16a3b02bc13fd3b47ace497c406a14309d480c49881665d0ca9a0d86fae8a3761d6beb159b222dfdd033e0c1cdb2aaeadd62741c232a50f
DIST puppet-3.8.7.tar.gz 2650247 SHA256 50460a3dd8d25118e25eb01178d09743dabc01cd185f6b2cc723bae21ff023c2 SHA512 f86568d4f33c8c18da270e089e1274ce2e3c705c116b078531bb66656f0bbb9a2fc95effbb8bf5355a082d4f32ce5b44e7f6e316937164aa0d71dd47e654c618 WHIRLPOOL 6e3b754f9e6f40c6037652dc7d746e616871a653640e2a91ab7dd3e70b4240c0b377d0f79c543ca95c5d661046c6431e30f263e0f18998cac0ca3089a4634273
DIST puppet-4.4.2.tar.gz 2680253 SHA256 90ea74703b415965def15566a6d709fbd781a1e21589688c22d2f1bab4688860 SHA512 38c4e4e94693e8f3131aba44ad8b03437cd6896f8266e6f9d6434e355f044c87173034bbd336c33e5848692de60c5b4612141128a95a3d088947e72f90d13bc1 WHIRLPOOL c7d06954d1a9b46cc7f56e73da88dd3297179f1f7ede646601b6305940e200f29bf7047e494df3be12e76b0640673d616058055bc4887d3e296a5372daeab0fd
DIST puppet-4.7.0.tar.gz 2822807 SHA256 9b5c00da165ba8570607097d5d494ecc8988829d9e066b0bd6103cf1fa903e4d SHA512 667b96c66f63befccc19cdd0e88d5c7b29feb2f3ba29f0faa74ac77b4e4f16e06a34b19114b27b36329a5964b37031e8c1430849c1673760a782d4e80b8df296 WHIRLPOOL 949cecc001179bfc81b589756718deb6a3b298ea314a9fb9eeb7d660ea9baa22f9f2c183b8992f70f95158db80a3a996075e36d365da845aef795b0ab897b9f8
diff --git a/app-admin/puppet/puppet-3.7.3-r1.ebuild b/app-admin/puppet/puppet-3.7.3-r1.ebuild
deleted file mode 100644
index 7988c9f..00000000
--- a/app-admin/puppet/puppet-3.7.3-r1.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-USE_RUBY="ruby19 ruby20"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
-
-DESCRIPTION="A system automation and configuration management software"
-HOMEPAGE="http://puppetlabs.com/"
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc sparc x86"
-IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs"
-
-ruby_add_rdepend "
- dev-ruby/hiera
- >=dev-ruby/rgen-0.6.5 =dev-ruby/rgen-0.6*
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3
- dev-ruby/json
- augeas? ( dev-ruby/ruby-augeas )
- diff? ( dev-ruby/diff-lcs )
- doc? ( dev-ruby/rdoc )
- ldap? ( dev-ruby/ruby-ldap )
- shadow? ( dev-ruby/ruby-shadow )
- sqlite? ( dev-ruby/sqlite3 )
- virtual/ruby-ssl"
-
-DEPEND="${DEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- emacs? ( virtual/emacs )
- xemacs? ( app-editors/xemacs )"
-RDEPEND="${RDEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
- selinux? (
- sys-libs/libselinux[ruby]
- sec-policy/selinux-puppet
- )
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
- >=app-portage/eix-0.18.0"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-pkg_setup() {
- enewgroup puppet
- enewuser puppet -1 -1 /var/lib/puppet puppet
-}
-
-all_ruby_prepare() {
- # Avoid spec that require unpackaged json-schema.
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
-
- # Avoid Rails specs to avoid this dependency and because they
- # currently fail against Rails 4.1.
- find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die
- rm -r spec/unit/rails || die
- rm spec/unit/parser/collector_spec.rb || die
-
- # Avoid specs that can only run in the puppet.git repository. This
- # should be narrowed down to the specific specs.
- rm spec/integration/parser/compiler_spec.rb spec/integration/parser/future_compiler_spec.rb || die
-
- # Avoid failing spec that need further investigation.
- rm spec/unit/module_tool/metadata_spec.rb || die
-}
-
-all_ruby_compile() {
- if use emacs ; then
- elisp-compile ext/emacs/puppet-mode.el
- fi
-
- if use xemacs ; then
- # Create a separate version for xemacs to be able to install
- # emacs and xemacs in parallel.
- mkdir ext/xemacs
- cp ext/emacs/* ext/xemacs/
- xemacs-elisp-compile ext/xemacs/puppet-mode.el
- fi
-}
-
-each_ruby_install() {
- each_fakegem_install
- #${RUBY} install.rb --destdir="${D}" install || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- #systemd stuffs
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
- insinto /usr/lib/tmpfiles.d
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
-
- newinitd "${FILESDIR}"/puppet.init-r1 puppet
-
- # Initial configuration files
- insinto /etc/puppet
-
- # Location of log and data files
- keepdir /var/log/puppet
- fowners -R puppet:puppet /var/log/puppet
-
- if use minimal ; then
- rm "${ED}/etc/puppet/auth.conf"
- else
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service"
- newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
-
- insinto /etc/puppet
-
- keepdir /etc/puppet/manifests
- keepdir /etc/puppet/modules
-
- keepdir /var/lib/puppet/ssl
- keepdir /var/lib/puppet/facts
- keepdir /var/lib/puppet/files
- fowners -R puppet:puppet /var/lib/puppet
- fperms 0750 /var/lib/puppet
- fi
- fperms 0750 /etc/puppet
- fowners :puppet /etc/puppet
-
- if use emacs ; then
- elisp-install ${PN} ext/emacs/puppet-mode.el*
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use xemacs ; then
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
- fi
-
- # ext and examples files
- for f in $(find ext examples -type f) ; do
- docinto "$(dirname ${f})"; dodoc "${f}"
- done
-}
-
-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 "Portage Puppet module with Gentoo-specific resources:"
- elog "http://forge.puppetlabs.com/gentoo/portage"
- elog
-
- if [ \
- -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
- -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
- -f "${EPREFIX}/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
-
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
- elog
- elog "If you're upgrading from 2.x then we strongly suggest you to read:"
- elog "http://docs.puppetlabs.com/guides/upgrading.html"
- elog
- fi
-
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
diff --git a/app-admin/puppet/puppet-3.7.4-r3.ebuild b/app-admin/puppet/puppet-3.7.4-r3.ebuild
deleted file mode 100644
index fbc3b74..00000000
--- a/app-admin/puppet/puppet-3.7.4-r3.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-USE_RUBY="ruby19 ruby20 ruby21"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
-
-DESCRIPTION="A system automation and configuration management software"
-HOMEPAGE="http://puppetlabs.com/"
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs"
-
-ruby_add_rdepend "
- dev-ruby/hiera
- >=dev-ruby/rgen-0.6.5
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3
- dev-ruby/json
- augeas? ( dev-ruby/ruby-augeas )
- diff? ( dev-ruby/diff-lcs )
- doc? ( dev-ruby/rdoc )
- ldap? ( dev-ruby/ruby-ldap )
- shadow? ( dev-ruby/ruby-shadow )
- sqlite? ( dev-ruby/sqlite3 )
- virtual/ruby-ssl"
-
-ruby_add_bdepend "test? ( dev-ruby/mocha:0.10 )"
-
-DEPEND="${DEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- emacs? ( virtual/emacs )
- xemacs? ( app-editors/xemacs )"
-RDEPEND="${RDEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
- selinux? (
- sys-libs/libselinux[ruby]
- sec-policy/selinux-puppet
- )
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
- >=app-portage/eix-0.18.0"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-pkg_setup() {
- enewgroup puppet
- enewuser puppet -1 -1 /var/lib/puppet puppet
-}
-
-all_ruby_prepare() {
- # Avoid spec that require unpackaged json-schema.
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
-
- # Avoid Rails specs to avoid this dependency and because they
- # currently fail against Rails 4.1.
- find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die
- rm -r spec/unit/rails || die
- rm spec/unit/parser/collector_spec.rb || die
-
- # Avoid specs that can only run in the puppet.git repository. This
- # should be narrowed down to the specific specs.
- rm spec/integration/parser/compiler_spec.rb spec/integration/parser/future_compiler_spec.rb || die
-
- # Avoid failing spec that need further investigation.
- rm spec/unit/module_tool/metadata_spec.rb || die
-}
-
-all_ruby_compile() {
- if use emacs ; then
- elisp-compile ext/emacs/puppet-mode.el
- fi
-
- if use xemacs ; then
- # Create a separate version for xemacs to be able to install
- # emacs and xemacs in parallel.
- mkdir ext/xemacs
- cp ext/emacs/* ext/xemacs/
- xemacs-elisp-compile ext/xemacs/puppet-mode.el
- fi
-}
-
-each_ruby_install() {
- each_fakegem_install
- #${RUBY} install.rb --destdir="${D}" install || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- #systemd stuffs
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
- insinto /usr/lib/tmpfiles.d
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
-
- newinitd "${FILESDIR}"/puppet.init-r1 puppet
-
- # Initial configuration files
- insinto /etc/puppet
-
- # Location of log and data files
- keepdir /var/log/puppet
- fowners -R puppet:puppet /var/log/puppet
-
- if use minimal ; then
- rm "${ED}/etc/puppet/auth.conf"
- else
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service"
- newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
-
- insinto /etc/puppet
-
- keepdir /etc/puppet/manifests
- keepdir /etc/puppet/modules
-
- keepdir /var/lib/puppet/ssl
- keepdir /var/lib/puppet/facts
- keepdir /var/lib/puppet/files
- fowners -R puppet:puppet /var/lib/puppet
- fperms 0750 /var/lib/puppet
- fi
- fperms 0750 /etc/puppet
- fowners :puppet /etc/puppet
-
- if use emacs ; then
- elisp-install ${PN} ext/emacs/puppet-mode.el*
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use xemacs ; then
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
- fi
-
- # ext and examples files
- for f in $(find ext examples -type f) ; do
- docinto "$(dirname ${f})"; dodoc "${f}"
- done
-}
-
-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 "Portage Puppet module with Gentoo-specific resources:"
- elog "http://forge.puppetlabs.com/gentoo/portage"
- elog
-
- if [ \
- -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
- -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
- -f "${EPREFIX}/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
-
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
- elog
- elog "If you're upgrading from 2.x then we strongly suggest you to read:"
- elog "http://docs.puppetlabs.com/guides/upgrading.html"
- elog
- fi
-
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
diff --git a/app-admin/puppet/puppet-3.8.4.ebuild b/app-admin/puppet/puppet-3.8.4.ebuild
deleted file mode 100644
index 2618d22..00000000
--- a/app-admin/puppet/puppet-3.8.4.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-USE_RUBY="ruby19 ruby20 ruby21"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
-
-DESCRIPTION="A system automation and configuration management software"
-HOMEPAGE="http://puppetlabs.com/"
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs"
-
-ruby_add_rdepend "
- dev-ruby/hiera
- >=dev-ruby/rgen-0.7.0
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3
- dev-ruby/json
- augeas? ( dev-ruby/ruby-augeas )
- diff? ( dev-ruby/diff-lcs )
- doc? ( dev-ruby/rdoc )
- ldap? ( dev-ruby/ruby-ldap )
- shadow? ( dev-ruby/ruby-shadow )
- sqlite? ( dev-ruby/sqlite3 )
- virtual/ruby-ssl"
-
-ruby_add_bdepend "test? ( dev-ruby/mocha )"
-
-DEPEND="${DEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- emacs? ( virtual/emacs )
- xemacs? ( app-editors/xemacs )"
-RDEPEND="${RDEPEND}
- ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
- selinux? (
- sys-libs/libselinux[ruby]
- sec-policy/selinux-puppet
- )
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
- >=app-portage/eix-0.18.0"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-pkg_setup() {
- enewgroup puppet
- enewuser puppet -1 -1 /var/lib/puppet puppet
-}
-
-all_ruby_prepare() {
- # Avoid spec that require unpackaged json-schema.
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
-
- # Avoid Rails specs to avoid this dependency and because they
- # currently fail against Rails 4.1.
- find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die
- rm -r spec/unit/rails || die
- rm spec/unit/parser/collector_spec.rb || die
-
- # Avoid specs that can only run in the puppet.git repository. This
- # should be narrowed down to the specific specs.
- rm spec/integration/parser/compiler_spec.rb spec/integration/parser/future_compiler_spec.rb || die
-
- # Avoid failing spec that need further investigation.
- rm spec/unit/module_tool/metadata_spec.rb || die
-}
-
-all_ruby_compile() {
- if use emacs ; then
- elisp-compile ext/emacs/puppet-mode.el
- fi
-
- if use xemacs ; then
- # Create a separate version for xemacs to be able to install
- # emacs and xemacs in parallel.
- mkdir ext/xemacs
- cp ext/emacs/* ext/xemacs/
- xemacs-elisp-compile ext/xemacs/puppet-mode.el
- fi
-}
-
-each_ruby_install() {
- each_fakegem_install
- #${RUBY} install.rb --destdir="${D}" install || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- #systemd stuffs
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
- insinto /usr/lib/tmpfiles.d
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
-
- newinitd "${FILESDIR}"/puppet.init-r1 puppet
-
- # Initial configuration files
- insinto /etc/puppet
-
- # Location of log and data files
- keepdir /var/log/puppet
- fowners -R puppet:puppet /var/log/puppet
-
- if use minimal ; then
- rm "${ED}/etc/puppet/auth.conf"
- else
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service"
- newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
-
- insinto /etc/puppet
-
- keepdir /etc/puppet/manifests
- keepdir /etc/puppet/modules
-
- keepdir /var/lib/puppet/ssl
- keepdir /var/lib/puppet/facts
- keepdir /var/lib/puppet/files
- fowners -R puppet:puppet /var/lib/puppet
- fperms 0750 /var/lib/puppet
- fi
- fperms 0750 /etc/puppet
- fowners :puppet /etc/puppet
-
- if use emacs ; then
- elisp-install ${PN} ext/emacs/puppet-mode.el*
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use xemacs ; then
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
- fi
-
- # ext and examples files
- for f in $(find ext examples -type f) ; do
- docinto "$(dirname ${f})"; dodoc "${f}"
- done
-}
-
-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 "Portage Puppet module with Gentoo-specific resources:"
- elog "http://forge.puppetlabs.com/gentoo/portage"
- elog
-
- if [ \
- -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
- -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
- -f "${EPREFIX}/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
-
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
- elog
- elog "If you're upgrading from 2.x then we strongly suggest you to read:"
- elog "http://docs.puppetlabs.com/guides/upgrading.html"
- elog
- fi
-
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
diff --git a/app-admin/puppet/puppet-3.8.5.ebuild b/app-admin/puppet/puppet-3.8.5.ebuild
deleted file mode 100644
index 104bf83..00000000
--- a/app-admin/puppet/puppet-3.8.5.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-USE_RUBY="ruby20 ruby21"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
-
-DESCRIPTION="A system automation and configuration management software"
-HOMEPAGE="http://puppetlabs.com/"
-SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
-
-LICENSE="Apache-2.0 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs"
-
-ruby_add_rdepend "
- dev-ruby/hiera
- >=dev-ruby/rgen-0.7.0
- >=dev-ruby/facter-1.6.2 <dev-ruby/facter-3
- dev-ruby/json
- augeas? ( dev-ruby/ruby-augeas )
- diff? ( dev-ruby/diff-lcs )
- doc? ( dev-ruby/rdoc )
- ldap? ( dev-ruby/ruby-ldap )
- shadow? ( dev-ruby/ruby-shadow )
- sqlite? ( dev-ruby/sqlite3 )
- virtual/ruby-ssl"
-
-ruby_add_bdepend "test? ( dev-ruby/mocha )"
-
-DEPEND="${DEPEND}
- emacs? ( virtual/emacs )
- xemacs? ( app-editors/xemacs )"
-RDEPEND="${RDEPEND}
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
- selinux? (
- sys-libs/libselinux[ruby]
- sec-policy/selinux-puppet
- )
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
- >=app-portage/eix-0.18.0"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-pkg_setup() {
- enewgroup puppet
- enewuser puppet -1 -1 /var/lib/puppet puppet
-}
-
-all_ruby_prepare() {
- # Avoid spec that require unpackaged json-schema.
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
-
- # Avoid Rails specs to avoid this dependency and because they
- # currently fail against Rails 4.1.
- find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die
- rm -r spec/unit/rails || die
- rm spec/unit/parser/collector_spec.rb || die
-
- # Avoid specs that can only run in the puppet.git repository. This
- # should be narrowed down to the specific specs.
- rm spec/integration/parser/compiler_spec.rb spec/integration/parser/future_compiler_spec.rb || die
-
- # Avoid failing spec that need further investigation.
- rm spec/unit/module_tool/metadata_spec.rb || die
-}
-
-all_ruby_compile() {
- if use emacs ; then
- elisp-compile ext/emacs/puppet-mode.el
- fi
-
- if use xemacs ; then
- # Create a separate version for xemacs to be able to install
- # emacs and xemacs in parallel.
- mkdir ext/xemacs
- cp ext/emacs/* ext/xemacs/
- xemacs-elisp-compile ext/xemacs/puppet-mode.el
- fi
-}
-
-each_ruby_install() {
- each_fakegem_install
- #${RUBY} install.rb --destdir="${D}" install || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- #systemd stuffs
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
- insinto /usr/lib/tmpfiles.d
- newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
-
- newinitd "${FILESDIR}"/puppet.init-r1 puppet
-
- # Initial configuration files
- insinto /etc/puppet
-
- # Location of log and data files
- keepdir /var/log/puppet
- fowners -R puppet:puppet /var/log/puppet
-
- if use minimal ; then
- rm "${ED}/etc/puppet/auth.conf"
- else
- insinto /usr/lib/systemd/system
- doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service"
- newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
-
- insinto /etc/puppet
-
- keepdir /etc/puppet/manifests
- keepdir /etc/puppet/modules
-
- keepdir /var/lib/puppet/ssl
- keepdir /var/lib/puppet/facts
- keepdir /var/lib/puppet/files
- fowners -R puppet:puppet /var/lib/puppet
- fperms 0750 /var/lib/puppet
- fi
- fperms 0750 /etc/puppet
- fowners :puppet /etc/puppet
-
- if use emacs ; then
- elisp-install ${PN} ext/emacs/puppet-mode.el*
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use xemacs ; then
- xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
- xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use ldap ; then
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
- fi
-
- # ext and examples files
- for f in $(find ext examples -type f) ; do
- docinto "$(dirname ${f})"; dodoc "${f}"
- done
-}
-
-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 "Portage Puppet module with Gentoo-specific resources:"
- elog "http://forge.puppetlabs.com/gentoo/portage"
- elog
-
- if [ \
- -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
- -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
- -f "${EPREFIX}/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
-
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
- elog
- elog "If you're upgrading from 2.x then we strongly suggest you to read:"
- elog "http://docs.puppetlabs.com/guides/upgrading.html"
- elog
- fi
-
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- use xemacs && xemacs-elisp-site-regen
-}
next reply other threads:[~2016-11-25 9:14 UTC|newest]
Thread overview: 266+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 9:13 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-20 3:38 [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/ Matthew Thode
2024-10-26 15:16 Arthur Zamarin
2024-10-25 22:09 Sam James
2024-09-22 20:37 Matthew Thode
2024-09-22 20:37 Matthew Thode
2024-06-25 3:25 Sam James
2024-06-25 3:25 Sam James
2024-04-29 19:38 Matthew Thode
2024-04-29 19:38 Matthew Thode
2024-04-29 19:38 Matthew Thode
2024-04-29 19:38 Matthew Thode
2024-04-20 14:19 Matthew Thode
2024-04-07 4:21 Matthew Thode
2024-03-30 0:55 Matthew Thode
2024-03-18 16:01 Matthew Thode
2024-03-07 20:09 Matthew Thode
2024-03-01 19:11 Jakov Smolić
2024-03-01 16:46 Sam James
2024-02-29 20:01 Matthew Thode
2024-02-29 15:26 Matthew Thode
2024-02-18 23:10 Matthew Thode
2024-01-19 1:27 Matthew Thode
2024-01-19 1:24 Matthew Thode
2024-01-07 18:49 Matthew Thode
2023-12-17 17:45 Robin H. Johnson
2023-12-17 17:45 Robin H. Johnson
2023-12-07 23:59 Matthew Thode
2023-11-07 23:37 Matthew Thode
2023-10-27 13:25 Matthew Thode
2023-09-27 20:31 Matthew Thode
2023-08-27 15:52 Matthew Thode
2023-08-16 21:55 Matthew Thode
2023-07-16 15:54 Matthew Thode
2023-06-16 21:21 Matthew Thode
2023-06-08 21:18 Matthew Thode
2023-05-27 15:18 Matthew Thode
2023-05-12 16:10 Robin H. Johnson
2023-05-07 16:04 Matthew Thode
2023-04-28 16:11 Matthew Thode
2023-04-27 3:11 Matthew Thode
2023-04-10 10:20 Sam James
2023-04-07 15:23 Matthew Thode
2023-04-07 15:23 Matthew Thode
2023-03-26 7:19 Hans de Graaff
2023-03-18 1:22 Sam James
2023-03-11 11:17 Hans de Graaff
2023-03-10 19:24 Matthew Thode
2023-02-11 3:53 Matthew Thode
2023-02-11 3:49 Matthew Thode
2023-01-10 20:33 Matthew Thode
2023-01-10 20:33 Matthew Thode
2023-01-10 20:33 Matthew Thode
2022-12-13 17:07 Matthew Thode
2022-12-10 18:49 Matthew Thode
2022-11-14 14:30 Matthew Thode
2022-11-13 21:25 Matthew Thode
2022-11-01 9:48 Yixun Lan
2022-10-12 21:54 Matthew Thode
2022-10-03 4:33 Matthew Thode
2022-09-15 0:20 Matthew Thode
2022-08-29 6:50 Hans de Graaff
2022-08-04 14:51 Matthew Thode
2022-08-03 1:42 Matthew Thode
2022-07-05 3:01 Matthew Thode
2022-06-19 14:47 Matthew Thode
2022-06-04 18:32 Matthew Thode
2022-05-26 4:43 Matthew Thode
2022-05-19 16:46 Matthew Thode
2022-04-25 3:39 Matthew Thode
2022-04-19 22:47 Matthew Thode
2022-04-12 9:38 Hans de Graaff
2022-03-25 1:40 Matthew Thode
2022-03-23 3:31 Matthew Thode
2022-02-22 19:47 Matthew Thode
2022-02-16 3:09 Matthew Thode
2022-01-26 18:40 Fabian Groffen
2022-01-23 0:59 Matthew Thode
2022-01-15 17:54 Matthew Thode
2021-12-14 17:54 Matthew Thode
2021-11-17 16:49 Matthew Thode
2021-11-14 20:44 Matthew Thode
2021-11-14 0:32 Robin H. Johnson
2021-10-27 13:58 Hans de Graaff
2021-10-20 15:34 Matthew Thode
2021-10-17 17:13 Matthew Thode
2021-10-14 19:01 Matthew Thode
2021-09-24 17:06 Matthew Thode
2021-09-20 21:34 Matthew Thode
2021-09-17 21:37 Matthew Thode
2021-08-24 16:00 Matthew Thode
2021-08-20 17:13 Matthew Thode
2021-07-31 22:17 Sam James
2021-07-31 22:17 Sam James
2021-07-24 20:26 Matthew Thode
2021-07-03 19:47 Matthew Thode
2021-07-03 19:47 Matthew Thode
2021-06-29 2:54 Matthew Thode
2021-06-25 5:55 Matthew Thode
2021-06-08 3:31 Matthew Thode
2021-06-02 15:46 Matthew Thode
2021-05-28 15:52 Matthew Thode
2021-04-27 18:12 Matthew Thode
2021-04-20 1:02 Matthew Thode
2021-03-22 16:28 Matthew Thode
2021-03-19 18:37 Matthew Thode
2021-03-09 17:17 Matthew Thode
2021-02-22 23:57 Matthew Thode
2021-02-09 22:52 Matthew Thode
2021-01-22 16:35 Matthew Thode
2021-01-19 17:14 Matthew Thode
2021-01-05 20:51 Sam James
2020-12-29 17:14 Sam James
2020-12-28 7:52 Hans de Graaff
2020-12-20 2:30 Matthew Thode
2020-11-22 23:08 Matthew Thode
2020-10-22 19:03 Matthew Thode
2020-10-21 5:50 Hans de Graaff
2020-09-27 21:06 Matthew Thode
2020-09-15 16:29 Matthew Thode
2020-08-27 18:59 Matthew Thode
2020-08-15 19:50 Matthew Thode
2020-07-16 6:47 Hans de Graaff
2020-07-15 19:44 Matthew Thode
2020-06-02 0:13 Matthew Thode
2020-05-02 18:18 Matthew Thode
2020-05-01 4:58 Hans de Graaff
2020-04-15 4:21 Hans de Graaff
2020-04-14 12:32 Agostino Sarubbo
2020-04-13 16:06 Agostino Sarubbo
2020-04-11 17:46 Matthew Thode
2020-03-19 20:27 Hans de Graaff
2020-03-19 20:27 Hans de Graaff
2020-03-11 7:16 Hans de Graaff
2020-03-11 5:03 Matthew Thode
2020-03-01 2:57 Matthew Thode
2020-02-21 1:30 Matthew Thode
2020-02-17 22:36 Matthew Thode
2020-02-17 22:36 Matthew Thode
2020-02-14 7:53 Hans de Graaff
2020-02-13 6:36 Hans de Graaff
2020-01-16 18:58 Hans de Graaff
2020-01-16 17:26 Matthew Thode
2020-01-10 1:26 Thomas Deutschmann
2020-01-06 9:34 Hans de Graaff
2019-12-22 18:39 Matthew Thode
2019-11-22 16:10 Matthew Thode
2019-11-03 20:21 Matthew Thode
2019-10-18 16:03 Matthew Thode
2019-10-18 4:20 Matthew Thode
2019-10-16 5:23 Hans de Graaff
2019-10-03 23:19 Matthew Thode
2019-09-23 15:31 Matthew Thode
2019-09-22 16:37 Matthew Thode
2019-09-20 21:07 Matthew Thode
2019-08-23 16:13 Matthew Thode
2019-07-27 18:14 Matthew Thode
2019-07-27 18:14 Matthew Thode
2019-07-27 7:05 Hans de Graaff
2019-07-24 15:30 Matthew Thode
2019-07-22 14:37 Matthew Thode
2019-07-02 15:44 Matthew Thode
2019-06-22 18:34 Matthew Thode
2019-05-30 15:05 Matthew Thode
2019-05-15 19:15 Matthew Thode
2019-05-01 0:15 Matthew Thode
2019-04-25 15:54 Matthew Thode
2019-04-17 19:43 Matthew Thode
2019-03-27 2:19 Matthew Thode
2019-03-26 15:54 Matthew Thode
2019-03-21 17:37 Matthew Thode
2019-02-28 16:22 Matthew Thode
2019-02-28 16:22 Matthew Thode
2019-02-21 21:50 Matthew Thode
2019-02-15 16:15 Matthew Thode
2019-01-29 3:34 Matthew Thode
2019-01-15 17:36 Matthew Thode
2019-01-15 17:36 Matthew Thode
2018-12-21 4:57 Matthew Thode
2018-12-19 19:43 Matthew Thode
2018-12-19 19:43 Matthew Thode
2018-11-30 17:02 Matthew Thode
2018-11-19 19:12 Matthew Thode
2018-11-02 2:36 Matthew Thode
2018-11-01 15:48 Matthew Thode
2018-10-24 22:12 Matthew Thode
2018-10-05 15:42 Matthew Thode
2018-10-02 20:40 Matthew Thode
2018-09-22 21:18 Matt Thode
2018-09-22 21:18 Matt Thode
2018-08-23 16:11 Matt Thode
2018-08-18 2:46 Matt Thode
2018-07-18 20:52 Matt Thode
2018-07-14 19:05 Hans de Graaff
2018-07-13 7:43 Matt Thode
2018-06-25 18:24 Hans de Graaff
2018-06-13 19:40 Matt Thode
2018-05-15 15:26 Matt Thode
2018-04-21 4:12 Matt Thode
2018-03-21 16:16 Matt Thode
2018-03-18 10:30 Sergei Trofimovich
2018-03-18 10:30 Sergei Trofimovich
2018-03-18 10:30 Sergei Trofimovich
2018-03-13 18:08 Markus Meier
2018-02-20 6:49 Hans de Graaff
2018-02-19 9:56 Hans de Graaff
2018-02-14 22:13 Matt Thode
2018-02-14 16:36 Matt Thode
2018-02-14 3:23 Matt Thode
2018-02-06 17:05 Matt Thode
2018-01-29 6:44 Hans de Graaff
2018-01-22 20:34 Hans de Graaff
2018-01-08 22:50 Thomas Deutschmann
2017-12-27 20:06 Sergei Trofimovich
2017-12-24 7:10 Hans de Graaff
2017-12-14 18:41 Thomas Deutschmann
2017-12-09 13:10 Sergei Trofimovich
2017-12-02 6:29 Hans de Graaff
2017-12-02 6:29 Hans de Graaff
2017-12-02 6:29 Hans de Graaff
2017-11-26 13:25 Hans de Graaff
2017-11-13 7:14 Matt Thode
2017-10-31 23:15 Matt Thode
2017-10-31 22:41 Sergei Trofimovich
2017-09-15 6:08 Hans de Graaff
2017-09-13 13:42 Fabian Groffen
2017-09-02 7:19 Hans de Graaff
2017-08-30 18:13 Fabian Groffen
2017-08-23 21:10 Matt Thode
2017-08-19 17:38 Matt Thode
2017-08-19 17:38 Matt Thode
2017-08-10 18:03 Matt Thode
2017-08-05 18:49 Hans de Graaff
2017-07-27 19:15 Matt Thode
2017-07-27 19:15 Matt Thode
2017-07-24 1:50 Matt Thode
2017-07-16 7:56 Hans de Graaff
2017-07-15 7:26 Hans de Graaff
2017-07-15 6:35 Hans de Graaff
2017-07-09 23:10 Matt Thode
2017-06-30 13:14 Hans de Graaff
2017-06-30 5:51 Hans de Graaff
2017-06-29 3:02 Matt Thode
2017-05-21 9:47 Agostino Sarubbo
2017-05-18 15:49 Matt Thode
2017-05-18 15:49 Matt Thode
2017-05-07 9:44 Hans de Graaff
2017-04-21 5:50 Hans de Graaff
2017-04-17 8:56 Hans de Graaff
2017-04-01 14:03 Agostino Sarubbo
2017-03-29 2:09 Jeroen Roovers
2017-02-04 8:35 Matt Thode
2016-11-30 18:29 Matt Thode
2016-11-13 8:33 Hans de Graaff
2016-11-13 8:33 Hans de Graaff
2016-10-31 6:49 Hans de Graaff
2016-10-10 15:33 Jeroen Roovers
2016-04-27 21:51 Matt Thode
2016-04-27 21:51 Matt Thode
2016-03-25 5:48 Matt Thode
2016-03-18 13:41 Matt Thode
2016-01-28 6:16 Matt Thode
2015-11-21 7:42 Hans de Graaff
2015-11-06 7:49 Matt Thode
2015-09-23 16:11 Matt Thode
2015-09-15 18:38 Matt Thode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480065229.30fa0b72cf3ae1b3fe2b35fe41dc63a636fb5c1b.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox