mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
netdata: update to 1.42.1.
This commit is contained in:
parent
a852d1e2e5
commit
f236e1329e
1 changed files with 2 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'netdata'
|
# Template file for 'netdata'
|
||||||
pkgname=netdata
|
pkgname=netdata
|
||||||
version=1.40.1
|
version=1.42.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
|
@ -18,7 +18,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://www.netdata.cloud/"
|
homepage="https://www.netdata.cloud/"
|
||||||
distfiles="https://github.com/netdata/netdata/releases/download/v${version}/netdata-v${version}.tar.gz"
|
distfiles="https://github.com/netdata/netdata/releases/download/v${version}/netdata-v${version}.tar.gz"
|
||||||
checksum=cc86172acd5e6ec05bc0fa86a50d967502a264d8adf7f79293923ccd8febb251
|
checksum=2728f74ec499bb8cce4d046b1ed3980bf3c84ad225a77d0be3b70f653a787a76
|
||||||
python_version=3
|
python_version=3
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/lib/netdata 0755 _netdata _netdata
|
/var/lib/netdata 0755 _netdata _netdata
|
||||||
|
@ -42,15 +42,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -e 's/#define info(/#define netdata_log_info(/g' -i libnetdata/log/log.h
|
|
||||||
vsed -e 's/^\([ ]*\)info[ ]*(/\1netdata_log_info(/g' -i $(grep -rl '^[ ]*info *(' ./)
|
|
||||||
vsed -e 's/^\([ ]*\)else info(/\1else netdata_log_info(/g' -i $(grep -rl '^[ ]*else info(' ./)
|
|
||||||
vsed -e 's/^\([ ]*\)if(\([^)]*\))[ ]*info(/\1if(\2) netdata_log_info(/g' -i $(grep -rl '^[ ]*if([^)]*)[ ]*info(' ./)
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
sed -i "s| \$(builddir)/judyltablesgen\$(EXEEXT)| qemu-${XBPS_TARGET_QEMU_MACHINE}-static \$(builddir)/judyltablesgen\$(EXEEXT)|g" Makefile.am
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue