[arch-commits] Commit in influxdb/repos/community-x86_64 (6 files)
Morten Linderud
foxboron at archlinux.org
Sun Apr 12 12:36:50 UTC 2020
Date: Sunday, April 12, 2020 @ 12:36:49
Author: foxboron
Revision: 613405
archrelease: copy trunk to community-x86_64
Added:
influxdb/repos/community-x86_64/PKGBUILD
(from rev 613404, influxdb/trunk/PKGBUILD)
influxdb/repos/community-x86_64/influxdb.sysusers
(from rev 613404, influxdb/trunk/influxdb.sysusers)
influxdb/repos/community-x86_64/influxdb.tmpfiles
(from rev 613404, 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 | 143 +++++++++++++++++++++++++---------------------------
influxdb.sysusers | 2
influxdb.tmpfiles | 8 +-
3 files changed, 75 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-12 12:36:37 UTC (rev 613404)
+++ PKGBUILD 2020-04-12 12:36:49 UTC (rev 613405)
@@ -1,73 +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.7.10
-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-pie' 'git' 'asciidoc' 'xmlto' 'dep')
-backup=('etc/influxdb/influxdb.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/influxdata/influxdb/archive/v${pkgver}.tar.gz"
- "influxdb.sysusers"
- "influxdb.tmpfiles")
-sha256sums=('2f8a6b19a1bf6088e992766373b977d21368db71f0140fb7f764c881012eca6d'
- '809cca823ae3027984bc7ace70db75753d7d0d4f6658a36db9d94a33054ca5e9'
- 'e2aa59413a6204737383b86cedefd866d7073f56ace5b89aad38c530cc86e60c')
-
-prepare(){
- export GOPATH="$srcdir/gopath"
-
- mkdir -p "$GOPATH/src/github.com/influxdata/"
- cp -r "${srcdir}/influxdb-$pkgver" "$GOPATH/src/github.com/influxdata/influxdb"
- cd "$GOPATH/src/github.com/influxdata/influxdb"
- dep ensure
-}
-
-build(){
- export GOPATH="$srcdir/gopath"
-
- _LDFLAGS="-X main.version=$pkgver -X main.branch=master -extldflags ${LDFLAGS}"
- go install -v -trimpath -ldflags="$_LDFLAGS" "github.com/influxdata/influxdb/cmd/..."
-
- cd "$GOPATH/src/github.com/influxdata/influxdb/man/"
- make
-}
-
-check(){
- export GOPATH="$srcdir/gopath"
- go test "github.com/influxdata/influxdb/..."
-}
-
-package(){
- export GOPATH="$srcdir/gopath"
-
- cd "$srcdir"
- install -Dm644 influxdb.sysusers "$pkgdir/usr/lib/sysusers.d/influxdb.conf"
- install -Dm644 influxdb.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/influxdb.conf"
-
- cd "$GOPATH/bin"
- install -d "$pkgdir/usr/bin/"
- install -Dm755 influx "$pkgdir/usr/bin/"
- install -Dm755 influxd "$pkgdir/usr/bin/"
- install -Dm755 influx_inspect "$pkgdir/usr/bin/"
- install -Dm755 influx_stress "$pkgdir/usr/bin/"
- install -Dm755 influx_tools "$pkgdir/usr/bin/"
- install -Dm755 influx_tsm "$pkgdir/usr/bin/"
- # install -Dm755 store "$pkgdir/usr/bin/"
-
- cd "$GOPATH/src/github.com/influxdata/influxdb"
- 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 613404, influxdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-12 12:36:49 UTC (rev 613405)
@@ -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.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/"
+}
Deleted: influxdb.sysusers
===================================================================
--- influxdb.sysusers 2020-04-12 12:36:37 UTC (rev 613404)
+++ influxdb.sysusers 2020-04-12 12:36:49 UTC (rev 613405)
@@ -1 +0,0 @@
-u influxdb - - /var/lib/influxdb
Copied: influxdb/repos/community-x86_64/influxdb.sysusers (from rev 613404, influxdb/trunk/influxdb.sysusers)
===================================================================
--- influxdb.sysusers (rev 0)
+++ influxdb.sysusers 2020-04-12 12:36:49 UTC (rev 613405)
@@ -0,0 +1 @@
+u influxdb - - /var/lib/influxdb
Deleted: influxdb.tmpfiles
===================================================================
--- influxdb.tmpfiles 2020-04-12 12:36:37 UTC (rev 613404)
+++ influxdb.tmpfiles 2020-04-12 12:36:49 UTC (rev 613405)
@@ -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 613404, influxdb/trunk/influxdb.tmpfiles)
===================================================================
--- influxdb.tmpfiles (rev 0)
+++ influxdb.tmpfiles 2020-04-12 12:36:49 UTC (rev 613405)
@@ -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