1 |
commit: ab0292584504e1c2761f11d099dbb408360a78b6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 28 08:56:22 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 06:49:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab029258 |
7 |
|
8 |
app-admin/puppet: drop 5.5.22-r1 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
app-admin/puppet/puppet-5.5.22-r1.ebuild | 140 ------------------------------- |
13 |
1 file changed, 140 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/puppet/puppet-5.5.22-r1.ebuild b/app-admin/puppet/puppet-5.5.22-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index f534c29f43f0..000000000000 |
18 |
--- a/app-admin/puppet/puppet-5.5.22-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,140 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-USE_RUBY="ruby25 ruby26 ruby27" |
27 |
- |
28 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
29 |
- |
30 |
-RUBY_FAKEGEM_TASK_DOC="doc:all" |
31 |
- |
32 |
-RUBY_FAKEGEM_EXTRAINSTALL="locales" |
33 |
- |
34 |
-inherit ruby-fakegem systemd tmpfiles |
35 |
- |
36 |
-DESCRIPTION="A system automation and configuration management software" |
37 |
-HOMEPAGE="https://puppet.com/" |
38 |
-SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="Apache-2.0 GPL-2" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86" |
43 |
-IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax" |
44 |
-RESTRICT="test" |
45 |
- |
46 |
-ruby_add_rdepend " |
47 |
- >=dev-ruby/hiera-3.2.1:0 |
48 |
- =dev-ruby/facter-3* |
49 |
- >=dev-ruby/fast_gettext-1.1.2:0 |
50 |
- >=dev-ruby/locale-2.1:0 |
51 |
- >=dev-ruby/multi_json-1.10:0 |
52 |
- augeas? ( dev-ruby/ruby-augeas ) |
53 |
- diff? ( dev-ruby/diff-lcs ) |
54 |
- doc? ( dev-ruby/rdoc ) |
55 |
- ldap? ( dev-ruby/ruby-ldap ) |
56 |
- shadow? ( dev-ruby/ruby-shadow ) |
57 |
- sqlite? ( dev-ruby/sqlite3 ) |
58 |
- virtual/ruby-ssl |
59 |
- dev-ruby/hocon" |
60 |
- |
61 |
-ruby_add_bdepend " |
62 |
- doc? ( dev-ruby/yard ) |
63 |
- test? ( |
64 |
- dev-ruby/mocha |
65 |
- dev-ruby/rack |
66 |
- dev-ruby/rspec-its |
67 |
- )" |
68 |
-# this should go in the above lists, but isn't because of test deps not being keyworded |
69 |
-# dev-ruby/rspec-collection_matchers |
70 |
- |
71 |
-RDEPEND+=" ${RDEPEND} |
72 |
- rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
73 |
- selinux? ( |
74 |
- sys-libs/libselinux[ruby] |
75 |
- sec-policy/selinux-puppet |
76 |
- ) |
77 |
- vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
78 |
- >=app-portage/eix-0.18.0 |
79 |
- acct-user/puppet |
80 |
- acct-group/puppet" |
81 |
-PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" |
82 |
- |
83 |
-all_ruby_prepare() { |
84 |
- # Avoid spec that require unpackaged json-schema. |
85 |
- rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
86 |
- |
87 |
- # fix systemd path |
88 |
- eapply -p0 "${FILESDIR}/puppet-systemd.patch" |
89 |
- |
90 |
- # Avoid specs that can only run in the puppet.git repository. This |
91 |
- # should be narrowed down to the specific specs. |
92 |
- rm spec/integration/parser/compiler_spec.rb || die |
93 |
- |
94 |
- # Avoid failing spec that need further investigation. |
95 |
- rm spec/unit/module_tool/metadata_spec.rb || die |
96 |
-} |
97 |
- |
98 |
-each_ruby_install() { |
99 |
- each_fakegem_install |
100 |
-# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
101 |
-} |
102 |
- |
103 |
-all_ruby_install() { |
104 |
- all_fakegem_install |
105 |
- |
106 |
- # systemd stuffs |
107 |
- systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
108 |
- |
109 |
- # tmpfiles stuff |
110 |
- newtmpfiles "${FILESDIR}/tmpfiles.d" "puppet.conf" |
111 |
- |
112 |
- # openrc init stuff |
113 |
- newinitd "${FILESDIR}"/puppet.init-4.x puppet |
114 |
- newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
115 |
- newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
116 |
- |
117 |
- keepdir /etc/puppetlabs/puppet/ssl |
118 |
- |
119 |
- keepdir /var/lib/puppet/facts |
120 |
- keepdir /var/lib/puppet/files |
121 |
- fowners -R puppet:puppet /var/lib/puppet |
122 |
- |
123 |
- fperms 0750 /var/lib/puppet |
124 |
- |
125 |
- fperms 0750 /etc/puppetlabs |
126 |
- fperms 0750 /etc/puppetlabs/puppet |
127 |
- fperms 0750 /etc/puppetlabs/puppet/ssl |
128 |
- fowners -R :puppet /etc/puppetlabs |
129 |
- fowners -R :puppet /var/lib/puppet |
130 |
- |
131 |
- if use ldap ; then |
132 |
- insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
133 |
- fi |
134 |
- |
135 |
- # ext and examples files |
136 |
- for f in $(find ext examples -type f) ; do |
137 |
- docinto "$(dirname ${f})"; dodoc "${f}" |
138 |
- done |
139 |
-} |
140 |
- |
141 |
-pkg_postinst() { |
142 |
- tmpfiles_process puppet.conf |
143 |
- |
144 |
- elog |
145 |
- elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
146 |
- elog "cause puppet to hang while installing packages." |
147 |
- elog |
148 |
- elog "Portage Puppet module with Gentoo-specific resources:" |
149 |
- elog "http://forge.puppetlabs.com/gentoo/portage" |
150 |
- elog |
151 |
- |
152 |
- for v in ${REPLACING_VERSIONS}; do |
153 |
- if [ "$(ver_cut 1 "$v")" -eq "4" ]; then |
154 |
- elog |
155 |
- elog "Please see the following url for the release notes for puppet-5" |
156 |
- elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x" |
157 |
- elog |
158 |
- fi |
159 |
- done |
160 |
-} |