From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1200133-garchives=archives.gentoo.org@lists.gentoo.org>
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 EF90C138359
	for <garchives@archives.gentoo.org>; Thu, 27 Aug 2020 07:05:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2CBB1E0C64;
	Thu, 27 Aug 2020 07:05:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 10292E0C64
	for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2020 07:05:12 +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 0E267335D5E
	for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2020 07:05:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A8E27332
	for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2020 07:05:09 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
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" <jer@gentoo.org>
Message-ID: <1598511907.8d991738f61ad43a6b58cda7388ae33e341f93d4.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/chrony/chrony-3.5.1.ebuild net-misc/chrony/chrony-9999.ebuild
X-VCS-Directories: net-misc/chrony/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 8d991738f61ad43a6b58cda7388ae33e341f93d4
X-VCS-Branch: master
Date: Thu, 27 Aug 2020 07:05:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: be13ccff-7c05-432a-8c16-886e7bb9cecf
X-Archives-Hash: 1ecb656c073b1d8c44c7d3c831fcee0a

commit:     8d991738f61ad43a6b58cda7388ae33e341f93d4
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 07:02:57 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 07:05:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d991738

net-misc/chrony: Run config(!) changes in src_configure()

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-misc/chrony/chrony-3.5.1.ebuild | 4 ++--
 net-misc/chrony/chrony-9999.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/chrony/chrony-3.5.1.ebuild b/net-misc/chrony/chrony-3.5.1.ebuild
index fa28cf69009..067eb1c8836 100644
--- a/net-misc/chrony/chrony-3.5.1.ebuild
+++ b/net-misc/chrony/chrony-3.5.1.ebuild
@@ -53,7 +53,9 @@ src_prepare() {
 	# Copy for potential user fixup
 	cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
 	cp examples/chronyd.service "${T}"/chronyd.service
+}
 
+src_configure() {
 	# Set config for privdrop
 	if ! use caps; then
 		sed -i \
@@ -66,9 +68,7 @@ src_prepare() {
 			-e 's/-F 1//' \
 			"${T}"/chronyd.conf "${T}"/chronyd.service || die
 	fi
-}
 
-src_configure() {
 	tc-export CC
 
 	local CHRONY_EDITLINE

diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 0338e59678b..a2dcdd4d2bd 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -73,7 +73,9 @@ src_prepare() {
 	# Copy for potential user fixup
 	cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
 	cp examples/chronyd.service "${T}"/chronyd.service
+}
 
+src_configure() {
 	# Set config for privdrop
 	if ! use caps; then
 		sed -i \
@@ -86,9 +88,7 @@ src_prepare() {
 			-e 's/-F 1//' \
 			"${T}"/chronyd.conf "${T}"/chronyd.service || die
 	fi
-}
 
-src_configure() {
 	tc-export CC
 
 	local CHRONY_EDITLINE