1 |
commit: d188ca391afac95cb80080da7723748d6c24d10f |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 22 18:22:34 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 22 18:33:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d188ca39 |
7 |
|
8 |
app-admin/puppet: 6.5.0 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.15 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/puppet/Manifest | 1 + |
14 |
app-admin/puppet/puppet-6.5.0.ebuild | 138 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 139 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest |
18 |
index 37939116421..af00ee57d5e 100644 |
19 |
--- a/app-admin/puppet/Manifest |
20 |
+++ b/app-admin/puppet/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST puppet-4.10.12.tar.gz 3022218 BLAKE2B 03757857868b1544078ae5e40d6e438631c78 |
22 |
DIST puppet-5.5.14.tar.gz 3075736 BLAKE2B bfea82d40f9671cdefab0b10c9481e4fbad397dd0a4aa26f5d0fa9ffa94477a5cc59b3724ab9ae3ee2e7e9230881676582c328c804ce9138dc484b9bd92e0ec3 SHA512 861100c02e0b8a5bb232d266bcd5e54b0e32cf26954ea37f276690aa3159ffdb28195ab8691df61ee0098300d226ea1d369dbdff8aae69101c2bbe6068ede8b1 |
23 |
DIST puppet-6.4.1.tar.gz 2893151 BLAKE2B 5c48b30083f93ce3625551020cc3b386cbc4ca8ab249099249099dc7aa8866186c197732ad603366d5fa54c3fc1664d7b457d323a2e6d9266faa754f7d4fa4ca SHA512 260f933dac3a3033e807c5b7c63d5562d9d8d29d11550efd38b0a94eac811f27444156cc11db38da170dc2369981072288df471fd05738a0f0e951bbdffe2a52 |
24 |
DIST puppet-6.4.2.tar.gz 2891159 BLAKE2B dfd8e5d9935d54272096fac66a037b8eab75dedc42caf18bafe29738e749a66869ad2e741753e8b38d872e21b1a261f2b4017c54faa57043754d619cf27652ed SHA512 7ec2746ef2a021d1cc3e3076840a9f1195fe51ba591cf2907e542b3f450cb1f4002fa3c958aee966c5976245073ba3cfacc9fd2a653d1d823720b33984aff911 |
25 |
+DIST puppet-6.5.0.tar.gz 2897110 BLAKE2B e14d6d2759fd83c0bdbf45fb0a7eaf9f3ea26071c39f56bb1a290b1fcd87bf8f9112811c25f8673b75810132aba5ab348302bf19c1b3efc6b8ad7a6c36dc4c04 SHA512 4dee7184ec9d8bc7c354939a1eb7745ad2bf8b13040f6c7986018678530d1b6a05c357672df269b2c41bc91c5a42de6197b223ac97dbc5122b9b4c70c8c907f8 |
26 |
|
27 |
diff --git a/app-admin/puppet/puppet-6.5.0.ebuild b/app-admin/puppet/puppet-6.5.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0038f1ebf43 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppet/puppet-6.5.0.ebuild |
32 |
@@ -0,0 +1,138 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+USE_RUBY="ruby23 ruby24 ruby25" |
39 |
+ |
40 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
+ |
42 |
+RUBY_FAKEGEM_TASK_DOC="doc:all" |
43 |
+ |
44 |
+RUBY_FAKEGEM_EXTRAINSTALL="locales" |
45 |
+ |
46 |
+inherit eutils user ruby-fakegem eapi7-ver |
47 |
+ |
48 |
+DESCRIPTION="A system automation and configuration management software." |
49 |
+HOMEPAGE="https://puppet.com/" |
50 |
+SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="Apache-2.0 GPL-2" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
55 |
+IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax" |
56 |
+RESTRICT="test" |
57 |
+ |
58 |
+ruby_add_rdepend " |
59 |
+ dev-ruby/hiera |
60 |
+ dev-ruby/json:= |
61 |
+ dev-ruby/semantic_puppet |
62 |
+ >=dev-ruby/facter-3.0.0 |
63 |
+ augeas? ( dev-ruby/ruby-augeas ) |
64 |
+ diff? ( dev-ruby/diff-lcs ) |
65 |
+ doc? ( dev-ruby/rdoc ) |
66 |
+ ldap? ( dev-ruby/ruby-ldap ) |
67 |
+ shadow? ( dev-ruby/ruby-shadow ) |
68 |
+ sqlite? ( dev-ruby/sqlite3 ) |
69 |
+ virtual/ruby-ssl |
70 |
+ dev-ruby/hocon" |
71 |
+ |
72 |
+ruby_add_bdepend " |
73 |
+ doc? ( dev-ruby/yard ) |
74 |
+ test? ( |
75 |
+ dev-ruby/mocha |
76 |
+ dev-ruby/rack |
77 |
+ dev-ruby/rspec-its |
78 |
+ )" |
79 |
+# this should go in the above lists, but isn't because of test deps not being keyworded |
80 |
+# dev-ruby/rspec-collection_matchers |
81 |
+ |
82 |
+RDEPEND+=" ${RDEPEND} |
83 |
+ rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
84 |
+ selinux? ( |
85 |
+ sys-libs/libselinux[ruby] |
86 |
+ sec-policy/selinux-puppet |
87 |
+ ) |
88 |
+ vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
89 |
+ >=app-portage/eix-0.18.0" |
90 |
+PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" |
91 |
+ |
92 |
+pkg_setup() { |
93 |
+ enewgroup puppet |
94 |
+ enewuser puppet -1 -1 /var/lib/puppet puppet |
95 |
+} |
96 |
+ |
97 |
+all_ruby_prepare() { |
98 |
+ # Avoid spec that require unpackaged json-schema. |
99 |
+ rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
100 |
+ |
101 |
+ # can't be run within portage. |
102 |
+ epatch "${FILESDIR}/puppet-fix-tests-6.4.1.patch" |
103 |
+ |
104 |
+ # fix systemd path |
105 |
+ epatch "${FILESDIR}/puppet-systemd.patch" |
106 |
+ |
107 |
+ # Avoid specs that can only run in the puppet.git repository. This |
108 |
+ # should be narrowed down to the specific specs. |
109 |
+ rm spec/integration/parser/compiler_spec.rb || die |
110 |
+ |
111 |
+ # Avoid failing spec that need further investigation. |
112 |
+ rm spec/unit/module_tool/metadata_spec.rb || die |
113 |
+} |
114 |
+ |
115 |
+each_ruby_install() { |
116 |
+ each_fakegem_install |
117 |
+# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
118 |
+} |
119 |
+ |
120 |
+all_ruby_install() { |
121 |
+ all_fakegem_install |
122 |
+ |
123 |
+ # systemd stuffs |
124 |
+ insinto /usr/lib/systemd/system |
125 |
+ doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
126 |
+ |
127 |
+ # tmpfiles stuff |
128 |
+ insinto /usr/lib/tmpfiles.d |
129 |
+ newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
130 |
+ |
131 |
+ # openrc init stuff |
132 |
+ newinitd "${FILESDIR}"/puppet.init-4.x puppet |
133 |
+ |
134 |
+ keepdir /etc/puppetlabs/puppet/ssl |
135 |
+ |
136 |
+ keepdir /var/lib/puppet/facts |
137 |
+ keepdir /var/lib/puppet/files |
138 |
+ fowners -R puppet:puppet /var/lib/puppet |
139 |
+ |
140 |
+ fperms 0750 /var/lib/puppet |
141 |
+ |
142 |
+ fperms 0750 /etc/puppetlabs |
143 |
+ fperms 0750 /etc/puppetlabs/puppet |
144 |
+ fperms 0750 /etc/puppetlabs/puppet/ssl |
145 |
+ fowners -R :puppet /etc/puppetlabs |
146 |
+ fowners -R :puppet /var/lib/puppet |
147 |
+ |
148 |
+ if use ldap ; then |
149 |
+ insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
150 |
+ fi |
151 |
+ |
152 |
+ # ext and examples files |
153 |
+ for f in $(find ext examples -type f) ; do |
154 |
+ docinto "$(dirname ${f})"; dodoc "${f}" |
155 |
+ done |
156 |
+} |
157 |
+ |
158 |
+pkg_postinst() { |
159 |
+ elog |
160 |
+ elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
161 |
+ elog "cause puppet to hang while installing packages." |
162 |
+ elog |
163 |
+ elog "Portage Puppet module with Gentoo-specific resources:" |
164 |
+ elog "http://forge.puppetlabs.com/gentoo/portage" |
165 |
+ elog |
166 |
+ elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)" |
167 |
+ elog "suppert was removed for >=6.x, please migrate to puppetserver if you have" |
168 |
+ elog "not already done so." |
169 |
+ elog |
170 |
+} |