app-metrics/apache_exporter: Fix ebuild for apache_exporter.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
Manuel Friedli 2019-11-14 23:44:43 +01:00
parent 0747007cbf
commit 4088eb0477
3 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,6 @@
14 Nov 2019; <manuel@gentoo.org> apache_exporter-0.7.0.ebuild:
app-metrics/apache_exporter: Fix ebuild for apache_exporter.
*node_exporter-0.18.1 (10 Nov 2019) *node_exporter-0.18.1 (10 Nov 2019)
10 Nov 2019; <manuel@gentoo.org> +files/node_exporter-0.18.1-systemd.patch, 10 Nov 2019; <manuel@gentoo.org> +files/node_exporter-0.18.1-systemd.patch,

View file

@ -3,6 +3,6 @@ AUX apache_exporter.initd 650 BLAKE2B 86d014a2bb4f98a54a5e98060884bb99d1ec4011ce
AUX apache_exporter.service 222 BLAKE2B 9f15ab491721873b60d75ea7e5fde68c4262cd56ee3b4b1b5b687cd7fe6f4b03c97ee96c863769985dd14ba4bb8f0047061d52b642e5fd9ca77ada18e8e17f6c SHA512 6f99413a18f6c5214fa6216399c249b80950e16277a91ccc9c1ef89c452efa806234dd3735e9110e26f9e110f1a2156fd5ab37b56107ba753daa16d9100156d6 AUX apache_exporter.service 222 BLAKE2B 9f15ab491721873b60d75ea7e5fde68c4262cd56ee3b4b1b5b687cd7fe6f4b03c97ee96c863769985dd14ba4bb8f0047061d52b642e5fd9ca77ada18e8e17f6c SHA512 6f99413a18f6c5214fa6216399c249b80950e16277a91ccc9c1ef89c452efa806234dd3735e9110e26f9e110f1a2156fd5ab37b56107ba753daa16d9100156d6
AUX sysconfig.apache_exporter 11 BLAKE2B e83c8a1c6cf0d2269d032d80bfb5f37969adce8655298d49f942e19318e1fcabe7f618514ce65d9e0209959d5ccb38141e81fcccd65a754584eaf2db3b4fbd03 SHA512 f4d982f86de30c5b52b04c201cd38fffa87f860bef18af6ab85e856ae2081b919256b918b5f4821ee2fc4da0548d1a95c2522b29cddca57f694e2f26c1b1b2b9 AUX sysconfig.apache_exporter 11 BLAKE2B e83c8a1c6cf0d2269d032d80bfb5f37969adce8655298d49f942e19318e1fcabe7f618514ce65d9e0209959d5ccb38141e81fcccd65a754584eaf2db3b4fbd03 SHA512 f4d982f86de30c5b52b04c201cd38fffa87f860bef18af6ab85e856ae2081b919256b918b5f4821ee2fc4da0548d1a95c2522b29cddca57f694e2f26c1b1b2b9
DIST apache_exporter-0.7.0.tar.gz 987330 BLAKE2B 32bc61767a2b84630c63c5cab31bcec2446a508870334ef1d952a7cf6fd7e8e5868f1059972f9c3c8be2cdc93a3eef56a67814586e31bca7377237690fee7b5d SHA512 c4193bc665e7de292e208e2df8bdb1d261e06bd8e9dd8f9c8ca36928f90bdaa792e3e648955d68acc79502eaf0245e41d8a238d60c839bbd2a46ec928d114950 DIST apache_exporter-0.7.0.tar.gz 987330 BLAKE2B 32bc61767a2b84630c63c5cab31bcec2446a508870334ef1d952a7cf6fd7e8e5868f1059972f9c3c8be2cdc93a3eef56a67814586e31bca7377237690fee7b5d SHA512 c4193bc665e7de292e208e2df8bdb1d261e06bd8e9dd8f9c8ca36928f90bdaa792e3e648955d68acc79502eaf0245e41d8a238d60c839bbd2a46ec928d114950
EBUILD apache_exporter-0.7.0.ebuild 1403 BLAKE2B aa13362b23d0fb6e08c2523b4e97d54737f7e4bed0753de4c0ce85cb5996064c7e8b111fcf93d50586918a0b472b54993fe0cc4297dbd873601dd9597e5f50cf SHA512 27f3d0a1c8458cc035364ea53bbfebb7b6747dc0064eba4b1274525fdd010019bd920ba82e8ea4fdb5c2a7383e6c23fc8422720d402f04ae1e374a6a7f1b37dd EBUILD apache_exporter-0.7.0.ebuild 1376 BLAKE2B cc2f87478c456bcf05b25a7b4c3527d7dd4d12b7ea9ebcbab498737389418465209027934385df3a798ebfdc676756a6c12e789288bef2a22881d6906f1d5e4a SHA512 a5216d277fd6e5f7d5c0c5bf64ffffd49fbf24bb072b3930947747126b11b2b6becf64611af6cec6b06c4e21beb6345e8c39784fad6ae1c3c77510c4e5ba59fa
MISC ChangeLog 299 BLAKE2B 6c0510ec5b7739758aee9e21c3fc8344f4d48f3aa357af0c5f0ccb3698b6c0658faaa48860ee08e0550c1b72c52dd881637355f482dcdfd85c12847c80b155eb SHA512 e6b541e8d5c21adc241b02578552f73309d30d2fb6006fd70f16850fdeb18b9cf4b7dcd838295537f6eba318cddaaf05831a9db204f953e7bb86249a5a703753 MISC ChangeLog 429 BLAKE2B 4e71a524623b05cd827b4b7e1d1049bcb6ef5c2209c8028ab7719825e1e0650343e76a14349b883354904098d057abd07ecd9ff44e448c949db4ed6b505be93d SHA512 288544117ca1a76ca1fd249d2f17d7c6bd5bfd2614776b8eb0bcf04f2e04997e4335d51ec69bb072c8ea70edc3931b9295ee69605f1b742cd6c7fa96f000576a
MISC metadata.xml 337 BLAKE2B bd72b6097fead5eaf80082790d3712ae0893b118140b62f58639f0e5c56bebf57dbd0ccd0ea19af82b2dce88c88c494d88290f98df4818e4fad3f4386398d171 SHA512 aee4825d8b90a8fd84fb558b9af4b7eb889fcf81bae6c7b317a9d69f62b06dd0f0bc2aa91aa2c32f10ff91fdbf64b341d7e5adc3c65a5225c7e0e92d7a6b7816 MISC metadata.xml 337 BLAKE2B bd72b6097fead5eaf80082790d3712ae0893b118140b62f58639f0e5c56bebf57dbd0ccd0ea19af82b2dce88c88c494d88290f98df4818e4fad3f4386398d171 SHA512 aee4825d8b90a8fd84fb558b9af4b7eb889fcf81bae6c7b317a9d69f62b06dd0f0bc2aa91aa2c32f10ff91fdbf64b341d7e5adc3c65a5225c7e0e92d7a6b7816

