commit:     f9e5eed702dbd26546cbc4971cdb91d17ce26a90
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 22 01:49:52 2022 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Feb 22 02:01:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e5eed7

net-analyzer/netdata: cloud requires protobuf

Closes: https://bugs.gentoo.org/833857
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 .../netdata/{netdata-9999.ebuild => netdata-1.33.1-r1.ebuild}       | 6 ++++--
 net-analyzer/netdata/netdata-9999.ebuild                            | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netdata/netdata-9999.ebuild 
b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild
similarity index 94%
copy from net-analyzer/netdata/netdata-9999.ebuild
copy to net-analyzer/netdata/netdata-1.33.1-r1.ebuild
index 5759c79ca15e..6dfe8112013e 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-1.33.1-r1.ebuild
@@ -10,8 +10,8 @@ if [[ ${PV} == *9999 ]] ; then
        EGIT_REPO_URI="https://github.com/netdata/${PN}.git";
        inherit git-r3
 else
-       
SRC_URI="https://github.com/netdata/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz
 -> ${P}.tar.gz"
-       S="${WORKDIR}/${PN}-${PV}"
+       
SRC_URI="https://github.com/netdata/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}/${PN}-v${PV}"
        KEYWORDS="~amd64 ~ppc64 ~x86"
 fi
 
@@ -49,6 +49,7 @@ RDEPEND="
                dev-libs/openssl:=
        )
        dev-libs/libuv
+       cloud? ( dev-libs/protobuf:= )
        compression? ( sys-libs/zlib )
        ipmi? ( sys-libs/freeipmi )
        jsonc? ( dev-libs/json-c:= )
@@ -101,6 +102,7 @@ src_configure() {
        econf \
                --localstatedir="${EPREFIX}"/var \
                --with-user=netdata \
+               --without-bundled-protobuf \
                $(use_enable cloud) \
                $(use_enable jsonc) \
                $(use_enable cups plugin-cups) \

diff --git a/net-analyzer/netdata/netdata-9999.ebuild 
b/net-analyzer/netdata/netdata-9999.ebuild
index 5759c79ca15e..427b0ff777e1 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -49,6 +49,7 @@ RDEPEND="
                dev-libs/openssl:=
        )
        dev-libs/libuv
+       cloud? ( dev-libs/protobuf:= )
        compression? ( sys-libs/zlib )
        ipmi? ( sys-libs/freeipmi )
        jsonc? ( dev-libs/json-c:= )
@@ -101,6 +102,7 @@ src_configure() {
        econf \
                --localstatedir="${EPREFIX}"/var \
                --with-user=netdata \
+               --without-bundled-protobuf \
                $(use_enable cloud) \
                $(use_enable jsonc) \
                $(use_enable cups plugin-cups) \

Reply via email to