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