1 |
commit: 4c8a97126300c24f2b1342218b0bb0b41184cee1 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 18:57:55 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 19:00:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8a9712 |
7 |
|
8 |
app-admin/puppet-agent: 7.12.0 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/puppet-agent/Manifest | 1 + |
14 |
app-admin/puppet-agent/puppet-agent-7.12.0.ebuild | 90 +++++++++++++++++++++++ |
15 |
2 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest |
18 |
index bb4fe59222e..2afbe64897c 100644 |
19 |
--- a/app-admin/puppet-agent/Manifest |
20 |
+++ b/app-admin/puppet-agent/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST puppet-agent_6.19.1-1focal_amd64.deb 22221600 BLAKE2B 22b03ef1f86b34955e8bad7c63a2022d2832dadd554316baf75419d6543e8a569902fb92a81a3dcc817401f06aa7dd47143a6cbd383f0e531c465cd3203dc4ed SHA512 4819a3509066516b0be76bc0f2afe94611405f7ac52fe50890d57c86a8a9c6c70787d46cb4b77085666f3e74bcb83a11acf1fef5d1e6ed3151ea06cbb8df3170 |
23 |
DIST puppet-agent_7.10.0-1focal_amd64.deb 20964600 BLAKE2B 160a5abf3dccb57b325283f9ec6f908be73aaa065787bc6cefe2db0fbfd67145a42cab1a763e2e14c64b7902c50814b09a4b4763aaa504536f289b485cd41a6b SHA512 88c2907e47ad3009c9ce9089d3fb91da68c6c80d9d50fbf714332f2f637ad69adc122a88042cac020ae9c637b07e6569ffab7998ca08aa57a67254748cce5d30 |
24 |
DIST puppet-agent_7.11.0-1focal_amd64.deb 20968988 BLAKE2B 41c1464290fc38b9bb2a79384c6c427ec8cd1332b3ccba155cb26d43a87b36931415d3a54a10ae8f6a1322f02eeaef27147d4af7304f541ce38e668b072cc03c SHA512 38024f80af5ef69a1db22f9ed90b7b00af5183988b2029fa63a8b2fa1de1c189ba164d8cd450156c4d822a3e6404e5933ca09efdd4eeee7188c99791991a9921 |
25 |
+DIST puppet-agent_7.12.0-1focal_amd64.deb 20971412 BLAKE2B afb9af877e578b6ae24566e0688d14fa67fdb133a3fd9e15dc2473ea76f61a6551bd69a6fad18b6b555eea2afa8fd858a005f2c1cf6681c28f4422129211dea9 SHA512 f5fdab728baa7813f31ba174b0ee7e9dee3f5f954ed46a2f6740cf6ad075c8f36a1b6cb28e7c6223eb4aad02400252114a5dcede0085f7a7e7ba079bad2aedf9 |
26 |
|
27 |
diff --git a/app-admin/puppet-agent/puppet-agent-7.12.0.ebuild b/app-admin/puppet-agent/puppet-agent-7.12.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6e7e8d74150 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppet-agent/puppet-agent-7.12.0.ebuild |
32 |
@@ -0,0 +1,90 @@ |
33 |
+# Copyright 1999-2021 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="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="puppetdb selinux" |
47 |
+RESTRICT="strip" |
48 |
+ |
49 |
+# virtual/libcrypt:= is in here despite being a pre-built package |
50 |
+# to ensure that the has_version logic for the symlink doesn't become stale |
51 |
+CDEPEND="!app-admin/puppet |
52 |
+ !dev-ruby/hiera |
53 |
+ !dev-ruby/facter |
54 |
+ app-emulation/virt-what |
55 |
+ acct-user/puppet |
56 |
+ acct-group/puppet |
57 |
+ virtual/libcrypt:=" |
58 |
+ |
59 |
+DEPEND=" |
60 |
+ ${CDEPEND} |
61 |
+ app-admin/augeas" |
62 |
+RDEPEND="${CDEPEND} |
63 |
+ app-portage/eix |
64 |
+ sys-apps/dmidecode |
65 |
+ sys-libs/libselinux |
66 |
+ sys-libs/glibc |
67 |
+ sys-libs/readline:0/8 |
68 |
+ sys-libs/libxcrypt[compat] |
69 |
+ sys-libs/ncurses:0[tinfo] |
70 |
+ selinux? ( |
71 |
+ sys-libs/libselinux[ruby] |
72 |
+ sec-policy/selinux-puppet |
73 |
+ ) |
74 |
+ puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )" |
75 |
+ |
76 |
+S=${WORKDIR} |
77 |
+ |
78 |
+QA_PREBUILT="*" |
79 |
+ |
80 |
+src_install() { |
81 |
+ # conf.d |
82 |
+ doconfd etc/default/puppet |
83 |
+ doconfd etc/default/pxp-agent |
84 |
+ # logrotate.d |
85 |
+ insinto /etc/logrotate.d |
86 |
+ doins etc/logrotate.d/pxp-agent |
87 |
+ # puppet itself |
88 |
+ insinto /etc/puppetlabs |
89 |
+ doins -r etc/puppetlabs/* |
90 |
+ # logdir for systemd |
91 |
+ keepdir var/log/puppetlabs/puppet/ |
92 |
+ chmod 0750 var/log/puppetlabs/puppet/ |
93 |
+ # the rest |
94 |
+ insinto /opt |
95 |
+ dodir opt/puppetlabs/puppet/cache |
96 |
+ doins -r opt/* |
97 |
+ fperms 0750 /opt/puppetlabs/puppet/cache |
98 |
+ # init |
99 |
+ newinitd "${FILESDIR}/puppet.initd2" puppet |
100 |
+ systemd_dounit lib/systemd/system/puppet.service |
101 |
+ systemd_dounit lib/systemd/system/pxp-agent.service |
102 |
+ newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf |
103 |
+ # symlinks |
104 |
+ chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/" |
105 |
+ dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter |
106 |
+ dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera |
107 |
+ dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet |
108 |
+ |
109 |
+ # Handling of the path to the crypt library during the ongoing migration |
110 |
+ # from glibc[crypt] to libxcrypt |
111 |
+ # https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html |
112 |
+ if has_version "sys-libs/glibc[crypt]"; then |
113 |
+ local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1' |
114 |
+ else |
115 |
+ local crypt_target='../../../../usr/lib/libcrypt.so.1' |
116 |
+ fi |
117 |
+ dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1 |
118 |
+} |
119 |
+ |
120 |
+pkg_postinst() { |
121 |
+ tmpfiles_process puppet-agent.conf |
122 |
+} |