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

Jelle van der Waa jelle at archlinux.org
Mon May 10 21:43:38 UTC 2021


    Date: Monday, May 10, 2021 @ 21:43:38
  Author: jelle
Revision: 414952

archrelease: copy trunk to extra-x86_64

Added:
  prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
    (from rev 414951, prometheus-blackbox-exporter/trunk/PKGBUILD)
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service
    (from rev 414951, 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.service

--------------------------------------+
 PKGBUILD                             |   82 ++++++++++++++++-----------------
 prometheus-blackbox-exporter.service |   56 +++++++++++-----------
 2 files changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-10 21:43:29 UTC (rev 414951)
+++ PKGBUILD	2021-05-10 21:43:38 UTC (rev 414952)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
-
-pkgname=prometheus-blackbox-exporter
-pkgver=0.18.0
-pkgrel=3
-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)
-source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz prometheus-blackbox-exporter.service)
-sha512sums=('6579d190c755515d4e5f05e2b6ed4d811010874dba1e16eaf6052e97c655f87aec33550f22ff173d2f3bbc77d091fb4fccad059f62ca6fbb33a372d48ae692f0'
-            'b32d7772cbd8a2fc741d827a7f221d1302ab0c5833c095e5b6dc6befa46a1b12c22e91252fd0e4cf07c9c309d6315c6e1d020508a3baaaa891ab9f7f7d690eae')
-
-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.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 414951, prometheus-blackbox-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-10 21:43:38 UTC (rev 414952)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
+
+pkgname=prometheus-blackbox-exporter
+pkgver=0.19.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)
+source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz prometheus-blackbox-exporter.service)
+sha512sums=('86b11bc7afa0d8261d0961ca21563047b1ea8bfd1a9d4d034c393a8b098b035147883a44011cdafca8e9795a5e9a043cc15235375990f3424137af63469a8878'
+            'b32d7772cbd8a2fc741d827a7f221d1302ab0c5833c095e5b6dc6befa46a1b12c22e91252fd0e4cf07c9c309d6315c6e1d020508a3baaaa891ab9f7f7d690eae')
+
+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.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.service
===================================================================
--- prometheus-blackbox-exporter.service	2021-05-10 21:43:29 UTC (rev 414951)
+++ prometheus-blackbox-exporter.service	2021-05-10 21:43:38 UTC (rev 414952)
@@ -1,28 +0,0 @@
-[Unit]
-Description=Prometheus blackbox Exporter
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/prometheus-blackbox-exporter --config.file="/etc/prometheus/blackbox.yml"
-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 414951, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
===================================================================
--- prometheus-blackbox-exporter.service	                        (rev 0)
+++ prometheus-blackbox-exporter.service	2021-05-10 21:43:38 UTC (rev 414952)
@@ -0,0 +1,28 @@
+[Unit]
+Description=Prometheus blackbox Exporter
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/prometheus-blackbox-exporter --config.file="/etc/prometheus/blackbox.yml"
+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