summaryrefslogtreecommitdiff
path: root/app-admin/puppetdb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-15 17:13:45 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-15 17:13:45 +0000
commite2d84e38284aeb9d522a7e935554340ddf0e4a6f (patch)
tree5a7444ee5f2af59431481999f729676090b1e0f3 /app-admin/puppetdb
parent519e4d5d99fc43d5c9a038098c029dc4ef9d6792 (diff)
gentoo resync : 15.11.2017
Diffstat (limited to 'app-admin/puppetdb')
-rw-r--r--app-admin/puppetdb/Manifest2
-rw-r--r--app-admin/puppetdb/puppetdb-5.1.3.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/app-admin/puppetdb/Manifest b/app-admin/puppetdb/Manifest
index 9804af7c599d..263934ed7b11 100644
--- a/app-admin/puppetdb/Manifest
+++ b/app-admin/puppetdb/Manifest
@@ -1,8 +1,10 @@
AUX puppetdb.initd 1824 SHA256 cb406d0eb615d53e19b3b68598d446062ce53098278e78db602d677eb8f37ea9 SHA512 0d0f67b7eaf7d10474e73eb77174a51e0f891bf664706e11c7a5ef1f918d7967c67251bab797e1d117b0f2b08f4b634ad06a81f6022ef04e6394c15e36a73961 WHIRLPOOL 659f4530099f9dcf7f0b56cd8241d4e1e4a7b1a31e0bd9d921ecca565f5158cc19be9f49b1c01d5a6d6e4ad7ab8abac584ec06c42dfa6209a01b933aff7ed0f3
DIST puppetdb-4.4.0.tar.gz 23629723 SHA256 b9e656846981397a3eed64dff44a7171e6a01b7e8c76c877bd93267d96f50414 SHA512 2caaa2b39146b42388b03ecd830d386efcc25774dfe9b6e1bd25fd6f1820902364dda7526c2e019657d18371be4afdb84a165d9bec1078a6c3621bc80241a5a2 WHIRLPOOL 768e33674c5b62c96c3379cd822f09f519d6e70cd976526ba630c8bfef7c1ee226f0b5bcb6957040355769aecbd1889f25fbc22e8685a6430c077af9f5256639
DIST puppetdb-5.0.1.tar.gz 24055687 SHA256 ac75c40c16ecfd14a64c3122811adcceaa2f32c1874e07c763ad0b1ec7338a27 SHA512 0e08e27a2004b6cf07704a77d931ad30326559e3fd6504c9a839f468c8379c49407214187bf47f960fd3b5cdba9ec162c69e67e7ed7125c4137a77ed076e42f1 WHIRLPOOL fdde4ec40c95cf436da97f78f5c70a0adcc037cea9f20e93b569cec966dfb5d40c78ce5991571ab2495aca1d424341bdbf785eced325b5b9925628eca03c0357
+DIST puppetdb-5.1.3.tar.gz 24157962 SHA256 73f2efe4a418ef9a1bbbaa334abeee71cb180f9c64b18fa00fa421294281f0e4 SHA512 153e6cba59fb824fd9bca802ea4f0e05e6c6d69d6ef47566079bdf1ac26f7bc13fa893b633f9506494d2189ef160b6b3c23fcb340e76df41089228c047c566e0 WHIRLPOOL 4ae169a3fe75a4e2958fc39b4d5a0ef4c4223766af972d13d1b8a62b7592e717e01d810f8627e81bcdaaf957bb649795793ffa57233a75f1f7fb4f527576fe74
EBUILD puppetdb-4.4.0.ebuild 2807 SHA256 3a047598cce8551a0d7d351782f8d725e43051148aaeb34055a5ee4d683bbd0d SHA512 16d8e30f793351b58fee71964122754bf270dc977480804e86461e0131c67e2081eff5f2b728bcce69186ebdab7707aa7f03cf70b3afc4e42a18b59d1ed2d11a WHIRLPOOL 4e21f78d43607fb3f0916b78d96f1caa7b05637c50f65eba32c951ddfd34711ffa4aaf16c08fa10842d91e7eaa6a3d11322f8afcabde530e2f35f362b3447304
EBUILD puppetdb-5.0.1.ebuild 2763 SHA256 5f2b268e16f7cd1dcdfa841f0e5e5d9bed6b326014986356eee081c71a9ba02e SHA512 032e3f021880cd77a83d5841e130af2eb2e831f54d3760542ee7c3a97a98e5f92e7abe2697d83e896881fd285c7af826854030faade413bba66f0642cd6d7fcf WHIRLPOOL 383ff1eaab16137b7cd57cfc08568c939a892556411b762e2808ed3adfaeb54ef1d5f0e77c5c43d2085317b4c54a4547a84952e03b7a76faf10daada9a51f5a8
+EBUILD puppetdb-5.1.3.ebuild 2765 SHA256 396da65f05748759d0df6a9a293105df17cfb846da8658dea739c2851caa912a SHA512 c90e4694587c868795a1511378ecba1fc9c61327d9ef5223ffdf03b6f41e3ba7b2e579d8485d7aeca4230eb48e6b73c2bde2ffd50809954f4100ef70ac2bd9b0 WHIRLPOOL 62b02c62cbe138ba1c1d75ae794f66abfe97f234b1c376326a2f0d96c2a733493eb193e44015e74792437a5662f26b672cfacb803159eb75285e820bde073523
MISC ChangeLog 8628 SHA256 36660f6cf0c1651feab9ff36627e50898819767efd65a3d483c8587952a80daa SHA512 7fb22ded0dcea17ffd3e4af54d15002bac8546ed3934f93ef4b9fee4ff24fbe2e928adeaa2132fd8023a8ec6d59b34cd384ac120958bf14b4661c706f4b3d5b0 WHIRLPOOL 74823e3d2e87b97db89c6dedd6322e9ca0e357135c0c39a2b0794d99469e640388d02c97cc612448ff09a71f373b6b222dc32a0fa6a5bcdca175e4c8e4476b38
MISC ChangeLog-2015 1236 SHA256 3fea32c44cd920a4d0afd13b438efb32b9a64e483039d8f4379492a5f9d19b42 SHA512 57021ccb882ac0ee0b534edeed6cf510d3919616289edb066ae561b1db2ee81ebb95903abf45b57c45759a6755edee74c0968630a8296b919a7f393e25a8af01 WHIRLPOOL a4eb6aac2ccbc720cdb5aba6050445a4a33ab5bba4eeee30357fc96208a6a3a21df16f0c9bde06a000d9551d49dc2f9bcabccfe453e884356c0a320b2bd19b0a
MISC metadata.xml 485 SHA256 f18e5c9519ed297b90056ab501981cbe9a4c4815d64f6ff85ebad1b5aa45dfe5 SHA512 b9461d712e74a7ff469a554a21c1e4e67954395eaae8de9a8669f7e816e2291120be14e8c659f34b41f65962027cfa73030ef2678003b52a1a56b35de0f9b2b2 WHIRLPOOL cd481863aa29249fe38cd2ed4dd4bb4093c4a52fc26f6900c491fbc500071878140185b72e84a35c978a8b12fad1548d8cf7c1c972bdbac838b95832b54f14be
diff --git a/app-admin/puppetdb/puppetdb-5.1.3.ebuild b/app-admin/puppetdb/puppetdb-5.1.3.ebuild
new file mode 100644
index 000000000000..25044630bdf0
--- /dev/null
+++ b/app-admin/puppetdb/puppetdb-5.1.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.7.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" 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'"
+}