[arch-commits] Commit in prometheus/repos/extra-x86_64 (6 files)
Jelle van der Waa
jelle at archlinux.org
Sun Aug 9 21:55:12 UTC 2020
Date: Sunday, August 9, 2020 @ 21:55:12
Author: jelle
Revision: 393493
archrelease: copy trunk to extra-x86_64
Added:
prometheus/repos/extra-x86_64/PKGBUILD
(from rev 393492, prometheus/trunk/PKGBUILD)
prometheus/repos/extra-x86_64/prometheus.service
(from rev 393492, prometheus/trunk/prometheus.service)
prometheus/repos/extra-x86_64/prometheus.sysusers
(from rev 393492, prometheus/trunk/prometheus.sysusers)
Deleted:
prometheus/repos/extra-x86_64/PKGBUILD
prometheus/repos/extra-x86_64/prometheus.service
prometheus/repos/extra-x86_64/prometheus.sysusers
---------------------+
PKGBUILD | 152 +++++++++++++++++++++++++-------------------------
prometheus.service | 58 +++++++++----------
prometheus.sysusers | 2
3 files changed, 106 insertions(+), 106 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-09 21:54:27 UTC (rev 393492)
+++ PKGBUILD 2020-08-09 21:55:12 UTC (rev 393493)
@@ -1,76 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-
-pkgname=prometheus
-pkgver=2.20.0
-pkgrel=1
-
-pkgdesc='An open-source systems monitoring and alerting toolkit'
-url='https://prometheus.io'
-arch=('x86_64')
-license=('Apache')
-
-depends=('glibc')
-makedepends=('go' 'git' 'bzr' 'yarn')
-
-backup=('etc/prometheus/prometheus.yml')
-
-source=("prometheus-v$pkgver.tar.gz::https://github.com/prometheus/prometheus/archive/v$pkgver.tar.gz"
- prometheus.service
- prometheus.sysusers)
-
-sha256sums=('ca10ff2bb5db1c5a5c05032be155b5e91ee8e085ab001c41b2b8aec256d8a24a'
- '463647e91c8401d06c65b67df0288fa9bf14e3b0398014c7cfe725efa8db8812'
- '2747fabb4e56b808361eb7dd7acf9729ab8973d1ebe2f857dd56f6c71f71e45f')
-
-build() {
- cd prometheus-$pkgver
-
- 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)"
-
- make assets
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "$LDFLAGS" \
- ./cmd/prometheus
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "$LDFLAGS" \
- ./cmd/promtool
-}
-
-check() {
- cd prometheus-$pkgver
-
- go test -short ./...
-}
-
-package() {
- install -Dm644 prometheus.service "$pkgdir"/usr/lib/systemd/system/prometheus.service
- install -Dm644 prometheus.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus.conf
-
- cd prometheus-$pkgver
-
- install -Dm755 -t "$pkgdir"/usr/bin prometheus promtool
- install -Dm640 -g210 -t "$pkgdir"/etc/prometheus documentation/examples/prometheus.yml
- install -dm755 -o210 -g210 "$pkgdir"/var/lib/prometheus
-
- # Web
- install -dm755 "$pkgdir"/usr/share/prometheus/web/ui
- cp -R web/ui/{static,templates} "$pkgdir"/usr/share/prometheus/web/ui/
-
- # Examples
- install -Dm644 -t "$pkgdir"/usr/share/doc/prometheus/examples documentation/examples/prometheus*.yml
- cp -R consoles console_libraries "$pkgdir"/usr/share/doc/prometheus/examples
-
-}
Copied: prometheus/repos/extra-x86_64/PKGBUILD (from rev 393492, prometheus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-09 21:55:12 UTC (rev 393493)
@@ -0,0 +1,76 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=prometheus
+pkgver=2.20.1
+pkgrel=1
+
+pkgdesc='An open-source systems monitoring and alerting toolkit'
+url='https://prometheus.io'
+arch=('x86_64')
+license=('Apache')
+
+depends=('glibc')
+makedepends=('go' 'git' 'bzr' 'yarn')
+
+backup=('etc/prometheus/prometheus.yml')
+
+source=("prometheus-v$pkgver.tar.gz::https://github.com/prometheus/prometheus/archive/v$pkgver.tar.gz"
+ prometheus.service
+ prometheus.sysusers)
+
+sha256sums=('d8382b4847479ffe2a968827aa97b5d3167c57ff5a89766f2d4f8c9c9f97dce6'
+ '463647e91c8401d06c65b67df0288fa9bf14e3b0398014c7cfe725efa8db8812'
+ '2747fabb4e56b808361eb7dd7acf9729ab8973d1ebe2f857dd56f6c71f71e45f')
+
+build() {
+ cd prometheus-$pkgver
+
+ 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)"
+
+ make assets
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "$LDFLAGS" \
+ ./cmd/prometheus
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "$LDFLAGS" \
+ ./cmd/promtool
+}
+
+check() {
+ cd prometheus-$pkgver
+
+ go test -short ./...
+}
+
+package() {
+ install -Dm644 prometheus.service "$pkgdir"/usr/lib/systemd/system/prometheus.service
+ install -Dm644 prometheus.sysusers "$pkgdir"/usr/lib/sysusers.d/prometheus.conf
+
+ cd prometheus-$pkgver
+
+ install -Dm755 -t "$pkgdir"/usr/bin prometheus promtool
+ install -Dm640 -g210 -t "$pkgdir"/etc/prometheus documentation/examples/prometheus.yml
+ install -dm755 -o210 -g210 "$pkgdir"/var/lib/prometheus
+
+ # Web
+ install -dm755 "$pkgdir"/usr/share/prometheus/web/ui
+ cp -R web/ui/{static,templates} "$pkgdir"/usr/share/prometheus/web/ui/
+
+ # Examples
+ install -Dm644 -t "$pkgdir"/usr/share/doc/prometheus/examples documentation/examples/prometheus*.yml
+ cp -R consoles console_libraries "$pkgdir"/usr/share/doc/prometheus/examples
+
+}
Deleted: prometheus.service
===================================================================
--- prometheus.service 2020-08-09 21:54:27 UTC (rev 393492)
+++ prometheus.service 2020-08-09 21:55:12 UTC (rev 393493)
@@ -1,29 +0,0 @@
-[Unit]
-Description=Prometheus service
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=prometheus
-Group=prometheus
-Restart=on-failure
-WorkingDirectory=/usr/share/prometheus
-ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data
-ExecReload=/bin/kill -HUP $MAINPID
-LimitNOFILE=65535
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=full
-ProtectHostname=true
-ProtectControlGroups=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-LockPersonality=true
-RestrictRealtime=yes
-RestrictNamespaces=yes
-MemoryDenyWriteExecute=yes
-PrivateDevices=yes
-CapabilityBoundingSet=
-
-[Install]
-WantedBy=multi-user.target
Copied: prometheus/repos/extra-x86_64/prometheus.service (from rev 393492, prometheus/trunk/prometheus.service)
===================================================================
--- prometheus.service (rev 0)
+++ prometheus.service 2020-08-09 21:55:12 UTC (rev 393493)
@@ -0,0 +1,29 @@
+[Unit]
+Description=Prometheus service
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=prometheus
+Group=prometheus
+Restart=on-failure
+WorkingDirectory=/usr/share/prometheus
+ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data
+ExecReload=/bin/kill -HUP $MAINPID
+LimitNOFILE=65535
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=full
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+LockPersonality=true
+RestrictRealtime=yes
+RestrictNamespaces=yes
+MemoryDenyWriteExecute=yes
+PrivateDevices=yes
+CapabilityBoundingSet=
+
+[Install]
+WantedBy=multi-user.target
Deleted: prometheus.sysusers
===================================================================
--- prometheus.sysusers 2020-08-09 21:54:27 UTC (rev 393492)
+++ prometheus.sysusers 2020-08-09 21:55:12 UTC (rev 393493)
@@ -1 +0,0 @@
-u prometheus 210 "Prometheus dedicated user"
Copied: prometheus/repos/extra-x86_64/prometheus.sysusers (from rev 393492, prometheus/trunk/prometheus.sysusers)
===================================================================
--- prometheus.sysusers (rev 0)
+++ prometheus.sysusers 2020-08-09 21:55:12 UTC (rev 393493)
@@ -0,0 +1 @@
+u prometheus 210 "Prometheus dedicated user"
More information about the arch-commits
mailing list