diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-11 12:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-11 12:32:48 +0100 |
commit | 95c20b170b50a028890f00e7e9c338427d92279f (patch) | |
tree | f4f0943446f8e1c5f9739566a0ff53eb5e00e800 /app-metrics | |
parent | 900988746a1a7412b5d0f0025e9f892233a417ff (diff) |
gentoo auto-resync : 11:04:2024 - 12:32:48
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/Manifest.gz | bin | 7131 -> 7129 bytes | |||
-rw-r--r-- | app-metrics/postfix_exporter/Manifest | 3 | ||||
-rw-r--r-- | app-metrics/postfix_exporter/postfix_exporter-0.3.0.ebuild | 42 |
3 files changed, 45 insertions, 0 deletions
diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz Binary files differindex b310eb142a80..0c0679a56c04 100644 --- a/app-metrics/Manifest.gz +++ b/app-metrics/Manifest.gz diff --git a/app-metrics/postfix_exporter/Manifest b/app-metrics/postfix_exporter/Manifest index 11d025025f22..32e89f07ea77 100644 --- a/app-metrics/postfix_exporter/Manifest +++ b/app-metrics/postfix_exporter/Manifest @@ -11,5 +11,8 @@ DIST github.com-prometheus-client_model-99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c DIST github.com-prometheus-common-38c53a9f4bfcd932d1b00bfc65e256a7fba6b37a.tar.gz 63007 BLAKE2B a62f727ef9dd42d52f495ab7449cbafbe7c7fcdb1bc171df97c40348dcb7fe12788223d7a2aea3398cae7dd17ec73ae6349b5e5f35f4785f2796cc9a16c2d420 SHA512 4f1ab6cffc309a00ed68959b9372e1d3ea4f8d597b8c462a4e365cf22737245e601b8bda0764bbd1f0172d773805d16e90a8aa90cb95e9462e35320043e04060 DIST github.com-prometheus-procfs-780932d4fbbe0e69b84c34c20f5c8d0981e109ea.tar.gz 56873 BLAKE2B 31ae12d51b6a28c285bd5854b137d2634499d0db3c2c65c0404ca5a902ffec2e9bf689261ea51c2fe1643733f09a780c437f7a7899a5e6c3e3d100a36e07b897 SHA512 a548c6bc71456c9878cb34ad1514d92c8737e01b555e953f848cc1ae7944424b06a14a8ab0c6de4d99dbb189a0f29e2bb9ae09b5adffc327c28f5c50c2819892 DIST postfix_exporter-0.1.2.tar.gz 11552 BLAKE2B 987c81482fc984e8f6c870fdaf7ce2ef67b3fa66e5782713a645d35b76a1bde1dde97a79705569d1423a9356309d0b7240c77dba386127e8a5035990220d2a62 SHA512 579793281dedd858538ab9a931e0003cfc9989204ebf4352dd4860e5a7f62b919d77a9e0facb9daff6706771010f9e807061dace8cb88928635d55111c7c482a +DIST postfix_exporter-0.3.0-deps.tar.xz 10261848 BLAKE2B 3ab985ae873f53019b093266df90d4593b3a1755bafb6a0df600ae84411fd73f578cfeb6749fdfade5392ec55ec4df1916cf6b86f0ea0b5e04828dda50687789 SHA512 d591ef808fd3ccc7b48f37257ae6925b8ae491decef9ac679f13af08d0c6717b162a53cc2cd2ffb98361f38eaceaac24b2fba1db958fc9fa172fbe5060b639b1 +DIST postfix_exporter-0.3.0.tar.gz 26528 BLAKE2B 9d1b17917f4a6a6e73e1477e973454d9ce774d218463f151117e8772f77ea17c00536d0262789644716992c3c6ddcbf8b26d9c92eea77f9750e971e3a7c0d1d4 SHA512 1812d2ad95803290c12615975ba6e44c0a6f73dd0e10db927a9f1c58bfce27b71c9c2928f58623e263ba2737d2780f220e6a7fe0992e2607f290478eaa080b39 EBUILD postfix_exporter-0.1.2-r1.ebuild 1808 BLAKE2B c6cea6176fa4e2990ab5f2f11cbc336fc2fe34561bb4a71c6a4bf99cdca57c02cb7872cc653ecc6bd339d21730026d3058751fc65344acb24bc26f9d225dca51 SHA512 4105961752948f633e57ee92b970c2b72cb32c6c72ca25b5ef929d6a40dc53e6b5f4682f3199ee29d2f604431bae957ab9a0355eb864c6ad3b91e0d6e79a057e +EBUILD postfix_exporter-0.3.0.ebuild 983 BLAKE2B 2927163e5895a12611e73fbe1f28eb2ebe52fb196d7329e2f3485263a77f8de2b5f79c433f31812cee96612097e878993d2b09eb8276da141616acba2c3c9064 SHA512 d367b9dd4549cc34376b3acbe75a024bdc853f43d9af4380addbca618640d99302ca192d2e2b7192f792b2ddbcd9af7b8b77f920e689119fad3b1af8b69b47fb MISC metadata.xml 337 BLAKE2B e41d8cd817e5b2f8ec744c0c928d9d6c287dcdf72921cd0caedb599e94c9f7e7f27392175adc5d0cab7c475f37e44a75afb79b91fa49a35639383381a99d758c SHA512 030b16c2a6b8bb0b87bb74791f43b92af835d18329236eed199b72e2f0a5d9307ace17b27874f5079eccfd42e0989f9df0d8b6d8559032a2202fafb42ea2c8e6 diff --git a/app-metrics/postfix_exporter/postfix_exporter-0.3.0.ebuild b/app-metrics/postfix_exporter/postfix_exporter-0.3.0.ebuild new file mode 100644 index 000000000000..ec665dd32649 --- /dev/null +++ b/app-metrics/postfix_exporter/postfix_exporter-0.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Prometheus Exporter for Postfix" +HOMEPAGE="https://github.com/kumina/postfix_exporter" +SRC_URI=" + https://github.com/kumina/postfix_exporter/archive/${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~arthurzam/distfiles/app-metrics/${PN}/${P}-deps.tar.xz +" + +LICENSE="Apache-2.0 BSD MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="systemd" +RESTRICT+=" test" + +RDEPEND=" + acct-group/postfix_exporter + acct-user/postfix_exporter +" +DEPEND="${RDEPEND} + systemd? ( sys-apps/systemd ) +" + +src_compile() { + ego build -tags "$(usex systemd '' 'nosystemd')" -v -o bin/${PN} +} + +src_install() { + dobin bin/${PN} + dodoc {CHANGELOG,README}.md + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" +} |