[arch-commits] Commit in alertmanager/repos/extra-x86_64 (6 files)

Jelle van der Waa jelle at archlinux.org
Tue May 25 17:30:44 UTC 2021


    Date: Tuesday, May 25, 2021 @ 17:30:43
  Author: jelle
Revision: 416448

archrelease: copy trunk to extra-x86_64

Added:
  alertmanager/repos/extra-x86_64/PKGBUILD
    (from rev 416447, alertmanager/trunk/PKGBUILD)
  alertmanager/repos/extra-x86_64/alertmanager.service
    (from rev 416447, alertmanager/trunk/alertmanager.service)
  alertmanager/repos/extra-x86_64/alertmanager.sysusers
    (from rev 416447, alertmanager/trunk/alertmanager.sysusers)
Deleted:
  alertmanager/repos/extra-x86_64/PKGBUILD
  alertmanager/repos/extra-x86_64/alertmanager.service
  alertmanager/repos/extra-x86_64/alertmanager.sysusers

-----------------------+
 PKGBUILD              |  118 ++++++++++++++++++++++++------------------------
 alertmanager.service  |   56 +++++++++++-----------
 alertmanager.sysusers |    2 
 3 files changed, 88 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-25 17:30:37 UTC (rev 416447)
+++ PKGBUILD	2021-05-25 17:30:43 UTC (rev 416448)
@@ -1,59 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=alertmanager
-pkgver=0.21.0
-pkgrel=3
-pkgdesc="Service which handles alerts sent by client applications such as the Prometheus server"
-url="https://github.com/prometheus/alertmanager"
-arch=(x86_64)
-depends=(glibc)
-license=('Apache')
-makedepends=(go git)
-backup=('etc/alertmanager/alertmanager.yml')
-source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/alertmanager/archive/v${pkgver}.tar.gz alertmanager.service alertmanager.sysusers)
-sha512sums=('72568407af4e90455975eff504ed49f4877eb517673532f655b6b0459725db5df7bbd1a3be120106c46b30dd7056714cc0b34b46df9c4d8c98e1f8c9eb0c39da'
-            '89511da0ec28c0503ba56b52896da7dbdeccb8c06eddd9dd89fe7a82e086e76ebff3b03fdd29eb8a2cc9192cc23823b48a06b75d897d31becc3a980abda7e172'
-            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
-
-build() {
-  cd $pkgname-$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)" \
-    ./cmd/alertmanager
-
-  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)" \
-    ./cmd/amtool
-}
-
-package() {
-  cd $pkgname-$pkgver
-  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
-  install -Dm755 amtool "$pkgdir/usr/bin/amtool"
-
-  install -Dm644 examples/ha/${pkgname}.yml "${pkgdir}/etc/${pkgname}/${pkgname}.yml"
-  install -d -m755 "${pkgdir}/etc/${pkgname}/template/"
-
-  install -d -m755 -o 211 -g 211 "${pkgdir}/var/lib/${pkgname}"
-
-  install -Dm0644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
-  install -Dm644 "$srcdir/alertmanager.sysusers" "$pkgdir/usr/lib/sysusers.d/alertmanager.conf"
-}

Copied: alertmanager/repos/extra-x86_64/PKGBUILD (from rev 416447, alertmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-25 17:30:43 UTC (rev 416448)
@@ -0,0 +1,59 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=alertmanager
+pkgver=0.22.0
+pkgrel=1
+pkgdesc="Service which handles alerts sent by client applications such as the Prometheus server"
+url="https://github.com/prometheus/alertmanager"
+arch=(x86_64)
+depends=(glibc)
+license=('Apache')
+makedepends=(go git)
+backup=('etc/alertmanager/alertmanager.yml')
+source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/alertmanager/archive/v${pkgver}.tar.gz alertmanager.service alertmanager.sysusers)
+sha512sums=('10afa71501e04970a49a0cb2ade86269a14f2963922dd74b4b773c41450e7b62eb7bd1a7f41b8abf2e480d88037bb634c514020b8ca1f083b11e0475a2942999'
+            '89511da0ec28c0503ba56b52896da7dbdeccb8c06eddd9dd89fe7a82e086e76ebff3b03fdd29eb8a2cc9192cc23823b48a06b75d897d31becc3a980abda7e172'
+            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
+
+build() {
+  cd $pkgname-$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)" \
+    ./cmd/alertmanager
+
+  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)" \
+    ./cmd/amtool
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 amtool "$pkgdir/usr/bin/amtool"
+
+  install -Dm644 examples/ha/${pkgname}.yml "${pkgdir}/etc/${pkgname}/${pkgname}.yml"
+  install -d -m755 "${pkgdir}/etc/${pkgname}/template/"
+
+  install -d -m755 -o 211 -g 211 "${pkgdir}/var/lib/${pkgname}"
+
+  install -Dm0644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  install -Dm644 "$srcdir/alertmanager.sysusers" "$pkgdir/usr/lib/sysusers.d/alertmanager.conf"
+}

Deleted: alertmanager.service
===================================================================
--- alertmanager.service	2021-05-25 17:30:37 UTC (rev 416447)
+++ alertmanager.service	2021-05-25 17:30:43 UTC (rev 416448)
@@ -1,28 +0,0 @@
-[Unit]
-Description=Alertmanager for prometheus
-Documentation=https://prometheus.io/docs/alerting/alertmanager/
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-User=alertmanager
-ExecStart=/usr/bin/alertmanager --cluster.listen-address= --config.file=/etc/alertmanager/alertmanager.yml --storage.path=/var/lib/alertmanager/
-ExecReload=/bin/kill -HUP $MAINPID
-
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=full
-ProtectHostname=true
-ProtectControlGroups=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-LockPersonality=true
-PrivateTmp=true
-PrivateDevices=True
-RestrictRealtime=true
-CapabilityBoundingSet=
-SystemCallArchitectures=native
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target

Copied: alertmanager/repos/extra-x86_64/alertmanager.service (from rev 416447, alertmanager/trunk/alertmanager.service)
===================================================================
--- alertmanager.service	                        (rev 0)
+++ alertmanager.service	2021-05-25 17:30:43 UTC (rev 416448)
@@ -0,0 +1,28 @@
+[Unit]
+Description=Alertmanager for prometheus
+Documentation=https://prometheus.io/docs/alerting/alertmanager/
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=alertmanager
+ExecStart=/usr/bin/alertmanager --cluster.listen-address= --config.file=/etc/alertmanager/alertmanager.yml --storage.path=/var/lib/alertmanager/
+ExecReload=/bin/kill -HUP $MAINPID
+
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=full
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+LockPersonality=true
+PrivateTmp=true
+PrivateDevices=True
+RestrictRealtime=true
+CapabilityBoundingSet=
+SystemCallArchitectures=native
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target

Deleted: alertmanager.sysusers
===================================================================
--- alertmanager.sysusers	2021-05-25 17:30:37 UTC (rev 416447)
+++ alertmanager.sysusers	2021-05-25 17:30:43 UTC (rev 416448)
@@ -1 +0,0 @@
-u alertmanager 211 "alertmanager user"

Copied: alertmanager/repos/extra-x86_64/alertmanager.sysusers (from rev 416447, alertmanager/trunk/alertmanager.sysusers)
===================================================================
--- alertmanager.sysusers	                        (rev 0)
+++ alertmanager.sysusers	2021-05-25 17:30:43 UTC (rev 416448)
@@ -0,0 +1 @@
+u alertmanager 211 "alertmanager user"



More information about the arch-commits mailing list