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

Jelle van der Waa jelle at gemini.archlinux.org
Thu Nov 18 19:13:42 UTC 2021


    Date: Thursday, November 18, 2021 @ 19:13:42
  Author: jelle
Revision: 428590

archrelease: copy trunk to extra-x86_64

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

-----------------------------------+
 PKGBUILD                          |  120 ++++++++++++++++++------------------
 prometheus-node-exporter.conf     |    2 
 prometheus-node-exporter.service  |   36 +++++-----
 prometheus-node-exporter.sysusers |    2 
 4 files changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-18 19:13:31 UTC (rev 428589)
+++ PKGBUILD	2021-11-18 19:13:42 UTC (rev 428590)
@@ -1,60 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgname=prometheus-node-exporter
-pkgver=1.2.2
-pkgrel=1
-
-pkgdesc='Exporter for machine metrics'
-url='https://github.com/prometheus/node_exporter'
-arch=('x86_64')
-license=('Apache')
-
-depends=('glibc')
-makedepends=('go' 'git')
-
-backup=('etc/conf.d/prometheus-node-exporter')
-
-source=("$pkgname-$pkgver.tar.gz::https://github.com/prometheus/node_exporter/archive/v$pkgver.tar.gz"
-        prometheus-node-exporter.conf
-        prometheus-node-exporter.service
-        prometheus-node-exporter.sysusers)
-
-sha256sums=('3b7b710dad97d9d2b4cb8c3f166ee1c86f629cce59062b09d4fb22459163ec86'
-            'ce93e2b95bfc86a8a046e2f9175408e1cbffa784fd3b65dd141fde70b5bb2585'
-            '457e305760323f941d20248e2ca5817ae4a8b5586f79a2331b968bf3baa66c5b'
-            'c7fd0b1793dfe7a354a28e978d3c79e7195eaf43376b9eece37e996fe0772c5c')
-
-build() {
-  cd node_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)" \
-    .
-}
-
-check() {
-  cd node_exporter-$pkgver
-
-  make collector/fixtures/sys/.unpacked
-  go test ./...
-  ./end-to-end-test.sh
-}
-
-package () {
-  install -Dm644 prometheus-node-exporter.conf "$pkgdir"/etc/conf.d/prometheus-node-exporter
-  install -Dm644 prometheus-node-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-node-exporter.service
-  install -Dm644 prometheus-node-exporter.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus-node-exporter.conf
-
-  cd node_exporter-$pkgver
-
-  install -Dm755 node_exporter "$pkgdir"/usr/bin/prometheus-node-exporter
-}

Copied: prometheus-node-exporter/repos/extra-x86_64/PKGBUILD (from rev 428589, prometheus-node-exporter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-18 19:13:42 UTC (rev 428590)
@@ -0,0 +1,60 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=prometheus-node-exporter
+pkgver=1.3.0
+pkgrel=1
+
+pkgdesc='Exporter for machine metrics'
+url='https://github.com/prometheus/node_exporter'
+arch=('x86_64')
+license=('Apache')
+
+depends=('glibc')
+makedepends=('go' 'git')
+
+backup=('etc/conf.d/prometheus-node-exporter')
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/prometheus/node_exporter/archive/v$pkgver.tar.gz"
+        prometheus-node-exporter.conf
+        prometheus-node-exporter.service
+        prometheus-node-exporter.sysusers)
+
+sha256sums=('9f4296e3661164b4e7af3d12a8a1cfced0fe9c5fa2d83252028c7a032ae4ff26'
+            'ce93e2b95bfc86a8a046e2f9175408e1cbffa784fd3b65dd141fde70b5bb2585'
+            '457e305760323f941d20248e2ca5817ae4a8b5586f79a2331b968bf3baa66c5b'
+            'c7fd0b1793dfe7a354a28e978d3c79e7195eaf43376b9eece37e996fe0772c5c')
+
+build() {
+  cd node_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)" \
+    .
+}
+
+check() {
+  cd node_exporter-$pkgver
+
+  make collector/fixtures/sys/.unpacked
+  go test ./...
+  ./end-to-end-test.sh
+}
+
+package () {
+  install -Dm644 prometheus-node-exporter.conf "$pkgdir"/etc/conf.d/prometheus-node-exporter
+  install -Dm644 prometheus-node-exporter.service "$pkgdir"/usr/lib/systemd/system/prometheus-node-exporter.service
+  install -Dm644 prometheus-node-exporter.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus-node-exporter.conf
+
+  cd node_exporter-$pkgver
+
+  install -Dm755 node_exporter "$pkgdir"/usr/bin/prometheus-node-exporter
+}

