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

Jelle van der Waa jelle at archlinux.org
Sun Feb 21 20:35:35 UTC 2021


    Date: Sunday, February 21, 2021 @ 20:35:34
  Author: jelle
Revision: 408576

archrelease: copy trunk to extra-x86_64

Added:
  prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
    (from rev 408575, prometheus-blackbox-exporter/trunk/PKGBUILD)
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service
    (from rev 408575, 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-02-21 20:35:29 UTC (rev 408575)
+++ PKGBUILD	2021-02-21 20:35:34 UTC (rev 408576)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
-
-pkgname=prometheus-blackbox-exporter
-pkgver=0.18.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=('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 -d@"$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 408575, prometheus-blackbox-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-21 20:35:34 UTC (rev 408576)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
+
+pkgname=prometheus-blackbox-exporter
+pkgver=0.18.0
+pkgrel=2
+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 -d@"$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-02-21 20:35:29 UTC (rev 408575)
+++ prometheus-blackbox-exporter.service	2021-02-21 20:35:34 UTC (rev 408576)
@@ -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 408575, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
===================================================================
--- prometheus-blackbox-exporter.service	                        (rev 0)
+++ prometheus-blackbox-exporter.service	2021-02-21 20:35:34 UTC (rev 408576)
@@ -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