[arch-commits] Commit in prometheus-blackbox-exporter/repos/extra-x86_64 (4 files)
Jelle van der Waa
jelle at archlinux.org
Tue Sep 1 19:08:10 UTC 2020
Date: Tuesday, September 1, 2020 @ 19:08:10
Author: jelle
Revision: 395108
archrelease: copy trunk to extra-x86_64
Added:
prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD
(from rev 395107, prometheus-blackbox-exporter/trunk/PKGBUILD)
prometheus-blackbox-exporter/repos/extra-x86_64/prometheus-blackbox-exporter.service
(from rev 395107, 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 2020-09-01 19:08:03 UTC (rev 395107)
+++ PKGBUILD 2020-09-01 19:08:10 UTC (rev 395108)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
-
-pkgname=prometheus-blackbox-exporter
-pkgver=0.16.0
-pkgrel=5
-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=('85103b62e345ab5d59626e658047ac75649f9ef991c9bbaff32b95ea75ec2da2bf916573e664520766158805c6cf24163f2850c885a594d32b4f9c4c9dbed1a8'
- 'b32d7772cbd8a2fc741d827a7f221d1302ab0c5833c095e5b6dc6befa46a1b12c22e91252fd0e4cf07c9c309d6315c6e1d020508a3baaaa891ab9f7f7d690eae')
-
-check() {
- cd blackbox_exporter-$pkgver
- go test ./...
-}
-
-build() {
- cd blackbox_exporter-$pkgver
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -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
-}
Copied: prometheus-blackbox-exporter/repos/extra-x86_64/PKGBUILD (from rev 395107, prometheus-blackbox-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-01 19:08:10 UTC (rev 395108)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <jelle at dwaa.nl>
+
+pkgname=prometheus-blackbox-exporter
+pkgver=0.17.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=('9e79d083c5c8caebbc19b6feef04dd189bc91a72dcb3aa946a96543fbe28ae2c49cafeed3f42618747661421897adc17988ffc6cf0d7054cf0a385b85eeafc61'
+ '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 2020-09-01 19:08:03 UTC (rev 395107)
+++ prometheus-blackbox-exporter.service 2020-09-01 19:08:10 UTC (rev 395108)
@@ -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 395107, prometheus-blackbox-exporter/trunk/prometheus-blackbox-exporter.service)
===================================================================
--- prometheus-blackbox-exporter.service (rev 0)
+++ prometheus-blackbox-exporter.service 2020-09-01 19:08:10 UTC (rev 395108)
@@ -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