From 8d5dbd847cbc704a6a06405856e94b461011afe3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 27 Mar 2021 06:06:27 +0000 Subject: gentoo resync : 27.03.2021 --- app-metrics/Manifest.gz | Bin 5283 -> 5458 bytes app-metrics/nginx-lua-prometheus/Manifest | 1 - .../nginx-lua-prometheus-0.1_pre20170610.ebuild | 33 - app-metrics/prometheus-bin/Manifest | 2 + .../prometheus-bin/prometheus-bin-2.25.2.ebuild | 51 + app-metrics/prometheus/Manifest | 5 + app-metrics/prometheus/prometheus-2.25.2.ebuild | 1384 ++++++++++++++++++++ app-metrics/unbound-telemetry/Manifest | 109 ++ app-metrics/unbound-telemetry/files/confd | 7 + app-metrics/unbound-telemetry/files/initd | 17 + app-metrics/unbound-telemetry/metadata.xml | 8 + .../unbound-telemetry-0.1.0_pre20210321-r1.ebuild | 154 +++ 12 files changed, 1737 insertions(+), 34 deletions(-) delete mode 100644 app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610.ebuild create mode 100644 app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild create mode 100644 app-metrics/prometheus/prometheus-2.25.2.ebuild create mode 100644 app-metrics/unbound-telemetry/Manifest create mode 100644 app-metrics/unbound-telemetry/files/confd create mode 100644 app-metrics/unbound-telemetry/files/initd create mode 100644 app-metrics/unbound-telemetry/metadata.xml create mode 100644 app-metrics/unbound-telemetry/unbound-telemetry-0.1.0_pre20210321-r1.ebuild (limited to 'app-metrics') diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz index e512d6e97960..e424f9e30453 100644 Binary files a/app-metrics/Manifest.gz and b/app-metrics/Manifest.gz differ diff --git a/app-metrics/nginx-lua-prometheus/Manifest b/app-metrics/nginx-lua-prometheus/Manifest index 819e29181bec..981a4eaf10d1 100644 --- a/app-metrics/nginx-lua-prometheus/Manifest +++ b/app-metrics/nginx-lua-prometheus/Manifest @@ -1,4 +1,3 @@ DIST nginx-lua-prometheus-0.1_pre20170610.tar.gz 10307 BLAKE2B b08fcb126a6d7034c143c7e96709f3f2751d90f60f6b9225f55ed46f7f211ebcf5f1688bd8b2c82286e329dd23e09a5163ad316ba6568755936253e8e55590f1 SHA512 df1022a88e82e388e68146f81e51a53f9b0c1a14a43d58e468d258ac0ca9875c1c88af44c46c91d89dc7fc1fef0ffebdb9163f886d85fde995e61e2cac3b5c81 EBUILD nginx-lua-prometheus-0.1_pre20170610-r100.ebuild 951 BLAKE2B 180cf0823943d7ea3e09bdf63eb6c3f69ebf180b8596e62d3828716b980e2ec5d1d518cd99b53c24da6605571c5574be665af7e721314641983e2b6b0fb8adec SHA512 6629fa183078273acc278fb55f3682273eca1be4e29b5e867913de6063174cc650834b1234a3706599e29f37d8713a0a91640060c6a09e41760f2d88a18bae5f -EBUILD nginx-lua-prometheus-0.1_pre20170610.ebuild 834 BLAKE2B 91067c5d303221ff5b032799d8a3214c7524050f5ccab781bc0307bee8f74a701050d2084e1c6a305d4b04f8f176b93a5c5647f284333901a3e3b9669a216606 SHA512 fb24df966359d0912cf3b725c07cae02b06abd06c92e2c1a60b7e613e0bc72c9141532df89d982fc985a25b26e2c3e2c6c7cea136e512cfdeb9ba8821122c6f0 MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0 diff --git a/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610.ebuild b/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610.ebuild deleted file mode 100644 index 7f60758a8963..000000000000 --- a/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# This is the upstream tag which corresponds to this release. -# It needs to be updated with every bump. -TAG="0.1-20170610" - -inherit toolchain-funcs - -DESCRIPTION="Library that exports Nginx metrics to Prometheus" -HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus" -SRC_URI="https://github.com/knyar/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -COMMON_DEPEND=">=dev-lang/lua-5.1:0=" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND} - www-servers/nginx[nginx_modules_http_lua]" -BDEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - - S="${WORKDIR}/${PN}-${TAG}" - -src_install() { - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} - doins prometheus.lua - dodoc *.md -} diff --git a/app-metrics/prometheus-bin/Manifest b/app-metrics/prometheus-bin/Manifest index bc5e5155c4f3..1717c0940e7c 100644 --- a/app-metrics/prometheus-bin/Manifest +++ b/app-metrics/prometheus-bin/Manifest @@ -2,5 +2,7 @@ AUX prometheus.confd 43 BLAKE2B c83afa8ad1133c9e93abd40c862ff5b3ac9a3b3c4447b915 AUX prometheus.initd 929 BLAKE2B d48650b11b77d4d04b5458682456fb20f8085dc3efe9d0ddd2a6c75751ddae156bbb83c20082bc7b6833395602c24da61e2f7610bdff291e05e3eeb4fb651317 SHA512 504122eb8ed19beac81987b77eb78bba9b36b2ef15f28b1a542804271046e06363baf464f3c303982f647eba65fbc2b5459235f56625e1ff3fed9834937cd0d2 AUX prometheus.service 534 BLAKE2B fcae8c118b19169e6cdf7469754307ff9037ad72991cd1b6f3f816b51ac4716b75d5623ead83cf4b4d1b8a26fcd3ce54c16bff400e454b9ba00c7149e7c4120e SHA512 84eaffba13c030dc7b2b9dcdf4c96eb12ea5ca16e569ea4f9d4647b1bf912c00826f12cabf02cd97c0e2e76646ab9f179429a92bc32d49ba33c6360ec3cfce8f DIST prometheus-2.25.0.linux-amd64.tar.gz 66280932 BLAKE2B 3528c9a2c3275d93152281c0083dc224e5a296636ec22628b6b43bc07f64a7c95cf96fb5f9c212c8101b441d9cba40c629d9fab9de3bcca2e18e2ade06ebb3bc SHA512 0dcbdc18fcc99a4c7cee3ce1435812b651b6cea373df4fbc7263c986c2c6c22de1a686ca44eb104ef602e2a1261957a4e0a64d3ba7b24ae4e9b587b852e5ab24 +DIST prometheus-2.25.2.linux-amd64.tar.gz 66277199 BLAKE2B d0b81f9a308edea004347793cb0e522fea0f2c8bb7077ec635ec4046f064cd8eb523d6079b70dd894648ad18205f4c7b2bd8ce8bc6697841c6c59323bd7221ba SHA512 a70beea8042b3199d65431f151086efac33ef0d016dce360be17197794e3c9e4d9277fadbecd0c00bb2814a7c5724cb597695e15d732ab9513dbdf9abc17f74a EBUILD prometheus-bin-2.25.0.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810 +EBUILD prometheus-bin-2.25.2.ebuild 1573 BLAKE2B 408f495ccf2b27c96a1a2c89e16697b3315fb4f8070883f33a0e07b8935507890a123b02acf90bc42ce05c6d2ac3da9e6b9edd7e19dbb884d3f0cbf2c0cd7cff SHA512 344a7a6ae9724d577a4132816c6f93895b01f43ea0f0b1b588427e11bb528b7afbeee45e5f40586bdee62a3577863563a736cf3eb0a513a44d3c742686a1b810 MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild new file mode 100644 index 000000000000..da63a8595d37 --- /dev/null +++ b/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="prometheus monitoring system and time series database" +HOMEPAGE="https://prometheus.io" +MY_PN=${PN%%-bin} +MY_P=${MY_PN}-${PV} +SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT=".*" +RESTRICT="strip" + +DEPEND="acct-group/prometheus + acct-user/prometheus + !app-metrics/prometheus" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}.linux-amd64" + +src_install() { + dobin prometheus promtool + insinto /usr/share/prometheus + doins -r console_libraries consoles + insinto /etc/prometheus + doins prometheus.yml + dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries + dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles + + systemd_dounit "${FILESDIR}"/prometheus.service + newinitd "${FILESDIR}"/prometheus.initd prometheus + newconfd "${FILESDIR}"/prometheus.confd prometheus + keepdir /var/log/prometheus /var/lib/prometheus + fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus +} + +pkg_postinst() { + if has_version ' + + + + chutzpah@gentoo.org + Patrick McLean + + diff --git a/app-metrics/unbound-telemetry/unbound-telemetry-0.1.0_pre20210321-r1.ebuild b/app-metrics/unbound-telemetry/unbound-telemetry-0.1.0_pre20210321-r1.ebuild new file mode 100644 index 000000000000..11f3e6f8026c --- /dev/null +++ b/app-metrics/unbound-telemetry/unbound-telemetry-0.1.0_pre20210321-r1.ebuild @@ -0,0 +1,154 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cargo + +[[ ${PV} == *_pre???????? ]] && \ + COMMIT="7f1b6d4e9e4b6a3216a78c23df745bcf8fc84021" + +CRATES=" + ansi_term-0.11.0 + approx-0.3.2 + arc-swap-0.4.4 + async-trait-0.1.24 + atty-0.2.14 + autocfg-1.0.0 + bitflags-1.2.1 + bytes-0.5.4 + c2-chacha-0.2.3 + cc-1.0.50 + cfg-if-0.1.10 + claim-0.4.0 + clap-2.33.0 + core-foundation-0.6.4 + core-foundation-sys-0.6.2 + domain-0.5.3 + dtoa-0.4.5 + fnv-1.0.6 + foreign-types-0.3.2 + foreign-types-shared-0.1.1 + fuchsia-zircon-0.3.3 + fuchsia-zircon-sys-0.3.3 + futures-channel-0.3.2 + futures-core-0.3.2 + futures-sink-0.3.2 + futures-task-0.3.2 + futures-util-0.3.2 + getrandom-0.1.14 + h2-0.2.1 + heck-0.3.1 + hermit-abi-0.1.6 + http-0.2.0 + httparse-1.3.4 + http-body-0.3.1 + hyper-0.13.2 + indexmap-1.3.1 + iovec-0.1.4 + itoa-0.4.5 + kernel32-sys-0.2.2 + lazy_static-1.4.0 + libc-0.2.66 + log-0.4.8 + memchr-2.3.0 + mio-0.6.21 + mio-uds-0.6.7 + miow-0.2.1 + net2-0.2.33 + num-traits-0.2.11 + openssl-0.10.27 + openssl-probe-0.1.2 + openssl-src-111.6.1+1.1.1d + openssl-sys-0.9.54 + pin-project-0.4.8 + pin-project-internal-0.4.8 + pin-project-lite-0.1.4 + pin-utils-0.1.0-alpha.4 + pkg-config-0.3.17 + ppv-lite86-0.2.6 + proc-macro2-1.0.8 + proc-macro-error-0.4.8 + proc-macro-error-attr-0.4.8 + quote-1.0.2 + rand-0.7.3 + rand_chacha-0.2.1 + rand_core-0.5.1 + rand_hc-0.2.0 + redox_syscall-0.1.56 + remove_dir_all-0.5.2 + rustc-serialize-0.3.24 + rustversion-1.0.2 + schannel-0.1.17 + security-framework-0.3.4 + security-framework-sys-0.3.3 + signal-hook-registry-1.2.0 + simple_logger-1.5.0 + slab-0.4.2 + strsim-0.8.0 + structopt-0.3.9 + structopt-derive-0.4.2 + syn-1.0.14 + syn-mid-0.5.0 + tempfile-3.1.0 + textwrap-0.11.0 + time-0.1.42 + tokio-0.2.11 + tokio-macros-0.2.4 + tokio-tls-0.3.0 + tokio-util-0.2.0 + tower-service-0.3.0 + try-lock-0.2.2 + unicode-segmentation-1.6.0 + unicode-width-0.1.7 + unicode-xid-0.2.0 + vcpkg-0.2.8 + vec_map-0.8.1 + want-0.3.0 + wasi-0.9.0+wasi-snapshot-preview1 + winapi-0.2.8 + winapi-0.3.8 + winapi-build-0.1.1 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 + ws2_32-sys-0.2.1 +" + +RUST_NATIVE_TLS_COMMIT="255dd5493b446755a9e40be3a4638afedfe67b03" +DESCRIPTION="Prometheus exporter for Unbound DNS resolver" +HOMEPAGE="https://github.com/svartalf/unbound-telemetry" +SRC_URI=" + https://github.com/svartalf/unbound-telemetry/archive/${COMMIT:-${PV}}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES}) + https://github.com/Goirad/rust-native-tls/archive/${RUST_NATIVE_TLS_COMMIT}.tar.gz -> rust-native-tls-${RUST_NATIVE_TLS_COMMIT}.crate +" +S="${WORKDIR}/${PN}-${COMMIT:-${PV}}" + +LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-group/unbound-telemetry + acct-user/unbound-telemetry +" + +DOCS=( + README.md +) + +src_prepare() { + # Ensure Cargo is satisfied with the manually downloaded rust-native-tls + # Upstream use a fork *and* a certain branch + sed -i -e '/pkcs8/d' Cargo.toml || die + + default +} + +src_install() { + cargo_src_install + + dodoc "${DOCS[@]}" + newinitd "${FILESDIR}/initd" "${PN}" + newconfd "${FILESDIR}/confd" "${PN}" +} -- cgit v1.2.3