diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-29 16:44:53 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-29 18:19:25 +0100 |
commit | 40fafb64236b09a535d4ba807ed5e366fc7cbe64 (patch) | |
tree | 014766db2b0599c4a5271800a7001de25a75459b /testing/netdata/APKBUILD | |
parent | 2b8804b360b003a927d4f8e6bdb94ffe80887172 (diff) | |
download | aports-40fafb64236b09a535d4ba807ed5e366fc7cbe64.tar.bz2 aports-40fafb64236b09a535d4ba807ed5e366fc7cbe64.tar.xz |
testing/netdata: enable https:// support
Diffstat (limited to 'testing/netdata/APKBUILD')
-rw-r--r-- | testing/netdata/APKBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/testing/netdata/APKBUILD b/testing/netdata/APKBUILD index bc77c6ec41..72129518b2 100644 --- a/testing/netdata/APKBUILD +++ b/testing/netdata/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: Kevin Daudt <kdaudt@alpinelinux.org> pkgname=netdata pkgver=1.18.1 -pkgrel=1 +pkgrel=2 pkgdesc="Real-time performance monitoring" url="https://www.netdata.cloud/" license="GPL-3.0-or-later" arch="all" depends="bash" -makedepends="zlib-dev e2fsprogs-dev linux-headers libcap-dev automake autoconf" +makedepends="zlib-dev e2fsprogs-dev linux-headers libcap-dev automake autoconf + openssl-dev" pkgusers="netdata" pkggroups="netdata" subpackages="$pkgname-openrc $pkgname-nodejs::noarch $pkgname-python::noarch" @@ -16,14 +17,19 @@ install="$pkgname.pre-install" source="$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v$pkgver.tar.gz $pkgname.initd" -build() { +prepare() { + default_prepare autoreconf -i +} + +build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --with-zlib \ --with-math \ + --enable-https \ --with-webdir=/usr/share/webapss/netdata \ --with-user=netdata make @@ -45,6 +51,10 @@ package() { # cap needed for disk I/O utilization reporting setcap cap_dac_read_search,cap_sys_ptrace+ep \ "$pkgdir"/usr/libexec/netdata/plugins.d/apps.plugin + + install -d -Dm0750 -o netdata -g netdata "$pkgdir"/var/lib/netdata + install -d -Dm0750 -o netdata -g netdata "$pkgdir"/var/log/netdata + install -d -Dm0750 -o netdata -g netdata "$pkgdir"/var/cache/netdata } nodejs() { @@ -86,4 +96,4 @@ python() { } sha512sums="fb72f4729e05ab83fe9462e31b10fc40243472ea9f6cbb9421e2ca549810f2f80b28b05e886faa66e15c53b317ee559a3e0fb3d382c36a424dd39fec779918d9 netdata-1.18.1.tar.gz -0cc96162524bec0562e7ba0449d7d39ca6edd1928e2c1ac9f579a1fe5ea442f8ce670d04e84d2cac7c09843a9df7ed8151a6a3d2377713ffba4c86b43b8d9096 netdata.initd" +98dd8f188dfffe1221d05a4dd369e8f4f8dc2bf7a722ac8769afd351324b53b37c5675e705a4d42d20ce93ea9497fda9eb2457edaa500d4e72c9f1350b1d4652 netdata.initd" |