1 |
commit: 1982c41412e332eb9bd8bbadd592ddcccffeff14 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 1 00:12:21 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 1 00:15:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1982c414 |
7 |
|
8 |
app-admin/puppetdb: 6.3.2 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
app-admin/puppetdb/Manifest | 1 + |
14 |
app-admin/puppetdb/puppetdb-6.3.2.ebuild | 92 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 93 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest |
18 |
index 3884c32ff34..d91daa6b5b7 100644 |
19 |
--- a/app-admin/puppetdb/Manifest |
20 |
+++ b/app-admin/puppetdb/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST puppetdb-5.2.4.tar.gz 25438658 BLAKE2B 4e548ed018b57f68c0cc81185579234e1708 |
22 |
DIST puppetdb-5.2.7.tar.gz 24353701 BLAKE2B 196b336a92031a25f7f28ca070a831857f3e0dde3ecc02e12e6884f3628c12dcc27b347c39147636addc975841f340fbf89196e86b3c10efc2ad1f16cf6f882a SHA512 989fa232d0fbd90c975fe110caca9b9c92a90167eb7b8d0384282dd8cf85111a56174c6785d7c73800e19185e879e258b8e6cefb210c1c44a229ce994336ef1d |
23 |
DIST puppetdb-6.2.0.tar.gz 39922402 BLAKE2B 5d3c36bdeb902c7292d8da728ce225e3378bcb1283dbb2558f7aaa488e53351da41551606723d6c504118f5a653d92831cb55e0570dd7827c1be06f78592e0ef SHA512 33da6a7db688561d01302918cc0e85ff88f5490ac4007e4f20df6b0483aa1a7f65b2226f98966936333c7fa28060adca47f10ba7419a05d70c9c72bd8a40e8e5 |
24 |
DIST puppetdb-6.3.1.tar.gz 41706703 BLAKE2B 74c1fc8a4702cdd94dab88d3e3bbf9e078d9c6e574454f49f2659bf8a9882ab51fd65392726834c032cb8e14881a349148a43ff05d6b186a1ece868be2fee2d4 SHA512 96ab60f0b0f531b1831ab3707b4c8496cea8fc921cd42fd828a1c86ed0e1d1324f1bec3df5345d0b5a0f737bfa638459941f1f6a9c41f95b745035249ebb01d3 |
25 |
+DIST puppetdb-6.3.2.tar.gz 41707817 BLAKE2B 480737af3abc862e90a7075011327ce3821a5d9460c785602c105ec7accc82f2ea712ae488c585226126e88f817cbb1acda7fa09793b7508aa38cc47e1c76ab0 SHA512 e2a3ce73c976cbbfa6acc62612187478cf5ecc9d514ff4866a74e2c6364979f17c3daeba0f03a01e7fc3eeb1ca84a3c886fd5eed07d2a9fbaa5fd9f7c9d577af |
26 |
|
27 |
diff --git a/app-admin/puppetdb/puppetdb-6.3.2.ebuild b/app-admin/puppetdb/puppetdb-6.3.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..616793cb412 |
30 |
--- /dev/null |
31 |
+++ b/app-admin/puppetdb/puppetdb-6.3.2.ebuild |
32 |
@@ -0,0 +1,92 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit multilib systemd user |
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 |
+# will need the same keywords as puppet |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND+=">=virtual/jdk-1.8.0" |
51 |
+DEPEND+="" |
52 |
+ |
53 |
+pkg_setup() { |
54 |
+ enewgroup puppetdb |
55 |
+ enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb" |
56 |
+} |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die |
60 |
+ sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die |
61 |
+ sed -i 's/sysconfig/conf\.d/g' install.sh || die |
62 |
+ sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die |
63 |
+ sed -i 's/var\/run/run/g' install.sh || die |
64 |
+ default |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ einfo "not compiling" |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ dodir /opt/puppetlabs/server/data/puppetdb |
73 |
+ insinto /opt/puppetlabs/server/apps/puppetdb |
74 |
+ insopts -m0744 |
75 |
+ doins ext/ezbake-functions.sh |
76 |
+ insopts -m0644 |
77 |
+ doins ext/ezbake.manifest |
78 |
+ doins puppetdb.jar |
79 |
+ insinto /etc/puppetlabs/puppetdb |
80 |
+ doins ext/config/logback.xml |
81 |
+ doins ext/config/bootstrap.cfg |
82 |
+ doins ext/config/request-logging.xml |
83 |
+ insinto /etc/puppetlabs/puppetdb/conf.d |
84 |
+ doins ext/config/conf.d/jetty.ini |
85 |
+ doins ext/config/conf.d/repl.ini |
86 |
+ doins ext/config/conf.d/database.ini |
87 |
+ doins ext/config/conf.d/config.ini |
88 |
+ insopts -m0755 |
89 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/scripts |
90 |
+ doins install.sh |
91 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps |
92 |
+ doins ext/cli/foreground |
93 |
+ doins ext/cli/ssl-setup |
94 |
+ doins ext/cli/config-migration |
95 |
+ doins ext/cli/foreground |
96 |
+ doins ext/cli/anonymize |
97 |
+ doins ext/cli/reload |
98 |
+ doins ext/cli/start |
99 |
+ doins ext/cli/stop |
100 |
+ insinto /opt/puppetlabs/server/apps/puppetdb/bin |
101 |
+ doins ext/bin/puppetdb |
102 |
+ insopts -m0644 |
103 |
+ dodir /opt/puppetlabs/server/bin |
104 |
+ dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb |
105 |
+ dodir /opt/puppetlabs/bin |
106 |
+ dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb |
107 |
+ dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb |
108 |
+ # init type tasks |
109 |
+ newconfd ext/default puppetdb |
110 |
+ systemd_dounit ext/redhat/puppetdb.service |
111 |
+ systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf |
112 |
+ newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb |
113 |
+ # misc |
114 |
+ insinto /etc/logrotate.d |
115 |
+ newins ext/puppetdb.logrotate.conf puppetdb |
116 |
+ fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb |
117 |
+ fperms -R 770 /opt/puppetlabs/server/data/puppetdb |
118 |
+} |
119 |
+ |
120 |
+pkg_postinst() { |
121 |
+ elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'" |
122 |
+ elog |
123 |
+ elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'" |
124 |
+} |