mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
influxdb: update to 1.3.5
This commit is contained in:
parent
a6534d3a97
commit
0469f33c54
1 changed files with 25 additions and 29 deletions
|
@ -1,46 +1,42 @@
|
||||||
# Template file for 'influxdb'
|
# Template file for 'influxdb'
|
||||||
pkgname=influxdb
|
pkgname=influxdb
|
||||||
version=1.2.0
|
version=1.3.5
|
||||||
revision=6
|
revision=1
|
||||||
|
_branch=1.3
|
||||||
|
_commit=9d90010
|
||||||
build_style=go
|
build_style=go
|
||||||
hostmakedepends="git-perl mercurial"
|
nocross=https://travis-ci.org/kulinacs/void-packages/jobs/258683433
|
||||||
go_import_path="github.com/influxdata/influxdb"
|
go_import_path="github.com/influxdata/influxdb"
|
||||||
go_package="${go_import_path}/cmd/influx
|
build_wrksrc="_build-${pkgname}-xbps/src/${go_import_path}"
|
||||||
${go_import_path}/cmd/influxd
|
hostmakedepends="git go-gdm"
|
||||||
${go_import_path}/cmd/influx_inspect
|
makedepends="git"
|
||||||
${go_import_path}/cmd/influx_stress
|
system_accounts="_influxdb"
|
||||||
${go_import_path}/cmd/influx_tsm"
|
_influxdb_homedir="/var/lib/${pkgname}"
|
||||||
|
make_dirs="${_influxdb_homedir} 0755 _influxdb _influxdb"
|
||||||
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
||||||
short_desc="Scalable datastore for metrics, events, and real-time analytics"
|
short_desc="Scalable datastore for metrics, events, and real-time analytics"
|
||||||
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
|
maintainer="Nicklaus McClendon <nicklaus@kulinacs.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://influxdata.com/time-series-platform/influxdb/"
|
homepage="https://influxdata.com/time-series-platform/influxdb/"
|
||||||
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
||||||
checksum=366bfd12ab943cf08e56d000ee72dada40cab9adf2da098cde4333a204e6879e
|
checksum=2271c52932486731cb132cf0bf094cbecf4bd26bea01d8f986e4e50739778577
|
||||||
|
|
||||||
system_accounts="_influxdb"
|
|
||||||
influxdb_homedir="/var/lib/$pkgname"
|
|
||||||
influxdb_shell="/bin/false"
|
|
||||||
|
|
||||||
conf_files="/etc/influxdb/influxdb.conf"
|
|
||||||
make_dirs="$influxdb_homedir 0755 _influxdb _influxdb"
|
|
||||||
|
|
||||||
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/974/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mkdir -p $GOPATH/src/github.com/influxdata
|
local path="${GOPATH}/src/${go_import_path}"
|
||||||
ln -s $PWD $GOPATH/src/$go_import_path
|
mkdir -p "$(dirname ${path})"
|
||||||
|
ln -fs $PWD "${path}"
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_build() {
|
||||||
rm -f $GOPATH/bin/gdm
|
gdm restore
|
||||||
rm -f $GOPATH/bin/stress_test_server
|
}
|
||||||
rm -f $GOPATH/bin/test_client
|
|
||||||
rm -f $GOPATH/bin/urlgen
|
do_build() {
|
||||||
|
go install -ldflags="-X main.version=${version} -X main.branch=${_branch} -X main.commit=${_commit}" ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv $pkgname
|
|
||||||
|
|
||||||
vinstall etc/config.sample.toml 644 etc/influxdb influxdb.conf
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
vsv ${pkgname}
|
||||||
|
vinstall etc/config.sample.toml 644 etc/${pkgname} ${pkgname}.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue