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

Jelle van der Waa jelle at archlinux.org
Sun May 12 10:55:17 UTC 2019


    Date: Sunday, May 12, 2019 @ 10:55:17
  Author: jelle
Revision: 352914

archrelease: copy trunk to extra-x86_64

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-12 10:55:08 UTC (rev 352913)
+++ PKGBUILD	2019-05-12 10:55:17 UTC (rev 352914)
@@ -1,53 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=alertmanager
-pkgver=0.16.2
-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=(https://github.com/prometheus/alertmanager/archive/v${pkgver}.tar.gz alertmanager.service alertmanager.sysusers)
-sha512sums=('94012739c5c9691ff34bb521e220e00de13ef866451ffaaa8d45f85c228c6b515a84550a819b351db36e3da7c17a0fa397b5b1c6a4cbc3451442f5064a0184a3'
-            '414b09fc64fbafcfe3f204100a512e7ede00eb94352b37063427712b96a4e12bf0c386008c43ccb110f4572e412ee581d25151663dd5e36dfd68dbf5e1182f3b'
-            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
-
-prepare() {
-  # Switch to go build in new release.
-  mkdir -p gopath/src/github.com/prometheus
-  ln -rTsf $pkgname-$pkgver gopath/src/github.com/prometheus/alertmanager
-  export GOPATH="$srcdir"/gopath
-}
-
-build() {
-  export GOPATH="$srcdir/gopath"
-  cd gopath/src/github.com/prometheus/alertmanager
-  go install \
-    -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)" \
-    -v ./...
-}
-
-package() {
-  export GOPATH="$srcdir/gopath"
-  install -Dm755 $GOPATH/bin/$pkgname "$pkgdir/usr/bin/$pkgname"
-  install -Dm755 $GOPATH/bin/amtool "$pkgdir/usr/bin/amtool"
-
-  cd ${pkgname}-${pkgver}
-  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 352913, alertmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-12 10:55:17 UTC (rev 352914)
@@ -0,0 +1,53 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=alertmanager
+pkgver=0.17.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=(https://github.com/prometheus/alertmanager/archive/v${pkgver}.tar.gz alertmanager.service alertmanager.sysusers)
+sha512sums=('7cca7400640030caa44f713bda163dd142ad95e5b6b26d1976564fbc0b0888f26646b75c6bb4b6cc7405fa41bed9c727fca475245a170989c61b3b61cb797299'
+            '414b09fc64fbafcfe3f204100a512e7ede00eb94352b37063427712b96a4e12bf0c386008c43ccb110f4572e412ee581d25151663dd5e36dfd68dbf5e1182f3b'
+            '469f321f40b0dd6e1cc6d0791032c476449bb2ab2364d57b06d0e0309d09710be8751ded64d84e29dd6e28e96b71ef69e2bee6c71282500a9074a9d7ada8bdf0')
+
+prepare() {
+  # Switch to go build in new release.
+  mkdir -p gopath/src/github.com/prometheus
+  ln -rTsf $pkgname-$pkgver gopath/src/github.com/prometheus/alertmanager
+  export GOPATH="$srcdir"/gopath
+}
+
+build() {
+  export GOPATH="$srcdir/gopath"
+  cd gopath/src/github.com/prometheus/alertmanager
+  go install \
+    -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)" \
+    -v ./...
+}
+
+package() {
+  export GOPATH="$srcdir/gopath"
+  install -Dm755 $GOPATH/bin/$pkgname "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 $GOPATH/bin/amtool "$pkgdir/usr/bin/amtool"
+
+  cd ${pkgname}-${pkgver}
+  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-05-12 10:55:08 UTC (rev 352913)
+++ alertmanager.service	2019-05-12 10:55:17 UTC (rev 352914)
@@ -1,17 +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
-
-[Install]
-WantedBy=multi-user.target

Copied: alertmanager/repos/extra-x86_64/alertmanager.service (from rev 352913, alertmanager/trunk/alertmanager.service)
===================================================================
--- alertmanager.service	                        (rev 0)
+++ alertmanager.service	2019-05-12 10:55:17 UTC (rev 352914)
@@ -0,0 +1,17 @@
+[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
+
+[Install]
+WantedBy=multi-user.target

Deleted: alertmanager.sysusers
===================================================================
--- alertmanager.sysusers	2019-05-12 10:55:08 UTC (rev 352913)
+++ alertmanager.sysusers	2019-05-12 10:55:17 UTC (rev 352914)
@@ -1 +0,0 @@
-u alertmanager 211 "alertmanager user"

Copied: alertmanager/repos/extra-x86_64/alertmanager.sysusers (from rev 352913, alertmanager/trunk/alertmanager.sysusers)
===================================================================
--- alertmanager.sysusers	                        (rev 0)
+++ alertmanager.sysusers	2019-05-12 10:55:17 UTC (rev 352914)
@@ -0,0 +1 @@
+u alertmanager 211 "alertmanager user"



More information about the arch-commits mailing list