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: Thu, 27 Aug 2020 18:59:10
Message-Id: 1598554534.95482de51e123784224824b71bab8279013aa33b.prometheanfire@gentoo
1 commit: 95482de51e123784224824b71bab8279013aa33b
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 27 18:55:34 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 18:55:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95482de5
7
8 app-admin/puppet-agent: 6.18.0 bump
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.23
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-6.18.0.ebuild | 76 +++++++++++++++++++++++
15 2 files changed, 77 insertions(+)
16
17 diff --git a/app-admin/puppet-agent/Manifest b/app-admin/puppet-agent/Manifest
18 index 503fd46be7e..dd227d930d8 100644
19 --- a/app-admin/puppet-agent/Manifest
20 +++ b/app-admin/puppet-agent/Manifest
21 @@ -4,3 +4,4 @@ DIST puppet-agent_6.16.0-1focal_amd64.deb 22255252 BLAKE2B 64690ea444c666476864f
22 DIST puppet-agent_6.16.0-1stretch_amd64.deb 22336186 BLAKE2B 2bb62f25bf243e03288a5ee769c37c53c5f1c8f63a5e1a9d231b522409a68f3b3d957adbde0a99f616cdb60ced58cc6de990ff96f2b99d17be4aacd786c460a4 SHA512 dd5536e5fe9caad2dd7da8cfb6e2e2e93138b76f5a1014999f221c2bfcac94f0faecc3035ce09fc170dbb61226325ec82aafd80f1016e1d1ccacad9f1ae1b176
23 DIST puppet-agent_6.16.0-1stretch_i386.deb 22579590 BLAKE2B e923847d2d381d6a1a9c1761259c72c4c92e34d4aad5643eeadbef38d48a09a95d15fd359ded3501257057dbb892bc4dc5ae60abdc01d646cd194d1b40defd6d SHA512 4015da5a4df08e03ab3bf988fd2afb67c37fa7c820f73793ebc3270364928a6f89a5ebcadfeab1f07d4e88a98ee95c2069e47fde4391d2dea98855a9743b6adb
24 DIST puppet-agent_6.17.0-1focal_amd64.deb 22317432 BLAKE2B 570ef37c8e170ab1d615782322c895b0eba3193ac51dd221a8f9597c34c923c36874a5add1cf1074160c86dd4c4acc3ff1b65709cee2c0cddd84abe57c300faf SHA512 541010d896c891040154b22eed3f2e39b026cfef5669c95016ba1aa5b919002fcf2b8d2a15cde8efd104fc2e0699a8cb5cc3914bc039a27280f97f7f67d7b153
25 +DIST puppet-agent_6.18.0-1focal_amd64.deb 22258752 BLAKE2B 547d06b16b2c95ec9be72bd82e1aa0a4a4b511075da73f29ebecdef32ca4ed9b965a38a7c071d9bcc8c444b6974159df97f020878c0e4a20d1f50ff23d4c1129 SHA512 00f0cfd96176f5311f0bab14016ab88da03ecc10fd9e2bf28fc2d9a399600c56a97e23095694be5382005fef0df1c4fe3ff0d1aec3a46d85f74c729a3c62476a
26
27 diff --git a/app-admin/puppet-agent/puppet-agent-6.18.0.ebuild b/app-admin/puppet-agent/puppet-agent-6.18.0.ebuild
28 new file mode 100644
29 index 00000000000..d2a6b4ff967
30 --- /dev/null
31 +++ b/app-admin/puppet-agent/puppet-agent-6.18.0.ebuild
32 @@ -0,0 +1,76 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit eutils systemd unpacker
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 + dodir var/log/puppetlabs/puppet/
89 + fperms 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.initd" puppet
97 + systemd_dounit lib/systemd/system/puppet.service
98 + systemd_dounit lib/systemd/system/pxp-agent.service
99 + systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
100 + # symlinks
101 + chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
102 + chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
103 + dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
104 + dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
105 + dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
106 + dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
107 + dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
108 +}