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

Jelle van der Waa jelle at archlinux.org
Wed Dec 11 21:11:08 UTC 2019


    Date: Wednesday, December 11, 2019 @ 21:11:07
  Author: jelle
Revision: 370687

archrelease: copy trunk to extra-x86_64

Added:
  alertmanager/repos/extra-x86_64/PKGBUILD
    (from rev 370686, alertmanager/trunk/PKGBUILD)
  alertmanager/repos/extra-x86_64/alertmanager.service
    (from rev 370686, alertmanager/trunk/alertmanager.service)
  alertmanager/repos/extra-x86_64/alertmanager.sysusers
    (from rev 370686, 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              |  110 ++++++++++++++++++++++++------------------------
 alertmanager.service  |   56 ++++++++++++------------
 alertmanager.sysusers |    2 
 3 files changed, 84 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-11 21:10:54 UTC (rev 370686)
+++ PKGBUILD	2019-12-11 21:11:07 UTC (rev 370687)
@@ -1,55 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=alertmanager
-pkgver=0.19.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-pie 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=('2c21bfbb1001e07e81b1115439ad15e7c0e7089839e56a19c445177e322b8ef9aa2b85e96478f3c3d709cbbd3a5447662a8c55da370b84aa4b6b24f83848744b'
-            'e814d4aca46c2e243a2fe137b2ca102d5adfc18a5d4ab1d316ae593e60a256f8f7f699eb2d8c28b74e6f26fd17b682df927517db4819b167ab0269aa3f76894e'
-            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
-
-build() {
-  cd $pkgname-$pkgver
-  go build \
-    -gcflags "all=-trimpath=$GOPATH" \
-    -asmflags "all=-trimpath=$GOPATH" \
-    -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 \
-    -gcflags "all=-trimpath=$GOPATH" \
-    -asmflags "all=-trimpath=$GOPATH" \
-    -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 370686, alertmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-11 21:11:07 UTC (rev 370687)
@@ -0,0 +1,55 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=alertmanager
+pkgver=0.20.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-pie 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=('4bb9353e6ce9b149c5f22a2c305829112dfdf87f9b74e6075a45be0e07fe0f17e869ef9be4bb5e9c53d215dd1f534b1b5a707dd981efce8c5bcae4c1d6ce18bb'
+            'e814d4aca46c2e243a2fe137b2ca102d5adfc18a5d4ab1d316ae593e60a256f8f7f699eb2d8c28b74e6f26fd17b682df927517db4819b167ab0269aa3f76894e'
+            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
+
+build() {
+  cd $pkgname-$pkgver
+  go build \
+    -gcflags "all=-trimpath=$GOPATH" \
+    -asmflags "all=-trimpath=$GOPATH" \
+    -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 \
+    -gcflags "all=-trimpath=$GOPATH" \
+    -asmflags "all=-trimpath=$GOPATH" \
+    -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	2019-12-11 21:10:54 UTC (rev 370686)
+++ alertmanager.service	2019-12-11 21:11:07 UTC (rev 370687)
@@ -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 --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 370686, alertmanager/trunk/alertmanager.service)
===================================================================
--- alertmanager.service	                        (rev 0)
+++ alertmanager.service	2019-12-11 21:11:07 UTC (rev 370687)
@@ -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 --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	2019-12-11 21:10:54 UTC (rev 370686)
+++ alertmanager.sysusers	2019-12-11 21:11:07 UTC (rev 370687)
@@ -1 +0,0 @@
-u alertmanager 211 "alertmanager user"

Copied: alertmanager/repos/extra-x86_64/alertmanager.sysusers (from rev 370686, alertmanager/trunk/alertmanager.sysusers)
===================================================================
--- alertmanager.sysusers	                        (rev 0)
+++ alertmanager.sysusers	2019-12-11 21:11:07 UTC (rev 370687)
@@ -0,0 +1 @@
+u alertmanager 211 "alertmanager user"


More information about the arch-commits mailing list