1 |
commit: 969cf3c7719dabb4c13a8018acfb08f67b0e0e83 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 18:11:13 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 27 18:12:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969cf3c7 |
7 |
|
8 |
app-admin/puppetdb: 7.3.1 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/puppetdb/Manifest | 1 + |
14 |
app-admin/puppetdb/puppetdb-7.3.1.ebuild | 87 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 88 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest |
18 |
index f0d936847be..f3b46df84c7 100644 |
19 |
--- a/app-admin/puppetdb/Manifest |
20 |
+++ b/app-admin/puppetdb/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST puppetdb-6.13.0.tar.gz 46400373 BLAKE2B 2e3cdd4e7a3e84e11f23031dba3aadf5be885e118938a0a52140e612b4006a0fd4e97f162322c80731b2bfb63dcff2d73d5b2cd0882f7aabcb69fe30aa05151b SHA512 4d16ce44666634e88c538b06f6b2e91cf9786646134a6302a80ea941e3f73168b0f4981cecdb125cac881c0233c835893e9385004461b67e7d8635865f14aee9 |
23 |
DIST puppetdb-7.0.1.tar.gz 46449698 BLAKE2B 63538c2c61ca5f68643f95537d5096e08e46ffbd0b7d02e03fd6fb6ae5864fc234bd18bc9389d1f073c30ed4472415b6916672875250ae3a24cb348969f950d8 SHA512 0ae763b71d02c3afc55cf2f10829da75b07d89e57b75c713bc52492a7cc3693c3d22ecbbb36fed30f562f067f78fb0d1c80b073e0238a60eb144cc3555d7219d |
24 |
DIST puppetdb-7.2.0.tar.gz 47126306 BLAKE2B aa9213b3a6e7438f7f70c73d14d5a264fe8d45f41d15a21eb457f4264599d4ffc02339b1109aeba713b7afb09780a7ce66786fc03d27e49cd0786cc81042d36c SHA512 872ebc8caf5c9c2f9509f603809c942ef8b3fc0bab96dd39a51558cae88b07318fadb81aa2f8477d231c7caac513b304c6aa178deb3aa56a4a5f7a9f1917d90c |
25 |
+DIST puppetdb-7.3.1.tar.gz 47173502 BLAKE2B e9f57300585cb556f75975c4a20c35c0789816a9f141a3979348200e28e24352870109fc3597a44d075b490b9da2308e963a24e64e37552f7124205beb87aae8 SHA512 aa15aebec2f7a24a2da125078017baabe054d741ee651b91219074a274400ae54862c38d3e253e904fe26165f4fc34fb3eb021937aa9ee4304b7e83bc3f5d0dc |
26 |
|
27 |
diff --git a/app-admin/puppetdb/puppetdb-7.3.1.ebuild b/app-admin/puppetdb/puppetdb-7.3.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..78bd75a0264 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppetdb/puppetdb-7.3.1.ebuild |
32 |
@@ -0,0 +1,87 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit multilib systemd tmpfiles |
39 |
+ |
40 |
+DESCRIPTION="PuppetDB collects data generated by Puppet." |
41 |
+HOMEPAGE="http://docs.puppetlabs.com/puppetdb/" |
42 |
+SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+IUSE="" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND+=">=virtual/jdk-1.8.0" |
50 |
+DEPEND+="acct-user/puppetdb |
51 |
+ acct-group/puppetdb" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die |
55 |
+ sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die |
56 |
+ sed -i 's/sysconfig/conf\.d/g' install.sh || die |
57 |
+ sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die |
58 |
+ sed -i 's/var\/run/run/g' install.sh || die |
59 |
+ default |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ einfo "not compiling" |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ dodir /opt/puppetlabs/server/data/puppetdb |
68 |
+ insinto /opt/puppetlabs/server/apps/puppetdb |
69 |
+ insopts -m0744 |
70 |
+ doins ext/ezbake-functions.sh |
71 |
+ insopts -m0644 |
72 |
+ doins ext/ezbake.manifest |
73 |
+ doins puppetdb.jar |
74 |
+ insinto /etc/puppetlabs/puppetdb |
75 |
+ doins ext/config/logback.xml |
76 |
+ doins ext/config/bootstrap.cfg |
77 |
+ doins ext/config/request-logging.xml |
78 |
+ insinto /etc/puppetlabs/puppetdb/conf.d |
79 |
+ doins ext/config/conf.d/jetty.ini |
80 |
+ doins ext/config/conf.d/repl.ini |
81 |
+ doins ext/config/conf.d/database.ini |
82 |
+ doins ext/config/conf.d/config.ini |
83 |
+ insopts -m0755 |
84 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/scripts |
85 |
+ doins install.sh |
86 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps |
87 |
+ doins ext/cli/foreground |
88 |
+ doins ext/cli/ssl-setup |
89 |
+ doins ext/cli/config-migration |
90 |
+ doins ext/cli/foreground |
91 |
+ doins ext/cli/anonymize |
92 |
+ doins ext/cli/reload |
93 |
+ doins ext/cli/start |
94 |
+ doins ext/cli/stop |
95 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/bin |
96 |
+ doins ext/bin/puppetdb |
97 |
+ insopts -m0644 |
98 |
+ dodir /opt/puppetlabs/server/bin |
99 |
+ dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb |
100 |
+ dodir /opt/puppetlabs/bin |
101 |
+ dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb |
102 |
+ dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb |
103 |
+ # init type tasks |
104 |
+ newconfd ext/default puppetdb |
105 |
+ systemd_dounit ext/redhat/puppetdb.service |
106 |
+ newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf |
107 |
+ newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb |
108 |
+ # misc |
109 |
+ insinto /etc/logrotate.d |
110 |
+ newins ext/puppetdb.logrotate.conf puppetdb |
111 |
+ fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb |
112 |
+ fperms -R 770 /opt/puppetlabs/server/data/puppetdb |
113 |
+} |
114 |
+ |
115 |
+pkg_postinst() { |
116 |
+ elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'" |
117 |
+ elog |
118 |
+ elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'" |
119 |
+} |