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