diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /app-admin/puppetdb | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'app-admin/puppetdb')
-rw-r--r-- | app-admin/puppetdb/Manifest | 2 | ||||
-rw-r--r-- | app-admin/puppetdb/puppetdb-7.8.0.ebuild | 90 |
2 files changed, 92 insertions, 0 deletions
diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest index b82ddd7c15a0..91032d11d353 100644 --- a/app-admin/puppetdb/Manifest +++ b/app-admin/puppetdb/Manifest @@ -1,5 +1,7 @@ AUX puppetdb.initd 1824 BLAKE2B 76d8252b2fee61270f440734d91735fa002df1583126de60befd3cc756cc0f5368ce49461cee85ffca4c6893b1e1859bff9af86e75d73171d15ae344a9fb4149 SHA512 0d0f67b7eaf7d10474e73eb77174a51e0f891bf664706e11c7a5ef1f918d7967c67251bab797e1d117b0f2b08f4b634ad06a81f6022ef04e6394c15e36a73961 AUX puppetdb.initd-r2 1896 BLAKE2B 04f47dd0406c1f67d4f72a911b0db8b482e37673ec9a0d14d73fb868aaae97f756e03fa39c2c7a9d69a217b5924dafa23c6f3e276a0626f06bf5c143b588a2c8 SHA512 58c248710c6eb39ec13e6f55a8bca686386e79eb048c4927925a2e2e75bce742d6a5e84001c231ea2b74fd4eed0ead81b9a4fc5672fdfbbd59f90677e4490675 DIST puppetdb-7.7.0.tar.gz 48050200 BLAKE2B 67b0152b0d3219e21fd1f0c18f235f99ad5c566c2c24c24e442e511d3eb503265497de46c5fd2d414cda8827400ee50c628d2fe5287ee1a6e1c295dbc7f8cde3 SHA512 a8f67b9c587d285ddd530afe1d467eb1acb20f7a3deed6d1b951695575a4283c3f4c946c7263fd44962adf05f4466ae5eac33cbd6ca75ef8f9785b2e7be6afd7 +DIST puppetdb-7.8.0.tar.gz 48110737 BLAKE2B e967c1dab15d5fc5a963baebbbb43d3bb3f0f46f1e318ca9547d7f5bcd0ba3b16068c1988844e2f2fd3128cb597b19d22585c70a157e3e453066f5930633ef79 SHA512 16d57e634d07eb804f524152d2faf2a729b0e42bbe0550573424669379d4634730951aff266093272e2b118399f2abb6563ee2a04104da9afbdb1163aa1d94c1 EBUILD puppetdb-7.7.0.ebuild 2715 BLAKE2B 68d24327f5a873b964636dac583abd03997f7464901ed367c430417b637aea1bda2f6d22a68c39e4f331b12769d290e5d5a43a3d564f7d22ea47332fa68753ef SHA512 fea2907f21a276ce273c0d6c459a7df944aca133dd8f7ed2f9497016e97a112b5b820ac67423621167e06e63b766d23d55bbae31caa94d7a4c19f8c4a90b97d1 +EBUILD puppetdb-7.8.0.ebuild 2717 BLAKE2B d7d8b3e406e92a9d0ff73273a51559f67cf1cfcb398a9fa4c01bce018a1dfc836e2eac96424fe035f2f17d3d0e89616c3954b697b17f3789d5519a02099d3b04 SHA512 f7babb676043275f384343419bba2f60e250704ba1a05ae5c8aa10dd17358837afd9fbed5e48abf50b72328915807157067b4fba325f609f9238fc7d14b6b75d MISC metadata.xml 486 BLAKE2B e74960c88243252794d20dd51c071147de88663d4e610e8358013b77ffaeb13b35edb7a48575932a8a30e0916782063459fe14b57ffcb2962e16b5d73c66f9d9 SHA512 e87f0d39aa659c53cb9798929c08a853247870f9c9b7dc85c9610f7b2b9c2f10a226ffeadc738e263c6bbcde495c438fbfd7dd951c2cff18b66646da9475c7c6 diff --git a/app-admin/puppetdb/puppetdb-7.8.0.ebuild b/app-admin/puppetdb/puppetdb-7.8.0.ebuild new file mode 100644 index 000000000000..5ccee6e5acad --- /dev/null +++ b/app-admin/puppetdb/puppetdb-7.8.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib 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'" +} |