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 8F699138359 for ; Fri, 3 Jul 2020 09:55:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7936BE086C; Fri, 3 Jul 2020 09:55:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 6306DE086C for ; Fri, 3 Jul 2020 09:55:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7FB1134EA38 for ; Fri, 3 Jul 2020 09:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D85912C8 for ; Fri, 3 Jul 2020 09:55:05 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1593770103.8de80582707cc4fc79c6b0b028acbd5aa6e136a7.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/darkstat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild net-analyzer/darkstat/darkstat-9999999.ebuild X-VCS-Directories: net-analyzer/darkstat/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 8de80582707cc4fc79c6b0b028acbd5aa6e136a7 X-VCS-Branch: master Date: Fri, 3 Jul 2020 09:55:05 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7da75441-0ecf-4446-8d91-456bd71d5750 X-Archives-Hash: d9acad2d4eb6a82d3ad191b133d769d0 commit: 8de80582707cc4fc79c6b0b028acbd5aa6e136a7 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Jul 3 09:53:09 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Jul 3 09:55:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de80582 net-analyzer/darkstat: Update ROOT mangling for EAPI=7 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild | 4 +++- net-analyzer/darkstat/darkstat-9999999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild index 8075830d412..dd21a625d20 100644 --- a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild +++ b/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild @@ -60,7 +60,9 @@ pkg_preinst() { pkg_postinst() { # Workaround bug #141619 - DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat` + DARKSTAT_CHROOT_DIR=$( + sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"/etc/conf.d/darkstat + ) chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}" elog "To start different darkstat instances which will listen on a different" diff --git a/net-analyzer/darkstat/darkstat-9999999.ebuild b/net-analyzer/darkstat/darkstat-9999999.ebuild index a22c4018efb..c9d630ebf3f 100644 --- a/net-analyzer/darkstat/darkstat-9999999.ebuild +++ b/net-analyzer/darkstat/darkstat-9999999.ebuild @@ -60,7 +60,9 @@ pkg_preinst() { pkg_postinst() { # Workaround bug #141619 - DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat` + DARKSTAT_CHROOT_DIR=$( + sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"/etc/conf.d/darkstat + ) chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}" elog "To start different darkstat instances which will listen on a different"