[arch-commits] Commit in prometheus-blackbox-exporter/repos/extra-x86_64 (6 files)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Aug 9 14:42:18 UTC 2022


    Date: Tuesday, August 9, 2022 @ 14:42:17
  Author: jelle
Revision: 452452

archrelease: copy trunk to extra-x86_64

Added:
  prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
    (from rev 452451, prometheus-blackbox-exporter/trunk/PKGBUILD)
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.conf
    (from rev 452451, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.conf)
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service
    (from rev 452451, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
Deleted:
  prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.conf
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service

--------------------------------------+
 PKGBUILD                             |   94 ++++++++++++++++-----------------
 prometheus-blackbox-exporter.conf    |    2 
 prometheus-blackbox-exporter.service |   58 ++++++++++----------
 3 files changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 14:42:07 UTC (rev 452451)
+++ PKGBUILD	2022-08-09 14:42:17 UTC (rev 452452)
@@ -1,47 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
-
-pkgname=prometheus-blackbox-exporter
-pkgver=0.21.1
-pkgrel=1
-pkgdesc="Allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP"
-arch=('x86_64')
-url="https://github.com/prometheus/blackbox_exporter"
-license=('Apache')
-depends=(glibc)
-makedepends=(go git)
-options=(!lto)
-backup=('etc/conf.d/prometheus-blackbox-exporter')
-source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz
-        prometheus-blackbox-exporter.service
-        prometheus-blackbox-exporter.conf)
-sha512sums=('a4d5187db9c99279d01d22c42c6569be836def2a033bf60c8f0a3131d329d8ac934b5ee30d2e9f185c4743c88ca287803165f7910378eb2d1ff27ae7671ab690'
-            '72747736e4783e313acb4cb917c3311ed736d69e9b22799132b4aad46b50072f3664c6377c271e720c3e620ab2a6db48110f8d92cc62cf7674cafc32fd1fb2e4'
-            '4cf607e698801396cd7cbde9371b6bc504c7e2ad62e127bccca098222be052e2a312490d93c7ba63304defbb40bc156fc76c79097c6b71bde243d834c02ed2cd')
-
-check() {
-  cd blackbox_exporter-$pkgver
-  go test ./...
-}
-
-build() {
-  cd blackbox_exporter-$pkgver
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -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 --date=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
-    .
-}
-
-package() {
-  install -Dm644 prometheus-blackbox-exporter.conf "$pkgdir"/etc/conf.d/prometheus-blackbox-exporter
-  install -Dm644 prometheus-blackbox-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-blackbox-exporter.service
-  cd blackbox_exporter-$pkgver
-  install -Dm755 blackbox_exporter "$pkgdir"/usr/bin/prometheus-blackbox-exporter
-}

Copied: prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD (from rev 452451, prometheus-blackbox-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 14:42:17 UTC (rev 452452)
@@ -0,0 +1,47 @@
+# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
+
+pkgname=prometheus-blackbox-exporter
+pkgver=0.22.0
+pkgrel=1
+pkgdesc="Allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP"
+arch=('x86_64')
+url="https://github.com/prometheus/blackbox_exporter"
+license=('Apache')
+depends=(glibc)
+makedepends=(go git)
+options=(!lto)
+backup=('etc/conf.d/prometheus-blackbox-exporter')
+source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz
+        prometheus-blackbox-exporter.service
+        prometheus-blackbox-exporter.conf)
+sha512sums=('327ed9807950b72cba45ccfb06f7af869a9c083b2a5fca43b6988876e4f7f54ddc34f299dab2e22c93056f8ca8bc79083670805f65e18d2a4322fce489ef2966'
+            '72747736e4783e313acb4cb917c3311ed736d69e9b22799132b4aad46b50072f3664c6377c271e720c3e620ab2a6db48110f8d92cc62cf7674cafc32fd1fb2e4'
+            '4cf607e698801396cd7cbde9371b6bc504c7e2ad62e127bccca098222be052e2a312490d93c7ba63304defbb40bc156fc76c79097c6b71bde243d834c02ed2cd')
+
+check() {
+  cd blackbox_exporter-$pkgver
+  go test ./...
+}
+
+build() {
+  cd blackbox_exporter-$pkgver
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -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 --date=@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
+    .
+}
+
+package() {
+  install -Dm644 prometheus-blackbox-exporter.conf "$pkgdir"/etc/conf.d/prometheus-blackbox-exporter
+  install -Dm644 prometheus-blackbox-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-blackbox-exporter.service
+  cd blackbox_exporter-$pkgver
+  install -Dm755 blackbox_exporter "$pkgdir"/usr/bin/prometheus-blackbox-exporter
+}

