Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet-agent/
Date: Wed, 02 Jun 2021 15:46:44
Message-Id: 1622648796.a108435a88b79f840be80327e1e25c1c5da81fae.prometheanfire@gentoo
1 commit: a108435a88b79f840be80327e1e25c1c5da81fae
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 2 15:42:00 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 2 15:46:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a108435a
7
8 app-admin/puppet-agent: 7.7.0 bump
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
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.7.0.ebuild | 74 ++++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index f939ecc2f66..cf9b09a905f 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.5.0-1focal_amd64.deb 20900560 BLAKE2B a1f0e3da38cc98e677f66fd8887e4db1e1bd9d2af0b89597c0b1f2e569b78ccd8eb2d7c84c9cf5c8d03097dd6b22ae323ad7e9f989b06692a6ca7fbd28d5cf46 SHA512 250839f7d4a09545ae509273cbfb1ba004b8d0c5559b5312642b7483c605d32b7575c52b5e9a2b9d3f65e2fcfbf00f4ed85ee498ae9dc39629f1618aaab79361
24 DIST puppet-agent_7.6.1-1focal_amd64.deb 20894772 BLAKE2B 235f62750c1e7a42b8b4fa013b969926c4c168fd6a6d9cfc8f243ef5571360593572faad57326019c09cd1d1e67fcc985d699acbd07c3279ac350712828eb26f SHA512 36b9f69cbef0b51a80375231472e4bab195a08b14bb860419d2ad01f13d90cba377d796b3253643f77ff415f43d2f9598dc18c37d76d844a3ea98299e5d43e65
25 +DIST puppet-agent_7.7.0-1focal_amd64.deb 20917640 BLAKE2B f0b154c49f083a0eba5caa9351c83534a3fcce9028d56ed7c2a9c58520c5105eab215432aab0ac188b6ccaa11d922a90bed2b093a3234ec292d80c12f8e1f188 SHA512 70375495d08eccd145fa936118341c861cad76c1b760055579814d9d79d424db1b165d884bbca20dd3ce3bf932a9d99043ef38f968318bd028b6f1b3750eeeef
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-7.7.0.ebuild b/app-admin/puppet-agent/puppet-agent-7.7.0.ebuild
28 new file mode 100644
29 index 00000000000..4a86bc59357
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-7.7.0.ebuild
32 @@ -0,0 +1,74 @@
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 +CDEPEND="!app-admin/puppet
50 + !dev-ruby/hiera
51 + !dev-ruby/facter
52 + app-emulation/virt-what
53 + acct-user/puppet
54 + acct-group/puppet"
55 +
56 +DEPEND="
57 + ${CDEPEND}
58 + app-admin/augeas"
59 +RDEPEND="${CDEPEND}
60 + app-portage/eix
61 + sys-apps/dmidecode
62 + sys-libs/libselinux
63 + sys-libs/glibc
64 + sys-libs/readline:0/8
65 + sys-libs/libxcrypt
66 + sys-libs/ncurses:0[tinfo]
67 + selinux? (
68 + sys-libs/libselinux[ruby]
69 + sec-policy/selinux-puppet
70 + )
71 + puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
72 +
73 +S=${WORKDIR}
74 +
75 +QA_PREBUILT="*"
76 +
77 +src_install() {
78 + # conf.d
79 + doconfd etc/default/puppet
80 + doconfd etc/default/pxp-agent
81 + # logrotate.d
82 + insinto /etc/logrotate.d
83 + doins etc/logrotate.d/pxp-agent
84 + # puppet itself
85 + insinto /etc/puppetlabs
86 + doins -r etc/puppetlabs/*
87 + # logdir for systemd
88 + keepdir var/log/puppetlabs/puppet/
89 + chmod 0750 var/log/puppetlabs/puppet/
90 + # the rest
91 + insinto /opt
92 + dodir opt/puppetlabs/puppet/cache
93 + doins -r opt/*
94 + fperms 0750 /opt/puppetlabs/puppet/cache
95 + # init
96 + newinitd "${FILESDIR}/puppet.initd2" puppet
97 + systemd_dounit lib/systemd/system/puppet.service
98 + systemd_dounit lib/systemd/system/pxp-agent.service
99 + newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
100 + # symlinks
101 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
102 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
103 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
104 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
105 + dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
106 +}