commit:     0aebebe63403f65f997b0c2e5e0d1f7b5eb2de21
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  2 02:33:57 2018 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Nov  2 02:36:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aebebe6

app-admin/puppet: 5.5.8 and 6.0.4 bump

puppet master / server was removed in 6.x :(

Fixes: https://bugs.gentoo.org/670118

Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-admin/puppet/Manifest                             |  2 ++
 .../{puppet-6.0.2.ebuild => puppet-5.5.8.ebuild}      | 10 +++++-----
 .../{puppet-6.0.2.ebuild => puppet-6.0.2-r1.ebuild}   | 15 ++++-----------
 .../{puppet-6.0.2.ebuild => puppet-6.0.4.ebuild}      | 19 ++++++-------------
 4 files changed, 17 insertions(+), 29 deletions(-)

diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
index 19db39fefce..a7bed2c8ea1 100644
--- a/app-admin/puppet/Manifest
+++ b/app-admin/puppet/Manifest
@@ -3,4 +3,6 @@ DIST puppet-4.10.12.tar.gz 3022218 BLAKE2B 
03757857868b1544078ae5e40d6e438631c78
 DIST puppet-5.5.3.tar.gz 3040000 BLAKE2B 
d2534da5956806e5280c59e82332f1ffca79e72f73b1abb460f155aac936a5ba1719f18dc5742c85fca365ff6b03a602ca0ceaa04714091045ab2afac1b57823
 SHA512 
14a711002c64f0598930f64e9e2b81c03daddda750860acb349271c1cc9d04c0d149b14817b200dda26f0ca75c3f79593990ecf28a5cca83220a3f5a16eac34d
 DIST puppet-5.5.6.tar.gz 3026301 BLAKE2B 
eb05a0c4eed99ce1ce7a77be76da069be1e4b4f8917206b3811a3a7378c2e39b9c84b560bbcce0bee180ddb502251efb48362dd1c2494c79e6f441cde41a2707
 SHA512 
53bccc4cf3d4dde3079d96cd28b4cf380d004fdf67da8eaeaf70706ca5e1fe611910042f1aa03453fb29419bb9888a0eeef9a9d64e8f0cfe5d8d7a73e5bf5850
 DIST puppet-5.5.7.tar.gz 3058343 BLAKE2B 
b3a1ef97c3da94f82e872485047da165ad7f2d98240f6ff1d691e1d5c3864b1d00235f71a91fe5f0564ae565f3e665fa2fcf9597a57b0e8ab1ec0e2acc18d69a
 SHA512 
ef1e8542280948cabf711354a397c22aaf8e7ae853c829f6363c1b8adb3534e76865fcdf03f4a6cc6dc156b166cb0d87cdb64204702e369c0169f05dcaa8e49e
+DIST puppet-5.5.8.tar.gz 3056987 BLAKE2B 
cfb0599f5a9a6f254b0e853ece390dcc4fb3e8cd40956955b81e9dd9ae3c3c39c18a0f5f010b269c8c21f1b288f50c354e4c40cd0cbd3ad3128dd95c3c7d0cca
 SHA512 
2ed960c0fcd4f6b0a7eacfffd8bc3ca88387bade0ce5ac6cbb247752f18927959286b1238c146d3d2bda7f8bee171fc502b44b129c4778feafbda90d993ee816
 DIST puppet-6.0.2.tar.gz 2796833 BLAKE2B 
a3d09dfd7dd0cadb2f752b4836336abd98c8cf6350f4e8b503a7e6b3029e59ff235f3567033b20bc3724708a9504db9ee87ac4c8374f0488862a7205a8a65069
 SHA512 
f32298d2884927f02f5316dde1d3d9bf33b89f6d011e2eab7f935b730a16d39277b5c17b2986eab91c19aefd5071b5fcbba62550ddd60e3b964f33f4029ac25a
+DIST puppet-6.0.4.tar.gz 2804651 BLAKE2B 
d2e685938b57ec896446a658d6a115f999b2254064711ceb6a139da3c5ffe488ba2dbd2da39b3a6c889027d971f44ff4fc99f87ceec95cc8b79eefc86f43f614
 SHA512 
fcfc0a9e1a707945c89e3080c1795511fd28143576886552d8e3635d62f526d0b3f9ed2a400ecc0084b63906246cb86e176b288ac049d01d0f9cf47fc65fe332

diff --git a/app-admin/puppet/puppet-6.0.2.ebuild 
b/app-admin/puppet/puppet-5.5.8.ebuild
similarity index 94%
copy from app-admin/puppet/puppet-6.0.2.ebuild
copy to app-admin/puppet/puppet-5.5.8.ebuild
index 11f3fa690f1..fb4ab3b1efc 100644
--- a/app-admin/puppet/puppet-6.0.2.ebuild
+++ b/app-admin/puppet/puppet-5.5.8.ebuild
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_TASK_DOC="doc:all"
 
 RUBY_FAKEGEM_EXTRAINSTALL="locales"
 
-inherit eutils user ruby-fakegem versionator
+inherit eutils user ruby-fakegem eapi7-ver
 
 DESCRIPTION="A system automation and configuration management software."
 HOMEPAGE="http://puppetlabs.com/";
@@ -19,14 +19,13 @@ SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz";
 
 LICENSE="Apache-2.0 GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
 RESTRICT="test"
 
 ruby_add_rdepend "
        dev-ruby/hiera
        dev-ruby/json:=
-       dev-ruby/semantic_puppet
        >=dev-ruby/facter-3.0.0
        augeas? ( dev-ruby/ruby-augeas )
        diff? ( dev-ruby/diff-lcs )
@@ -67,7 +66,7 @@ all_ruby_prepare() {
        rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
 
        # can't be run within portage.
-       epatch "${FILESDIR}/puppet-fix-tests-6.0.0.patch"
+       epatch "${FILESDIR}/puppet-fix-tests-4.7.0.patch"
 
        # fix systemd path
        epatch "${FILESDIR}/puppet-systemd.patch"
@@ -135,7 +134,8 @@ pkg_postinst() {
        elog
 
        for v in ${REPLACING_VERSIONS}; do
-               if [ "$(get_major_version $v)" = "4" ]; then
+               v=$(ver_cut "4.0.0" "$v")
+               if [ ver_test "$v" -eq "4" ]; then
                        elog
                        elog "Please see the following url for the release 
notes for puppet-5"
                        elog 
"https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x";

diff --git a/app-admin/puppet/puppet-6.0.2.ebuild 
b/app-admin/puppet/puppet-6.0.2-r1.ebuild
similarity index 89%
copy from app-admin/puppet/puppet-6.0.2.ebuild
copy to app-admin/puppet/puppet-6.0.2-r1.ebuild
index 11f3fa690f1..3079ab5dd7e 100644
--- a/app-admin/puppet/puppet-6.0.2.ebuild
+++ b/app-admin/puppet/puppet-6.0.2-r1.ebuild
@@ -98,8 +98,6 @@ all_ruby_install() {
 
        # openrc init stuff
        newinitd "${FILESDIR}"/puppet.init-4.x puppet
-       newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
-       newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
 
        keepdir /etc/puppetlabs/puppet/ssl
 
@@ -133,13 +131,8 @@ pkg_postinst() {
        elog "Portage Puppet module with Gentoo-specific resources:"
        elog "http://forge.puppetlabs.com/gentoo/portage";
        elog
-
-       for v in ${REPLACING_VERSIONS}; do
-               if [ "$(get_major_version $v)" = "4" ]; then
-                       elog
-                       elog "Please see the following url for the release 
notes for puppet-5"
-                       elog 
"https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x";
-                       elog
-               fi
-       done
+       elog "If updating from puppet 5 to 6, keep in mind that webrick 
(server/master)"
+       elog "suppert was removed for >=6.x, please migrate to puppetserver if 
you have"
+       elog "not already done so."
+       elog
 }

diff --git a/app-admin/puppet/puppet-6.0.2.ebuild 
b/app-admin/puppet/puppet-6.0.4.ebuild
similarity index 87%
rename from app-admin/puppet/puppet-6.0.2.ebuild
rename to app-admin/puppet/puppet-6.0.4.ebuild
index 11f3fa690f1..863d46f28da 100644
--- a/app-admin/puppet/puppet-6.0.2.ebuild
+++ b/app-admin/puppet/puppet-6.0.4.ebuild
@@ -11,7 +11,7 @@ RUBY_FAKEGEM_TASK_DOC="doc:all"
 
 RUBY_FAKEGEM_EXTRAINSTALL="locales"
 
-inherit eutils user ruby-fakegem versionator
+inherit eutils user ruby-fakegem eapi7-ver
 
 DESCRIPTION="A system automation and configuration management software."
 HOMEPAGE="http://puppetlabs.com/";
@@ -19,7 +19,7 @@ SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz";
 
 LICENSE="Apache-2.0 GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
 IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
 RESTRICT="test"
 
@@ -98,8 +98,6 @@ all_ruby_install() {
 
        # openrc init stuff
        newinitd "${FILESDIR}"/puppet.init-4.x puppet
-       newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
-       newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
 
        keepdir /etc/puppetlabs/puppet/ssl
 
@@ -133,13 +131,8 @@ pkg_postinst() {
        elog "Portage Puppet module with Gentoo-specific resources:"
        elog "http://forge.puppetlabs.com/gentoo/portage";
        elog
-
-       for v in ${REPLACING_VERSIONS}; do
-               if [ "$(get_major_version $v)" = "4" ]; then
-                       elog
-                       elog "Please see the following url for the release 
notes for puppet-5"
-                       elog 
"https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x";
-                       elog
-               fi
-       done
+       elog "If updating from puppet 5 to 6, keep in mind that webrick 
(server/master)"
+       elog "suppert was removed for >=6.x, please migrate to puppetserver if 
you have"
+       elog "not already done so."
+       elog
 }

Reply via email to