From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 956ED138334 for ; Wed, 1 Aug 2018 16:38:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0099DE0802; Wed, 1 Aug 2018 16:38:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9F85E0802 for ; Wed, 1 Aug 2018 16:38:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 012EE335CD1 for ; Wed, 1 Aug 2018 16:38:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A19A395 for ; Wed, 1 Aug 2018 16:38:12 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1533141476.ed8d384791a44541c68ffde982d93d6f656d45c7.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netdata/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/netdata/netdata-1.10.0-r1.ebuild net-analyzer/netdata/netdata-9999.ebuild X-VCS-Directories: net-analyzer/netdata/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: ed8d384791a44541c68ffde982d93d6f656d45c7 X-VCS-Branch: master Date: Wed, 1 Aug 2018 16:38:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b31c51c1-a4eb-4e1f-b5bc-5c384d887f11 X-Archives-Hash: efbef2d0baf6c4517082f725e52b6c68 commit: ed8d384791a44541c68ffde982d93d6f656d45c7 Author: Craig Andrews gentoo org> AuthorDate: Wed Aug 1 16:35:35 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Aug 1 16:37:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8d3847 net-analyzer/netdata: keep /var/{log,lib}/netdata Closes: https://bugs.gentoo.org/655930 Package-Manager: Portage-2.3.44, Repoman-2.3.10 .../netdata/{netdata-9999.ebuild => netdata-1.10.0-r1.ebuild} | 7 +++++-- net-analyzer/netdata/netdata-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-1.10.0-r1.ebuild similarity index 93% copy from net-analyzer/netdata/netdata-9999.ebuild copy to net-analyzer/netdata/netdata-1.10.0-r1.ebuild index 7c343955b89..d22fa18925f 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-1.10.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -90,13 +90,16 @@ src_configure() { src_install() { default - rm -rf "${D}/var/cache/netdata" || die + rm -rf "${D}/var/cache" || die # Remove unneeded .keep files find "${ED}" -name ".keep" -delete || die fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata + keepdir /var/log/netdata fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata + keepdir /var/lib/netdata + keepdir /var/lib/netdata/registry fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 7c343955b89..d22fa18925f 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -90,13 +90,16 @@ src_configure() { src_install() { default - rm -rf "${D}/var/cache/netdata" || die + rm -rf "${D}/var/cache" || die # Remove unneeded .keep files find "${ED}" -name ".keep" -delete || die fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata + keepdir /var/log/netdata fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata + keepdir /var/lib/netdata + keepdir /var/lib/netdata/registry fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN}