From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1146975-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 3CFC3138350
	for <garchives@archives.gentoo.org>; Tue, 18 Feb 2020 08:23:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 79ED6E089C;
	Tue, 18 Feb 2020 08:23:09 +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 5F35DE089C
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2020 08:23: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 5C0DD34EE0E
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2020 08:23:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AA0F9C
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2020 08:23:07 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@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, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1582014180.557fd8ba795a841069d6c3709fec7f6b57b51568.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/dhcp/dhcp-4.4.2-r1.ebuild net-misc/dhcp/dhcp-4.4.2-r2.ebuild
X-VCS-Directories: net-misc/dhcp/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 557fd8ba795a841069d6c3709fec7f6b57b51568
X-VCS-Branch: master
Date: Tue, 18 Feb 2020 08:23:07 +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: 2f6218a1-ffd9-45bb-bcf8-394567efdbfb
X-Archives-Hash: 0f579f6f77b367ce23bc1a4c519394cd

commit:     557fd8ba795a841069d6c3709fec7f6b57b51568
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Tue Feb 18 08:21:12 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 08:23:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557fd8ba

net-misc/dhcp: Revbump to remove old user eclass remnants

Closes: https://bugs.gentoo.org/710014
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/dhcp/{dhcp-4.4.2-r1.ebuild => dhcp-4.4.2-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild
similarity index 99%
rename from net-misc/dhcp/dhcp-4.4.2-r1.ebuild
rename to net-misc/dhcp/dhcp-4.4.2-r2.ebuild
index 26c97d7eafa..87b562df602 100644
--- a/net-misc/dhcp/dhcp-4.4.2-r1.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.2-r2.ebuild
@@ -236,12 +236,12 @@ src_install() {
 		mv "${f}" "${f%.example}" || die
 	done
 	sed -i '/^[^#]/s:^:#:' "${ED}"/etc/dhcp/*.conf || die
+
+	diropts -m0750 -o dhcp -g dhcp
+	keepdir /var/lib/dhcp
 }
 
 pkg_preinst() {
-	enewgroup dhcp
-	enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-
 	# Keep the user files over the sample ones.  The
 	# hashing is to ignore the crappy defaults #384087.
 	local f h