Deleted: prometheus-blackbox-exporter.conf
===================================================================
--- prometheus-blackbox-exporter.conf	2022-08-09 14:42:07 UTC (rev 452451)
+++ prometheus-blackbox-exporter.conf	2022-08-09 14:42:17 UTC (rev 452452)
@@ -1 +0,0 @@
-BLACKBOX_EXPORTER_ARGS="--config.file='/etc/prometheus/blackbox.yml'"

Copied: prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.conf (from rev 452451, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.conf)
===================================================================
--- prometheus-blackbox-exporter.conf	                        (rev 0)
+++ prometheus-blackbox-exporter.conf	2022-08-09 14:42:17 UTC (rev 452452)
@@ -0,0 +1 @@
+BLACKBOX_EXPORTER_ARGS="--config.file='/etc/prometheus/blackbox.yml'"

Deleted: prometheus-blackbox-exporter.service
===================================================================
--- prometheus-blackbox-exporter.service	2022-08-09 14:42:07 UTC (rev 452451)
+++ prometheus-blackbox-exporter.service	2022-08-09 14:42:17 UTC (rev 452452)
@@ -1,29 +0,0 @@
-[Unit]
-Description=Prometheus blackbox Exporter
-After=network.target
-
-[Service]
-EnvironmentFile=-/etc/conf.d/prometheus-blackbox-exporter
-ExecStart=/usr/bin/prometheus-blackbox-exporter $BLACKBOX_EXPORTER_ARGS
-ExecReload=/bin/kill -HUP $MAINPID
-DynamicUser=true
-
-NoNewPrivileges=true
-ProtectSystem=full
-ProtectKernelModules=true
-ProtectKernelTunables=true
-PrivateTmp=true
-LockPersonality=true
-ProtectHostname=true
-ProtectHome=true
-ProtectControlGroups=true
-ProtectKernelLogs=true
-PrivateDevices=true
-RestrictRealtime=true
-CapabilityBoundingSet=
-MemoryDenyWriteExecute=true
-CapabilityBoundingSet=CAP_NET_RAW
-AmbientCapabilities=CAP_NET_RAW
-
-[Install]
-WantedBy=multi-user.target

Copied: prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service (from rev 452451, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
===================================================================
--- prometheus-blackbox-exporter.service	                        (rev 0)
+++ prometheus-blackbox-exporter.service	2022-08-09 14:42:17 UTC (rev 452452)
@@ -0,0 +1,29 @@
+[Unit]
+Description=Prometheus blackbox Exporter
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/conf.d/prometheus-blackbox-exporter
+ExecStart=/usr/bin/prometheus-blackbox-exporter $BLACKBOX_EXPORTER_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+DynamicUser=true
+
+NoNewPrivileges=true
+ProtectSystem=full
+ProtectKernelModules=true
+ProtectKernelTunables=true
+PrivateTmp=true
+LockPersonality=true
+ProtectHostname=true
+ProtectHome=true
+ProtectControlGroups=true
+ProtectKernelLogs=true
+PrivateDevices=true
+RestrictRealtime=true
+CapabilityBoundingSet=
+MemoryDenyWriteExecute=true
+CapabilityBoundingSet=CAP_NET_RAW
+AmbientCapabilities=CAP_NET_RAW
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list