View file

@ -21,8 +21,8 @@ DEPEND=">=dev-lang/go-1.12
>=dev-util/promu-0.3.0" >=dev-util/promu-0.3.0"
pkg_setup() { pkg_setup() {
echo enewgroup ${PN} enewgroup ${PN}
echo enewuser ${PN} -1 -1 -1 ${PN} enewuser ${PN} -1 -1 -1 ${PN}
} }
src_prepare() { src_prepare() {
@ -33,7 +33,7 @@ src_prepare() {
src_compile() { src_compile() {
pushd src/${EGO_PN} || die pushd src/${EGO_PN} || die
mkdir -p bin || die mkdir -p bin || die
GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v --prefix apache_exporter || die GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v --prefix apache_exporter || die
popd || die popd || die
} }
@ -46,7 +46,7 @@ src_install() {
doins "${FILESDIR}/sysconfig.apache_exporter" doins "${FILESDIR}/sysconfig.apache_exporter"
popd || die popd || die
keepdir /var/log/apache_exporter keepdir /var/log/apache_exporter
echo fowners ${PN}:${PN} /var/lib/apache_exporter /var/log/apache_exporter fowners ${PN}:${PN} /var/lib/apache_exporter /var/log/apache_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN} newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN} newconfd "${FILESDIR}"/${PN}.confd ${PN}
} }