Deleted: prometheus-node-exporter.conf
===================================================================
--- prometheus-node-exporter.conf	2021-11-18 19:13:31 UTC (rev 428589)
+++ prometheus-node-exporter.conf	2021-11-18 19:13:42 UTC (rev 428590)
@@ -1 +0,0 @@
-NODE_EXPORTER_ARGS=""

Copied: prometheus-node-exporter/repos/extra-x86_64/prometheus-node-exporter.conf (from rev 428589, prometheus-node-exporter/trunk/prometheus-node-exporter.conf)
===================================================================
--- prometheus-node-exporter.conf	                        (rev 0)
+++ prometheus-node-exporter.conf	2021-11-18 19:13:42 UTC (rev 428590)
@@ -0,0 +1 @@
+NODE_EXPORTER_ARGS=""

Deleted: prometheus-node-exporter.service
===================================================================
--- prometheus-node-exporter.service	2021-11-18 19:13:31 UTC (rev 428589)
+++ prometheus-node-exporter.service	2021-11-18 19:13:42 UTC (rev 428590)
@@ -1,18 +0,0 @@
-[Unit]
-Description=Prometheus exporter for machine metrics
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=node_exporter
-Group=node_exporter
-Restart=on-failure
-EnvironmentFile=-/etc/conf.d/prometheus-node-exporter
-ExecStart=/usr/bin/prometheus-node-exporter $NODE_EXPORTER_ARGS
-ExecReload=/bin/kill -HUP $MAINPID
-NoNewPrivileges=true
-ProtectHome=read-only
-ProtectSystem=strict
-
-[Install]
-WantedBy=multi-user.target

Copied: prometheus-node-exporter/repos/extra-x86_64/prometheus-node-exporter.service (from rev 428589, prometheus-node-exporter/trunk/prometheus-node-exporter.service)
===================================================================
--- prometheus-node-exporter.service	                        (rev 0)
+++ prometheus-node-exporter.service	2021-11-18 19:13:42 UTC (rev 428590)
@@ -0,0 +1,18 @@
+[Unit]
+Description=Prometheus exporter for machine metrics
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=node_exporter
+Group=node_exporter
+Restart=on-failure
+EnvironmentFile=-/etc/conf.d/prometheus-node-exporter
+ExecStart=/usr/bin/prometheus-node-exporter $NODE_EXPORTER_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+NoNewPrivileges=true
+ProtectHome=read-only
+ProtectSystem=strict
+
+[Install]
+WantedBy=multi-user.target

Deleted: prometheus-node-exporter.sysusers
===================================================================
--- prometheus-node-exporter.sysusers	2021-11-18 19:13:31 UTC (rev 428589)
+++ prometheus-node-exporter.sysusers	2021-11-18 19:13:42 UTC (rev 428590)
@@ -1 +0,0 @@
-u node_exporter - "Prometheus node-exporter user"

Copied: prometheus-node-exporter/repos/extra-x86_64/prometheus-node-exporter.sysusers (from rev 428589, prometheus-node-exporter/trunk/prometheus-node-exporter.sysusers)
===================================================================
--- prometheus-node-exporter.sysusers	                        (rev 0)
+++ prometheus-node-exporter.sysusers	2021-11-18 19:13:42 UTC (rev 428590)
@@ -0,0 +1 @@
+u node_exporter - "Prometheus node-exporter user"



More information about the arch-commits mailing list