app-metrics/apache_exporter: Bump version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
This commit is contained in:
parent
7b3bea0fe7
commit
92bf95647b
3 changed files with 58 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
*apache_exporter-0.10.1 (12 Oct 2021)
|
||||
|
||||
12 Oct 2021; Manuel Friedli <manuel@gentoo.org>
|
||||
+apache_exporter-0.10.1.ebuild:
|
||||
app-metrics/apache_exporter: Bump version
|
||||
|
||||
*apache_exporter-0.8.0-r1 (29 Sep 2020)
|
||||
|
||||
29 Sep 2020; Manuel Friedli <manuel@gentoo.org>
|
||||
|
|
|
@ -2,7 +2,9 @@ AUX apache_exporter.confd 59 BLAKE2B 4466ae408352adc136fa882cf382c1562e8e0b6401e
|
|||
AUX apache_exporter.initd 650 BLAKE2B 86d014a2bb4f98a54a5e98060884bb99d1ec4011ce028a981d9d39cc5a5292c39018a80df2a3f0ad4b97aa1a0da059e89ad151f0a0b3d13d6ba6386aa4a9d6d4 SHA512 42367bb35b79cb3c4946ae57e81fa918d94b9b5613469e1e070797ffc9ab7ae74aaa3ad244be35cef8fe5df043fb5e1a604449c3a416e01da7cb11ad95c2b5b1
|
||||
AUX apache_exporter.service 196 BLAKE2B b7429d240256bdbe594741900bd1715d7806f604d420b668c83ed2b4f66b32ba1ff142a54e04687182c0b24f43d58c6d74f5b319d69aaa4619d4b561a9567913 SHA512 a93847eb9407e94388a606972373a2e9c51ca46f16b8a87365d8544b680d1d0fbf47a6eb86865621375015a58c8b6480aeefa247f37c31fa0a84383a27a915f7
|
||||
AUX sysconfig.apache_exporter 11 BLAKE2B e83c8a1c6cf0d2269d032d80bfb5f37969adce8655298d49f942e19318e1fcabe7f618514ce65d9e0209959d5ccb38141e81fcccd65a754584eaf2db3b4fbd03 SHA512 f4d982f86de30c5b52b04c201cd38fffa87f860bef18af6ab85e856ae2081b919256b918b5f4821ee2fc4da0548d1a95c2522b29cddca57f694e2f26c1b1b2b9
|
||||
DIST apache_exporter-0.10.1.tar.gz 32524 BLAKE2B ecaea321997c8ecac402e078ae7c84b2a7762cb98ab760001a053e804ec09f3a73f30d3647cb3ee30ccc29041e95d427a82389fcb64b35770999b224aab8c68a SHA512 53e51b64e12f7af8cf37bd137ae21712e088ea280c6c812588421ecc3e202c5223e4d7f318de3cea3858c9490b16fdfd3e587f084fc957f945e8b9740318666a
|
||||
DIST apache_exporter-0.8.0.tar.gz 1687423 BLAKE2B 8ffe1edd6549c6129ec82852ee7134ba3ceb22f6ab6c678e0c28e6ed58c43d0243184efed013e11e3062b4359beb43914059bc35a31f242c93ef210616248fc7 SHA512 1e885687a8a2d5abfbf16f11d1940688b65404e76fa620ef397eb85733ab0fa9ec9ba4143728466d3036266a6f3ef03409000a7c69d85e2be6eda2075bc8a113
|
||||
EBUILD apache_exporter-0.10.1.ebuild 1339 BLAKE2B 331d61319a9f092d2817964fa8fe0e2a4384c3370e90493ddc85c0ac4e15dd881f856070b82ca87a698f24b82b4970a2d00fef4e42ba612634a06bc90dd066a8 SHA512 35f53639fde417b863a87080e6aba137cfd1ed48b556607f7c52e5db13b8969b4b9a57f8767ba3b20c61bb98ddb5d2626615122b93a61d7a0b4b77d069a95d62
|
||||
EBUILD apache_exporter-0.8.0-r1.ebuild 1339 BLAKE2B d1fd6596f842ba122c57dc59cbf7f23b49aade25df361734e214eca3ae9924a74c2f253b741238da06091a9f102953e7e7a68bbd86b4080d9c7372d1e854225f SHA512 df27ff9f4fa0ecf4a8011d0a5f5a42339fde421742794a89a425eaa34640aff86340fa4f65e108b4b0c225bd7862551b04e4c4cf160b3acaee1be8bd271a5dce
|
||||
MISC ChangeLog 1146 BLAKE2B 9cc2c9dafb326d857f06961996f935b0b417b6f54ec2b4ed9aa584b53ac9f35003fcc76d11c058f3bbb151b3e911b4c646a78aba6aa1714cf918811fcb05c503 SHA512 a69fe6b9907b84a8a33dd939a64ae16f62d60a73a6d80f34086a99c61da9271391ad2e1b33d71802aa95adfb7c20bff86e80fb2b867f0fb956a49f1f331aa282
|
||||
MISC ChangeLog 1314 BLAKE2B 271acff9b9434a1c2d5269836ff74c72f294b42fa83044a72bde0b49f0ad4ca8a175068258cf3d031a80bee24614ae6f95112d67887709a1762069006d134e74 SHA512 27c1fe5e955470dcc6e99e88392c395cbce1ecffa74ded9f39c87261fd09375d3608a29aca96d61ef0d1833c680b161c959f56af7df41e2bcff4123e16a31b4e
|
||||
MISC metadata.xml 337 BLAKE2B bd72b6097fead5eaf80082790d3712ae0893b118140b62f58639f0e5c56bebf57dbd0ccd0ea19af82b2dce88c88c494d88290f98df4818e4fad3f4386398d171 SHA512 aee4825d8b90a8fd84fb558b9af4b7eb889fcf81bae6c7b317a9d69f62b06dd0f0bc2aa91aa2c32f10ff91fdbf64b341d7e5adc3c65a5225c7e0e92d7a6b7816
|
||||
|
|
49
app-metrics/apache_exporter/apache_exporter-0.10.1.ebuild
Normal file
49
app-metrics/apache_exporter/apache_exporter-0.10.1.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit golang-build golang-vcs-snapshot systemd
|
||||
|
||||
EGO_PN="github.com/Lusitaniae/apache_exporter"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
APACHE_EXPORTER_COMMIT="c441bd3"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for apache metrics"
|
||||
HOMEPAGE="https://github.com/Lusitaniae/apache_exporter"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.12
|
||||
>=dev-util/promu-0.3.0"
|
||||
|
||||
RDEPEND="acct-user/apache_exporter"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${APACHE_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
mkdir -p bin || die
|
||||
GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v --prefix apache_exporter || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
dobin apache_exporter/apache_exporter
|
||||
dodoc README.md
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
insinto /etc/sysconfig
|
||||
newins "${FILESDIR}/sysconfig.apache_exporter" apache_exporter
|
||||
popd || die
|
||||
keepdir /var/log/apache_exporter
|
||||
fowners apache_exporter:apache_exporter /var/log/apache_exporter
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
}
|
Loading…
Reference in a new issue