[arch-commits] Commit in influxdb/repos/community-x86_64 (6 files)
Morten Linderud
foxboron at archlinux.org
Sun Jul 12 21:14:32 UTC 2020
Date: Sunday, July 12, 2020 @ 21:14:32
Author: foxboron
Revision: 663370
archrelease: copy trunk to community-x86_64
Added:
influxdb/repos/community-x86_64/PKGBUILD
(from rev 663369, influxdb/trunk/PKGBUILD)
influxdb/repos/community-x86_64/influxdb.sysusers
(from rev 663369, influxdb/trunk/influxdb.sysusers)
influxdb/repos/community-x86_64/influxdb.tmpfiles
(from rev 663369, influxdb/trunk/influxdb.tmpfiles)
Deleted:
influxdb/repos/community-x86_64/PKGBUILD
influxdb/repos/community-x86_64/influxdb.sysusers
influxdb/repos/community-x86_64/influxdb.tmpfiles
-------------------+
PKGBUILD | 140 ++++++++++++++++++++++++++--------------------------
influxdb.sysusers | 2
influxdb.tmpfiles | 8 +-
3 files changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-12 21:14:22 UTC (rev 663369)
+++ PKGBUILD 2020-07-12 21:14:32 UTC (rev 663370)
@@ -1,70 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Nicolas Leclercq <nicolas.private at gmail.com>
-# Contributor: Adam S Levy <adam at aslevy.com>
-# Contributor: Charles B. Johnson <mail at cbjohnson.info>
-# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
-# Contributor: Ben Alex <ben.alex at acegi.com.au>
-
-pkgname=influxdb
-pkgver=1.8.0
-pkgrel=1
-pkgdesc='Scalable datastore for metrics, events, and real-time analytics'
-arch=('x86_64')
-url='https://github.com/InfluxData/influxdb'
-license=('MIT')
-makedepends=('go' 'git' 'asciidoc' 'xmlto' 'dep')
-backup=('etc/influxdb/influxdb.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/influxdata/influxdb/archive/v${pkgver}.tar.gz"
- "fix-go114.patch::https://github.com/Foxboron/influxdb/commit/f8453b48862b50fe44021e320332f75e32457f29.patch"
- "influxdb.sysusers"
- "influxdb.tmpfiles")
-sha256sums=('a20a03caac651ba8a1c6ee317c207d835feb51d4c266c4aa4986f196a7686623'
- '2812f5cd31bdf6b9f587d471c249fb90ea58c4000ce52e3b91de7b17ca74dc7d'
- '809cca823ae3027984bc7ace70db75753d7d0d4f6658a36db9d94a33054ca5e9'
- 'e2aa59413a6204737383b86cedefd866d7073f56ace5b89aad38c530cc86e60c')
-prepare() {
- cd "${pkgname}-${pkgver}"
- patch -Np1 < "../fix-go114.patch"
-}
-
-build(){
- cd "$pkgname-$pkgver"
- export CGO_LDFLAGS="$LDFLAGS"
- export GOFLAGS="-buildmode=pie -trimpath"
- _LDFLAGS="-X main.version=$pkgver -X main.branch=master"
- mkdir -p build
- go build -v -ldflags="$_LDFLAGS" -o build ./cmd/...
- cd "man"
- make
-}
-
-check(){
- cd "$pkgname-$pkgver"
- export CGO_LDFLAGS="$LDFLAGS"
- export GOFLAGS="-buildmode=pie -trimpath"
- go test ./...
-}
-
-package(){
- cd "$pkgname-$pkgver"
-
- install -Dm644 ../influxdb.sysusers "$pkgdir/usr/lib/sysusers.d/influxdb.conf"
- install -Dm644 ../influxdb.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/influxdb.conf"
-
- install -d "$pkgdir/usr/bin/"
- install -Dm755 build/influx "$pkgdir/usr/bin/"
- install -Dm755 build/influxd "$pkgdir/usr/bin/"
- install -Dm755 build/influx_inspect "$pkgdir/usr/bin/"
- install -Dm755 build/influx_stress "$pkgdir/usr/bin/"
- install -Dm755 build/influx_tools "$pkgdir/usr/bin/"
- install -Dm755 build/influx_tsm "$pkgdir/usr/bin/"
- # install -Dm755 store "$pkgdir/usr/bin/"
-
- install -Dm644 scripts/influxdb.service "$pkgdir/usr/lib/systemd/system/influxdb.service"
- install -Dm644 etc/config.sample.toml "$pkgdir/etc/influxdb/influxdb.conf"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/influxdb/LICENSE"
-
- # Install man pages
- install -d "$pkgdir/usr/share/man/man1"
- install -Dm644 man/*.1 "$pkgdir/usr/share/man/man1/"
-}
Copied: influxdb/repos/community-x86_64/PKGBUILD (from rev 663369, influxdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-12 21:14:32 UTC (rev 663370)
@@ -0,0 +1,70 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Nicolas Leclercq <nicolas.private at gmail.com>
+# Contributor: Adam S Levy <adam at aslevy.com>
+# Contributor: Charles B. Johnson <mail at cbjohnson.info>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+# Contributor: Ben Alex <ben.alex at acegi.com.au>
+
+pkgname=influxdb
+pkgver=1.8.1
+pkgrel=1
+pkgdesc='Scalable datastore for metrics, events, and real-time analytics'
+arch=('x86_64')
+url='https://github.com/InfluxData/influxdb'
+license=('MIT')
+makedepends=('go' 'git' 'asciidoc' 'xmlto' 'dep')
+backup=('etc/influxdb/influxdb.conf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/influxdata/influxdb/archive/v${pkgver}.tar.gz"
+ "fix-go114.patch::https://github.com/Foxboron/influxdb/commit/f8453b48862b50fe44021e320332f75e32457f29.patch"
+ "influxdb.sysusers"
+ "influxdb.tmpfiles")
+sha256sums=('d811be2ec684ea224e1097bd0051e0f6dfcd30cdd1656d55e48883d61ce47ce9'
+ '2812f5cd31bdf6b9f587d471c249fb90ea58c4000ce52e3b91de7b17ca74dc7d'
+ '809cca823ae3027984bc7ace70db75753d7d0d4f6658a36db9d94a33054ca5e9'
+ 'e2aa59413a6204737383b86cedefd866d7073f56ace5b89aad38c530cc86e60c')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 < "../fix-go114.patch"
+}
+
+build(){
+ cd "$pkgname-$pkgver"
+ export CGO_LDFLAGS="$LDFLAGS"
+ export GOFLAGS="-buildmode=pie -trimpath"
+ _LDFLAGS="-X main.version=$pkgver -X main.branch=master"
+ mkdir -p build
+ go build -v -ldflags="$_LDFLAGS" -o build ./cmd/...
+ cd "man"
+ make
+}
+
+check(){
+ cd "$pkgname-$pkgver"
+ export CGO_LDFLAGS="$LDFLAGS"
+ export GOFLAGS="-buildmode=pie -trimpath"
+ go test ./...
+}
+
+package(){
+ cd "$pkgname-$pkgver"
+
+ install -Dm644 ../influxdb.sysusers "$pkgdir/usr/lib/sysusers.d/influxdb.conf"
+ install -Dm644 ../influxdb.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/influxdb.conf"
+
+ install -d "$pkgdir/usr/bin/"
+ install -Dm755 build/influx "$pkgdir/usr/bin/"
+ install -Dm755 build/influxd "$pkgdir/usr/bin/"
+ install -Dm755 build/influx_inspect "$pkgdir/usr/bin/"
+ install -Dm755 build/influx_stress "$pkgdir/usr/bin/"
+ install -Dm755 build/influx_tools "$pkgdir/usr/bin/"
+ install -Dm755 build/influx_tsm "$pkgdir/usr/bin/"
+ # install -Dm755 store "$pkgdir/usr/bin/"
+
+ install -Dm644 scripts/influxdb.service "$pkgdir/usr/lib/systemd/system/influxdb.service"
+ install -Dm644 etc/config.sample.toml "$pkgdir/etc/influxdb/influxdb.conf"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/influxdb/LICENSE"
+
+ # Install man pages
+ install -d "$pkgdir/usr/share/man/man1"
+ install -Dm644 man/*.1 "$pkgdir/usr/share/man/man1/"
+}
Deleted: influxdb.sysusers
===================================================================
--- influxdb.sysusers 2020-07-12 21:14:22 UTC (rev 663369)
+++ influxdb.sysusers 2020-07-12 21:14:32 UTC (rev 663370)
@@ -1 +0,0 @@
-u influxdb - - /var/lib/influxdb
Copied: influxdb/repos/community-x86_64/influxdb.sysusers (from rev 663369, influxdb/trunk/influxdb.sysusers)
===================================================================
--- influxdb.sysusers (rev 0)
+++ influxdb.sysusers 2020-07-12 21:14:32 UTC (rev 663370)
@@ -0,0 +1 @@
+u influxdb - - /var/lib/influxdb
Deleted: influxdb.tmpfiles
===================================================================
--- influxdb.tmpfiles 2020-07-12 21:14:22 UTC (rev 663369)
+++ influxdb.tmpfiles 2020-07-12 21:14:32 UTC (rev 663370)
@@ -1,4 +0,0 @@
-d /var/lib/influxdb 0755 influxdb influxdb
-d /etc/influxdb 0755 influxdb influxdb
-x /var/lib/influxdb/*
-x /etc/influxdb/*
Copied: influxdb/repos/community-x86_64/influxdb.tmpfiles (from rev 663369, influxdb/trunk/influxdb.tmpfiles)
===================================================================
--- influxdb.tmpfiles (rev 0)
+++ influxdb.tmpfiles 2020-07-12 21:14:32 UTC (rev 663370)
@@ -0,0 +1,4 @@
+d /var/lib/influxdb 0755 influxdb influxdb
+d /etc/influxdb 0755 influxdb influxdb
+x /var/lib/influxdb/*
+x /etc/influxdb/*
More information about the arch-commits
mailing list