From: Matthew Thode Date: Sat, 6 Apr 2019 22:07:55 +0000 (-0500) Subject: app-admin/puppetdb: 6.3.0 bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=deb4ac3c86709b490772bd9393c1da596463a35a;p=gentoo.git app-admin/puppetdb: 6.3.0 bump Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthew Thode --- diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest index 7c213c696d8b..0a41c4dcd0b4 100644 --- a/app-admin/puppetdb/Manifest +++ b/app-admin/puppetdb/Manifest @@ -1,3 +1,4 @@ DIST puppetdb-5.2.4.tar.gz 25438658 BLAKE2B 4e548ed018b57f68c0cc81185579234e17086985733d56030802577ab5fb8106c7c47c603aa3da65ede3e5780c89df8b2dbece12c29aa1b171ceda1de7228f56 SHA512 6979ebccaa1136d19ffd0d67bdbff9c608c649d75b56b4b041d8795fdcedf24c831553c5361f8e144fa01bbac92af88e6548f917ca00eec707d8740a99689059 DIST puppetdb-5.2.7.tar.gz 24353701 BLAKE2B 196b336a92031a25f7f28ca070a831857f3e0dde3ecc02e12e6884f3628c12dcc27b347c39147636addc975841f340fbf89196e86b3c10efc2ad1f16cf6f882a SHA512 989fa232d0fbd90c975fe110caca9b9c92a90167eb7b8d0384282dd8cf85111a56174c6785d7c73800e19185e879e258b8e6cefb210c1c44a229ce994336ef1d DIST puppetdb-6.2.0.tar.gz 39922402 BLAKE2B 5d3c36bdeb902c7292d8da728ce225e3378bcb1283dbb2558f7aaa488e53351da41551606723d6c504118f5a653d92831cb55e0570dd7827c1be06f78592e0ef SHA512 33da6a7db688561d01302918cc0e85ff88f5490ac4007e4f20df6b0483aa1a7f65b2226f98966936333c7fa28060adca47f10ba7419a05d70c9c72bd8a40e8e5 +DIST puppetdb-6.3.0.tar.gz 41678795 BLAKE2B a27a441cebcd2b498d95840f5c599b8e2882cb253fb356a4996d4a53873c1f769ceb52b6b3cdee9d04e176099f83b1238719c0527ceaab80c8477bdddfd2744f SHA512 daf8a8ca9c5bc8b02f673a75409f828a0c4ec2bb11d110a1f8a623de39493e987addd61072923ff1e09bc86f255bf69f9fd996e87ee9a9166f7fbc05a67ff544 diff --git a/app-admin/puppetdb/puppetdb-6.3.0.ebuild b/app-admin/puppetdb/puppetdb-6.3.0.ebuild new file mode 100644 index 000000000000..616793cb4123 --- /dev/null +++ b/app-admin/puppetdb/puppetdb-6.3.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib systemd user + +DESCRIPTION="PuppetDB collects data generated by Puppet." +HOMEPAGE="http://docs.puppetlabs.com/puppetdb/" +SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +# will need the same keywords as puppet +KEYWORDS="~amd64 ~x86" + +RDEPEND+=">=virtual/jdk-1.8.0" +DEPEND+="" + +pkg_setup() { + enewgroup puppetdb + enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb" +} + +src_prepare() { + sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die + sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die + sed -i 's/sysconfig/conf\.d/g' install.sh || die + sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die + sed -i 's/var\/run/run/g' install.sh || die + default +} + +src_compile() { + einfo "not compiling" +} + +src_install() { + dodir /opt/puppetlabs/server/data/puppetdb + insinto /opt/puppetlabs/server/apps/puppetdb + insopts -m0744 + doins ext/ezbake-functions.sh + insopts -m0644 + doins ext/ezbake.manifest + doins puppetdb.jar + insinto /etc/puppetlabs/puppetdb + doins ext/config/logback.xml + doins ext/config/bootstrap.cfg + doins ext/config/request-logging.xml + insinto /etc/puppetlabs/puppetdb/conf.d + doins ext/config/conf.d/jetty.ini + doins ext/config/conf.d/repl.ini + doins ext/config/conf.d/database.ini + doins ext/config/conf.d/config.ini + insopts -m0755 + insinto /opt/puppetlabs/server/apps/puppetdb/scripts + doins install.sh + insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps + doins ext/cli/foreground + doins ext/cli/ssl-setup + doins ext/cli/config-migration + doins ext/cli/foreground + doins ext/cli/anonymize + doins ext/cli/reload + doins ext/cli/start + doins ext/cli/stop + insinto /opt/puppetlabs/server/apps/puppetdb/bin + doins ext/bin/puppetdb + insopts -m0644 + dodir /opt/puppetlabs/server/bin + dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb + dodir /opt/puppetlabs/bin + dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb + dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb + # init type tasks + newconfd ext/default puppetdb + systemd_dounit ext/redhat/puppetdb.service + systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf + newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb + # misc + insinto /etc/logrotate.d + newins ext/puppetdb.logrotate.conf puppetdb + fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb + fperms -R 770 /opt/puppetlabs/server/data/puppetdb +} + +pkg_postinst() { + elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'" + elog + elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'" +}