From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E64A158095 for ; Thu, 15 Sep 2022 00:20:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F76FE09B4; Thu, 15 Sep 2022 00:20:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54E53E09B4 for ; Thu, 15 Sep 2022 00:20:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDF5F340F2E for ; Thu, 15 Sep 2022 00:20:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D08E5DA for ; Thu, 15 Sep 2022 00:20:51 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1663201246.5c99894badc9964b263ade2987ceaf37d601db01.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppetdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/puppetdb/Manifest app-admin/puppetdb/puppetdb-7.11.1.ebuild X-VCS-Directories: app-admin/puppetdb/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: 5c99894badc9964b263ade2987ceaf37d601db01 X-VCS-Branch: master Date: Thu, 15 Sep 2022 00:20:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bfac40b-d0b2-4bc4-bcdc-be7f195a5c49 X-Archives-Hash: 6c0c73d2d6299168bcd429d828d26f53 commit: 5c99894badc9964b263ade2987ceaf37d601db01 Author: Matthew Thode gentoo org> AuthorDate: Thu Sep 15 00:18:15 2022 +0000 Commit: Matthew Thode gentoo org> CommitDate: Thu Sep 15 00:20:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c99894b app-admin/puppetdb: add 7.11.1 Signed-off-by: Matthew Thode gentoo.org> app-admin/puppetdb/Manifest | 1 + app-admin/puppetdb/puppetdb-7.11.1.ebuild | 90 +++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest index 165d1607bd72..227b006db7ad 100644 --- a/app-admin/puppetdb/Manifest +++ b/app-admin/puppetdb/Manifest @@ -1,2 +1,3 @@ DIST puppetdb-7.10.1.tar.gz 48769606 BLAKE2B 80686ab0ac16e71bd3758b55e10a4f59d29d1a954d62dc576af61777755384a24a3dde08fdb3f9159cf0d888377140cc13cee0c48904382ee2312300c6e8aa32 SHA512 cedebaa1f94e0f100dd9bac5f63a4bbaa19189a01abac011708de835e6a06d6222027f05a15ad2722261072154ebe9efd8f30de171b6f8640ee369dd51feb846 DIST puppetdb-7.11.0.tar.gz 49070151 BLAKE2B ec59603b5fa2fe38a1d848e5e4e9926bb9e9c53bfda55c5093d6ede3ef0ee2cdd2cffe8f6fa8599d4b1a533b251c13871453cf7bc378edeecff69364579db650 SHA512 160123cea5af42c6196893a3993c4fdcf3c6690e43f56d2e01342b9fd5facd8777d3eee5c7ec658535f222cf1a6e52b3ec955e4b1ddff4c3346b363be36420a5 +DIST puppetdb-7.11.1.tar.gz 49075994 BLAKE2B deb1a031999f18988c44b1439670ebb370d654a7dd99f20f44cdce027fa48088eadc96adca4fc8efe298c4dcc9b62d0d607262d8a5de4d07de0f2405a0f05a36 SHA512 98238e61ae7798912e345d69ff321bd7236dea6d5230a1f9ae37c533993d29611890522dde085e18e83b87bccb5a53e49e4ad38b930bb09ce7e9f22d45776a60 diff --git a/app-admin/puppetdb/puppetdb-7.11.1.ebuild b/app-admin/puppetdb/puppetdb-7.11.1.ebuild new file mode 100644 index 000000000000..7eb8ddf2bae8 --- /dev/null +++ b/app-admin/puppetdb/puppetdb-7.11.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd tmpfiles + +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="" +KEYWORDS="amd64 x86" + +RDEPEND+=">=virtual/jdk-1.8.0" +DEPEND+="acct-user/puppetdb + acct-group/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 + doins ext/config/conf.d/auth.conf + 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 + newtmpfiles 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() { + tmpfiles_process puppetdb.conf + + 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'" +}