chore(deps): update enix/x509-certificate-exporter to 3.19.1

This commit is contained in:
2026-06-04 18:46:06 +02:00
parent 7e3ce29650
commit 2af1ac6942
2 changed files with 47 additions and 35 deletions
+20 -12
View File
@@ -1,22 +1,30 @@
pkgbase = prometheus-x509-certificate-exporter pkgbase = prometheus-x509-certificate-exporter
pkgdesc = metric exporter for x509 certificates pkgdesc = metric exporter for x509 certificates
pkgver = 3.18.1 pkgver = 3.19.1
pkgrel = 1 pkgrel = 1
url = https://github.com/enix/x509-certificate-exporter url = https://github.com/enix/x509-certificate-exporter
arch = armv7h
arch = aarch64 arch = aarch64
arch = x86_64 arch = x86_64
arch = riscv64
license = MIT license = MIT
makedepends = go
backup = etc/conf.d/prometheus-x509-certificate-exporter backup = etc/conf.d/prometheus-x509-certificate-exporter
source = https://github.com/enix/x509-certificate-exporter/archive/refs/tags/v3.18.1.zip source_aarch64 = prometheus-x509-certificate-exporter-3.19.1-linux-aarch64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v3.19.1/x509-certificate-exporter-linux-arm64.tar.gz
source = prometheus-x509-certificate-exporter source_aarch64 = prometheus-x509-certificate-exporter
source = systemd.service source_aarch64 = systemd.service
sha512sums = 6cdf26cdcac2bd76bd8aee8c09f4a7a7dc0319a0147eadfbbad3cb702dc5286c4f41965a90ad80ee393aff570a6c772d11e2f95ecd0a9851df7a158e2456354c sha256sums_aarch64 = 614b127e56f8b008070f43f6ea5899e2c43264ca1fef2e363bc2bfcbc4f9260e
sha512sums = 2fd59748f9cb4018456befcc07bb1e4a68cbe5d5bf30faa74e4bc607c241623ee66d6ea7765a5bcd707dfa2a1eb674b7e2e766e27fc0c462c0db1b5ec6aa13ac sha256sums_aarch64 = 166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083
sha512sums = a95d01a84340bdcfbc833f5b78976432bdca1c567f55a3c56eb2ef3b95a64488d38482ddb965d535b6a8f66ea4b34f51a2bf0bd8098f7d3af81ff4fd63ec3b5a sha256sums_aarch64 = f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837
b2sums = 2bfd22921da2942597ce8008aebceb5999cad89b37ca4041fab83b61912af1802c6bdf0c23c1112ffc086615161c2291aac6edddd5d2550c8c3ede4f1c7874cd source_x86_64 = prometheus-x509-certificate-exporter-3.19.1-linux-x86_64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v3.19.1/x509-certificate-exporter-linux-amd64.tar.gz
b2sums = 41d9f7daeeedddc11056ac3b8e741afbab80c5779ce3823aa2d88f179e779c0715ccf8c471d645ef74df87f0f7c33cbec92a0ecdae148bd80f83670b6446038c source_x86_64 = prometheus-x509-certificate-exporter
b2sums = c7bfafa8f30cbde623909875c6bce8784261bb3bf38a4c3cb6b36745866558df4d1cf2e7d95c12ac47622863f1e91cce7febb01a5499c51a024019026c165033 source_x86_64 = systemd.service
sha256sums_x86_64 = 4ccc43f593bc6aafa435771fa8622854f10a645e974d923a93072c5eba762b89
sha256sums_x86_64 = 166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083
sha256sums_x86_64 = f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837
source_riscv64 = prometheus-x509-certificate-exporter-3.19.1-linux-riscv64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v3.19.1/x509-certificate-exporter-linux-riscv64.tar.gz
source_riscv64 = prometheus-x509-certificate-exporter
source_riscv64 = systemd.service
sha256sums_riscv64 = d24eb885f418ffb5abb81c9aa8e42cee5e43c63043d556349ae5cb058aed2455
sha256sums_riscv64 = 166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083
sha256sums_riscv64 = f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837
pkgname = prometheus-x509-certificate-exporter pkgname = prometheus-x509-certificate-exporter
+27 -23
View File
@@ -2,48 +2,52 @@
pkgname=prometheus-x509-certificate-exporter pkgname=prometheus-x509-certificate-exporter
_pkgname=x509-certificate-exporter _pkgname=x509-certificate-exporter
pkgver=3.18.1 # renovate: datasource=github-releases depName=enix/x509-certificate-exporter extractVersion='^v?(?<version>.*)$' pkgver=3.19.1 # renovate: datasource=github-releases depName=enix/x509-certificate-exporter extractVersion='^v?(?<version>.*)$'
pkgrel=1 pkgrel=1
pkgdesc="metric exporter for x509 certificates" pkgdesc="metric exporter for x509 certificates"
arch=('armv7h' 'aarch64' 'x86_64') arch=('aarch64' 'x86_64' 'riscv64')
url="https://github.com/enix/$_pkgname" url="https://github.com/enix/$_pkgname"
license=('MIT') license=('MIT')
makedepends=('go')
backup=( backup=(
etc/conf.d/prometheus-x509-certificate-exporter etc/conf.d/prometheus-x509-certificate-exporter
) )
source=( source_aarch64=(
"$url/archive/refs/tags/v$pkgver.zip" "${pkgname}-${pkgver}-linux-aarch64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v${pkgver}/${_pkgname}-linux-arm64.tar.gz"
'prometheus-x509-certificate-exporter' 'prometheus-x509-certificate-exporter'
'systemd.service' 'systemd.service'
) )
sha512sums=('6cdf26cdcac2bd76bd8aee8c09f4a7a7dc0319a0147eadfbbad3cb702dc5286c4f41965a90ad80ee393aff570a6c772d11e2f95ecd0a9851df7a158e2456354c'
'2fd59748f9cb4018456befcc07bb1e4a68cbe5d5bf30faa74e4bc607c241623ee66d6ea7765a5bcd707dfa2a1eb674b7e2e766e27fc0c462c0db1b5ec6aa13ac'
'a95d01a84340bdcfbc833f5b78976432bdca1c567f55a3c56eb2ef3b95a64488d38482ddb965d535b6a8f66ea4b34f51a2bf0bd8098f7d3af81ff4fd63ec3b5a')
b2sums=('2bfd22921da2942597ce8008aebceb5999cad89b37ca4041fab83b61912af1802c6bdf0c23c1112ffc086615161c2291aac6edddd5d2550c8c3ede4f1c7874cd'
'41d9f7daeeedddc11056ac3b8e741afbab80c5779ce3823aa2d88f179e779c0715ccf8c471d645ef74df87f0f7c33cbec92a0ecdae148bd80f83670b6446038c'
'c7bfafa8f30cbde623909875c6bce8784261bb3bf38a4c3cb6b36745866558df4d1cf2e7d95c12ac47622863f1e91cce7febb01a5499c51a024019026c165033')
build() { source_riscv64=(
cd "$_pkgname-$pkgver/cmd/$_pkgname" "${pkgname}-${pkgver}-linux-riscv64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v${pkgver}/${_pkgname}-linux-riscv64.tar.gz"
go build -v \ 'prometheus-x509-certificate-exporter'
-buildmode=pie \ 'systemd.service'
-trimpath \ )
-o $pkgname .
} source_x86_64=(
"${pkgname}-${pkgver}-linux-x86_64.tar.gz::https://github.com/enix/x509-certificate-exporter/releases/download/v${pkgver}/${_pkgname}-linux-amd64.tar.gz"
'prometheus-x509-certificate-exporter'
'systemd.service'
)
sha256sums_aarch64=('614b127e56f8b008070f43f6ea5899e2c43264ca1fef2e363bc2bfcbc4f9260e'
'166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083'
'f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837')
sha256sums_x86_64=('4ccc43f593bc6aafa435771fa8622854f10a645e974d923a93072c5eba762b89'
'166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083'
'f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837')
sha256sums_riscv64=('d24eb885f418ffb5abb81c9aa8e42cee5e43c63043d556349ae5cb058aed2455'
'166c40406cf301f817b33d62529bcea00d4c93d278161b0f2e25b268d9a51083'
'f20db363daf15a32040781fc5b1972b178725e4d5021c47aa11dd65a862fc837')
package() { package() {
# systemd integration # systemd integration
install -D --mode 0644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" install -D --mode 0644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
# binary # binary
install -D --mode 0755 --target-directory "$pkgdir/usr/bin" "$_pkgname-$pkgver/cmd/$_pkgname/$pkgname" install -D --mode 0755 "$_pkgname" "$pkgdir/usr/bin/$pkgname"
# extra args # extra args
# NOTE: Set restrict file permissions by default to protect optional basic auth credentials # NOTE: Set restrict file permissions by default to protect optional basic auth credentials
install -D --mode 0600 --target-directory "$pkgdir/etc/conf.d" prometheus-x509-certificate-exporter install -D --mode 0600 prometheus-x509-certificate-exporter "$pkgdir/etc/conf.d/prometheus-x509-certificate-exporter"
# license
install -D --mode 0755 --target-directory "$pkgdir/usr/share/licenses/$pkgname" "$_pkgname-$pkgver/LICENSE"
} }