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