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