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

Jelle van der Waa jelle at archlinux.org
Fri Aug 16 12:10:05 UTC 2019


    Date: Friday, August 16, 2019 @ 12:10:04
  Author: jelle
Revision: 359901

archrelease: copy trunk to extra-x86_64

Added:
  prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
    (from rev 359900, prometheus-blackbox-exporter/trunk/PKGBUILD)
  prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service
    (from rev 359900, 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                             |   78 ++++++++++++++++-----------------
 prometheus-blackbox-exporter.service |   22 ++++-----
 2 files changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 12:09:57 UTC (rev 359900)
+++ PKGBUILD	2019-08-16 12:10:04 UTC (rev 359901)
@@ -1,39 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
-
-pkgname=prometheus-blackbox-exporter
-pkgver=0.14.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-pie git)
-source=(https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz prometheus-blackbox-exporter.service)
-sha512sums=('58f379cdeef671376105532450ffb3a6fef0ea071d493fbef40d761c6cbaec47bb49c9c2e5c070f3d0e598396d7ad9b2c5af100c9a69aee04877442c7bdaf120'
-            '1d874c5dac3c36cb9e74cf3aa7b91d92560156acfe314179608bc8534ee38bed1f7f01368a5e85fac4d954ff84039f7cc4548803a5a9167baca69163f1ba7514')
-
-check() {
-  cd blackbox_exporter-$pkgver
-  go test ./...
-}
-
-build() {
-  cd blackbox_exporter-$pkgver
-  go build \
-    -gcflags "all=-trimpath=${PWD}" \
-    -asmflags "all=-trimpath=${PWD}" \
-    -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=$SOURCE_DATE_EPOCH" \
-    .
-}
-
-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 359900, prometheus-blackbox-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-16 12:10:04 UTC (rev 359901)
@@ -0,0 +1,39 @@
+# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
+
+pkgname=prometheus-blackbox-exporter
+pkgver=0.14.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-pie git)
+source=(https://github.com/prometheus/blackbox_exporter/archive/v${pkgver}.tar.gz prometheus-blackbox-exporter.service)
+sha512sums=('58f379cdeef671376105532450ffb3a6fef0ea071d493fbef40d761c6cbaec47bb49c9c2e5c070f3d0e598396d7ad9b2c5af100c9a69aee04877442c7bdaf120'
+            '1d874c5dac3c36cb9e74cf3aa7b91d92560156acfe314179608bc8534ee38bed1f7f01368a5e85fac4d954ff84039f7cc4548803a5a9167baca69163f1ba7514')
+
+check() {
+  cd blackbox_exporter-$pkgver
+  go test ./...
+}
+
+build() {
+  cd blackbox_exporter-$pkgver
+  go build \
+    -gcflags "all=-trimpath=${PWD}" \
+    -asmflags "all=-trimpath=${PWD}" \
+    -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-%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	2019-08-16 12:09:57 UTC (rev 359900)
+++ prometheus-blackbox-exporter.service	2019-08-16 12:10:04 UTC (rev 359901)
@@ -1,11 +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
-
-[Install]
-WantedBy=multi-user.target

Copied: prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service (from rev 359900, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
===================================================================
--- prometheus-blackbox-exporter.service	                        (rev 0)
+++ prometheus-blackbox-exporter.service	2019-08-16 12:10:04 UTC (rev 359901)
@@ -0,0 +1,11 @@
+[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
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list