1 |
commit: 8654f8470ff2f4aaf1cb5f8c42e54ef8c3d3b7ac |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 02:04:35 2022 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 02:05:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8654f847 |
7 |
|
8 |
app-admin/puppet-agent: 7.18.0 bump |
9 |
|
10 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
11 |
|
12 |
app-admin/puppet-agent/Manifest | 2 + |
13 |
app-admin/puppet-agent/puppet-agent-7.18.0.ebuild | 91 +++++++++++++++++++++++ |
14 |
2 files changed, 93 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest |
17 |
index b48ee2d319be..c846576aa296 100644 |
18 |
--- a/app-admin/puppet-agent/Manifest |
19 |
+++ b/app-admin/puppet-agent/Manifest |
20 |
@@ -2,3 +2,5 @@ DIST puppet-agent_7.16.0-1focal_amd64.deb 20349200 BLAKE2B 73a5bc404b988fc009b95 |
21 |
DIST puppet-agent_7.16.0-1focal_arm64.deb 19543124 BLAKE2B 2a946462ddf1344f05f21c5c5f0a3ad4a1b92fa0b386d405b6cb563b0cb3de0a06ad8212d6001f10ed7afe2d7787d1107732a5890e48de99a32cec802d78d16d SHA512 74db9defefe8aa91daaac8337dd500cf2582c017eab34f61992630a30dc9b2ef62ae5aba21b9ee94f30b6f92e99557e61da742711bba7df8200b3eca5a06f748 |
22 |
DIST puppet-agent_7.17.0-1focal_amd64.deb 20397624 BLAKE2B 8304f937e6eb3f1a3c2a72ba34fce029ecec99decaf1a78b08b556c1ebe3073fa159e70e43baf468e833ede2e9a659f6384f52969e16932ac24a2a997da14eee SHA512 f493298af50e6eed61c7ffb0cf4234b1eb69594caedd24826bc9bcb5d85e736101bfa98b14dcfdceab5ee98e8bc228f25743fdcce440398ff9e0019c6861bde2 |
23 |
DIST puppet-agent_7.17.0-1focal_arm64.deb 19595304 BLAKE2B 719473363cb24dcd58a864c9ce4d24cb8d8f328d6179ec666d3f3ba1dbf8df53746b9dba37a820c782b6b7b56639c068da1a7db4813e44c5520dfc74ff026008 SHA512 5d74f2fca8fe214c70931b099582d5861ae95a3f11be69e33ee4a10b5135cde43d57b117fa3492983b13e023f9138584d72df6ea788015e058124e4578ae1e39 |
24 |
+DIST puppet-agent_7.18.0-1focal_amd64.deb 33767214 BLAKE2B def38171c1e0cad50cdffc8aada569af0996b1b7e3f788ffa3c5e3b05d0456d2776f2d12a4cf2f8a9227ebf3c1c13b52fa28f210249b04a54de1fbbc19f26c30 SHA512 387d3e1ca3a05c107411dc7a126b2984e8dacf3580823022c0010f33b08305b6722d8a1babee7825b8f60769589b1f166991931f66a484d94a17ac7d437141e1 |
25 |
+DIST puppet-agent_7.18.0-1focal_arm64.deb 33559710 BLAKE2B af2a4657c95dc7208b5c2f7494b9cec03f1c9ed0e73c06c150f492fa474d5620f5a58b23b7d928d4117a9b2b8c6384514b7f7000e7a6639582ebe97ab82571a7 SHA512 fafabbd00c4ef03b3bd6d9680bc78ada42ffefa8bc8186f24203be277e01267363f0ff35f176f3f04057c46ff437bbb957d4416ce5b6ffc1b3e1f79492c2ce7b |
26 |
|
27 |
diff --git a/app-admin/puppet-agent/puppet-agent-7.18.0.ebuild b/app-admin/puppet-agent/puppet-agent-7.18.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..0776db0b3b8b |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppet-agent/puppet-agent-7.18.0.ebuild |
32 |
@@ -0,0 +1,91 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit systemd unpacker tmpfiles |
38 |
+ |
39 |
+DESCRIPTION="general puppet client utils along with hiera and facter" |
40 |
+HOMEPAGE="https://puppetlabs.com/" |
41 |
+SRC_URI="amd64? ( http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb ) |
42 |
+arm64? ( http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_arm64.deb )" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="amd64 ~arm64" |
47 |
+IUSE="puppetdb selinux" |
48 |
+RESTRICT="strip" |
49 |
+ |
50 |
+# virtual/libcrypt:= is in here despite being a pre-built package |
51 |
+# to ensure that the has_version logic for the symlink doesn't become stale |
52 |
+CDEPEND="!app-admin/puppet |
53 |
+ !dev-ruby/hiera |
54 |
+ !dev-ruby/facter |
55 |
+ app-emulation/virt-what |
56 |
+ acct-user/puppet |
57 |
+ acct-group/puppet |
58 |
+ virtual/libcrypt:=" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ ${CDEPEND} |
62 |
+ app-admin/augeas" |
63 |
+RDEPEND="${CDEPEND} |
64 |
+ app-portage/eix |
65 |
+ sys-apps/dmidecode |
66 |
+ sys-libs/libselinux |
67 |
+ sys-libs/glibc |
68 |
+ sys-libs/readline:0/8 |
69 |
+ sys-libs/libxcrypt[compat] |
70 |
+ sys-libs/ncurses:0[tinfo] |
71 |
+ selinux? ( |
72 |
+ sys-libs/libselinux[ruby] |
73 |
+ sec-policy/selinux-puppet |
74 |
+ ) |
75 |
+ puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )" |
76 |
+ |
77 |
+S=${WORKDIR} |
78 |
+ |
79 |
+QA_PREBUILT="*" |
80 |
+ |
81 |
+src_install() { |
82 |
+ # conf.d |
83 |
+ doconfd etc/default/puppet |
84 |
+ doconfd etc/default/pxp-agent |
85 |
+ # logrotate.d |
86 |
+ insinto /etc/logrotate.d |
87 |
+ doins etc/logrotate.d/pxp-agent |
88 |
+ # puppet itself |
89 |
+ insinto /etc/puppetlabs |
90 |
+ doins -r etc/puppetlabs/* |
91 |
+ # logdir for systemd |
92 |
+ keepdir var/log/puppetlabs/puppet/ |
93 |
+ chmod 0750 var/log/puppetlabs/puppet/ |
94 |
+ # the rest |
95 |
+ insinto /opt |
96 |
+ dodir opt/puppetlabs/puppet/cache |
97 |
+ doins -r opt/* |
98 |
+ fperms 0750 /opt/puppetlabs/puppet/cache |
99 |
+ # init |
100 |
+ newinitd "${FILESDIR}/puppet.initd2" puppet |
101 |
+ systemd_dounit lib/systemd/system/puppet.service |
102 |
+ systemd_dounit lib/systemd/system/pxp-agent.service |
103 |
+ newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf |
104 |
+ # symlinks |
105 |
+ chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/" |
106 |
+ dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter |
107 |
+ dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera |
108 |
+ dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet |
109 |
+ |
110 |
+ # Handling of the path to the crypt library during the ongoing migration |
111 |
+ # from glibc[crypt] to libxcrypt |
112 |
+ # https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html |
113 |
+ if has_version "sys-libs/glibc[crypt]"; then |
114 |
+ local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1' |
115 |
+ else |
116 |
+ local crypt_target='../../../../usr/lib/libcrypt.so.1' |
117 |
+ fi |
118 |
+ dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1 |
119 |
+} |
120 |
+ |
121 |
+pkg_postinst() { |
122 |
+ tmpfiles_process puppet-agent.conf |
123 |
+} |