[arch-commits] Commit in prometheus-mysqld-exporter/repos/extra-x86_64 (6 files)
Jelle van der Waa
jelle at gemini.archlinux.org
Tue Aug 30 13:18:39 UTC 2022
Date: Tuesday, August 30, 2022 @ 13:18:39
Author: jelle
Revision: 454773
archrelease: copy trunk to extra-x86_64
Added:
prometheus-mysqld-exporter/repos/extra-x86_64/PKGBUILD
(from rev 454772, prometheus-mysqld-exporter/trunk/PKGBUILD)
prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.conf
(from rev 454772, prometheus-mysqld-exporter/trunk/prometheus-mysqld-exporter.conf)
prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.service
(from rev 454772, prometheus-mysqld-exporter/trunk/prometheus-mysqld-exporter.service)
Deleted:
prometheus-mysqld-exporter/repos/extra-x86_64/PKGBUILD
prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.conf
prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.service
------------------------------------+
PKGBUILD | 94 +++++++++++++++++------------------
prometheus-mysqld-exporter.conf | 4 -
prometheus-mysqld-exporter.service | 52 +++++++++----------
3 files changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-30 13:18:22 UTC (rev 454772)
+++ PKGBUILD 2022-08-30 13:18:39 UTC (rev 454773)
@@ -1,47 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
-
-pkgname=prometheus-mysqld-exporter
-pkgver=0.13.0
-pkgrel=2
-pkgdesc="Prometheus exporter for MySQL server metrics"
-arch=('x86_64')
-url="https://github.com/prometheus/mysqld_exporter"
-license=('Apache')
-depends=('glibc')
-makedepends=('go')
-options=(!lto)
-backup=('etc/conf.d/prometheus-mysqld-exporter')
-source=("mysql_exporter-${pkgver}.tar.gz::https://github.com/prometheus/mysqld_exporter/archive/v${pkgver}.tar.gz"
- "prometheus-mysqld-exporter.service"
- "prometheus-mysqld-exporter.conf")
-sha512sums=('9e40d2cf3c634909c51655808f73666c423df71fef2a617b434ef47721c3a9beecc530a232259f546eb536e2c16eaea5b35b42b9777441fc1276062b13dde5ec'
- '50619f4fa62c97c9c3533dc6a18024e2f2548e72b79e4cabae766d8b2135b4a5fdc9a6af87a279ecbae9101feac642851f2e239333a181b0db8d48af75eeac6c'
- 'c13a99a42e5a28e2be1287c337aa0f351dc8ffdbafb903e51a360d00aecf1d49d2b28b73e3741cdf681cb18c33546ae2088a8dab8bc4908b5c5ef008500b40fb')
-
-build() {
- cd "mysqld_exporter-${pkgver}"
-
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-extldflags ${LDFLAGS}
- -X github.com/prometheus/common/version.Version=${pkgver} \
- -X github.com/prometheus/common/version.Revision=${pkgver} \
- -X github.com/prometheus/common/version.Branch=tarball \
- -X github.com/prometheus/common/version.BuildUser=someone at builder \
- -X github.com/prometheus/common/version.BuildDate=$(date -d@"${SOURCE_DATE_EPOCH}" +%Y%m%d-%T)" \
- .
-}
-
-package() {
- install -Dm644 "prometheus-mysqld-exporter.service" \
- "${pkgdir}/usr/lib/systemd/system/prometheus-mysqld-exporter.service"
- install -Dm644 "prometheus-mysqld-exporter.conf" \
- "${pkgdir}/etc/conf.d/prometheus-mysqld-exporter"
-
- cd "mysqld_exporter-${pkgver}"
- install -Dm755 "mysqld_exporter" "${pkgdir}/usr/bin/prometheus-mysqld-exporter"
-}
Copied: prometheus-mysqld-exporter/repos/extra-x86_64/PKGBUILD (from rev 454772, prometheus-mysqld-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-30 13:18:39 UTC (rev 454773)
@@ -0,0 +1,47 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=prometheus-mysqld-exporter
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="Prometheus exporter for MySQL server metrics"
+arch=('x86_64')
+url="https://github.com/prometheus/mysqld_exporter"
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+options=(!lto)
+backup=('etc/conf.d/prometheus-mysqld-exporter')
+source=("mysql_exporter-${pkgver}.tar.gz::https://github.com/prometheus/mysqld_exporter/archive/v${pkgver}.tar.gz"
+ "prometheus-mysqld-exporter.service"
+ "prometheus-mysqld-exporter.conf")
+sha512sums=('91728055fd66d3ba2d8c6f48eac24dcdbe710e627cb3c28af100fec1656064aafedbcfcfcb8c2f164dab9c3870c1867728e33afd57889644b27ceaadf0c59629'
+ '50619f4fa62c97c9c3533dc6a18024e2f2548e72b79e4cabae766d8b2135b4a5fdc9a6af87a279ecbae9101feac642851f2e239333a181b0db8d48af75eeac6c'
+ 'c13a99a42e5a28e2be1287c337aa0f351dc8ffdbafb903e51a360d00aecf1d49d2b28b73e3741cdf681cb18c33546ae2088a8dab8bc4908b5c5ef008500b40fb')
+
+build() {
+ cd "mysqld_exporter-${pkgver}"
+
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-extldflags ${LDFLAGS}
+ -X github.com/prometheus/common/version.Version=${pkgver} \
+ -X github.com/prometheus/common/version.Revision=${pkgver} \
+ -X github.com/prometheus/common/version.Branch=tarball \
+ -X github.com/prometheus/common/version.BuildUser=someone at builder \
+ -X github.com/prometheus/common/version.BuildDate=$(date -d@"${SOURCE_DATE_EPOCH}" +%Y%m%d-%T)" \
+ .
+}
+
+package() {
+ install -Dm644 "prometheus-mysqld-exporter.service" \
+ "${pkgdir}/usr/lib/systemd/system/prometheus-mysqld-exporter.service"
+ install -Dm644 "prometheus-mysqld-exporter.conf" \
+ "${pkgdir}/etc/conf.d/prometheus-mysqld-exporter"
+
+ cd "mysqld_exporter-${pkgver}"
+ install -Dm755 "mysqld_exporter" "${pkgdir}/usr/bin/prometheus-mysqld-exporter"
+}
Deleted: prometheus-mysqld-exporter.conf
===================================================================
--- prometheus-mysqld-exporter.conf 2022-08-30 13:18:22 UTC (rev 454772)
+++ prometheus-mysqld-exporter.conf 2022-08-30 13:18:39 UTC (rev 454773)
@@ -1,2 +0,0 @@
-DATA_SOURCE_NAME=""
-MYSQLD_EXPORTER_ARGS=""
Copied: prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.conf (from rev 454772, prometheus-mysqld-exporter/trunk/prometheus-mysqld-exporter.conf)
===================================================================
--- prometheus-mysqld-exporter.conf (rev 0)
+++ prometheus-mysqld-exporter.conf 2022-08-30 13:18:39 UTC (rev 454773)
@@ -0,0 +1,2 @@
+DATA_SOURCE_NAME=""
+MYSQLD_EXPORTER_ARGS=""
Deleted: prometheus-mysqld-exporter.service
===================================================================
--- prometheus-mysqld-exporter.service 2022-08-30 13:18:22 UTC (rev 454772)
+++ prometheus-mysqld-exporter.service 2022-08-30 13:18:39 UTC (rev 454773)
@@ -1,26 +0,0 @@
-[Unit]
-Description=Prometheus exporter for MySQL server metrics
-After=network.target
-
-[Service]
-EnvironmentFile=-/etc/conf.d/prometheus-mysqld-exporter
-ExecStart=/usr/bin/prometheus-mysqld-exporter $MYSQLD_EXPORTER_ARGS
-Restart=on-failure
-
-DynamicUser=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-LockPersonality=true
-ProtectHostname=true
-ProtectHome=true
-ProtectClock=true
-ProtectControlGroups=true
-ProtectKernelLogs=true
-PrivateDevices=true
-PrivateUsers=true
-RestrictRealtime=true
-CapabilityBoundingSet=
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target
Copied: prometheus-mysqld-exporter/repos/extra-x86_64/prometheus-mysqld-exporter.service (from rev 454772, prometheus-mysqld-exporter/trunk/prometheus-mysqld-exporter.service)
===================================================================
--- prometheus-mysqld-exporter.service (rev 0)
+++ prometheus-mysqld-exporter.service 2022-08-30 13:18:39 UTC (rev 454773)
@@ -0,0 +1,26 @@
+[Unit]
+Description=Prometheus exporter for MySQL server metrics
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/conf.d/prometheus-mysqld-exporter
+ExecStart=/usr/bin/prometheus-mysqld-exporter $MYSQLD_EXPORTER_ARGS
+Restart=on-failure
+
+DynamicUser=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+LockPersonality=true
+ProtectHostname=true
+ProtectHome=true
+ProtectClock=true
+ProtectControlGroups=true
+ProtectKernelLogs=true
+PrivateDevices=true
+PrivateUsers=true
+RestrictRealtime=true
+CapabilityBoundingSet=
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list