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 3A1D7138359 for ; Tue, 28 Jul 2020 18:12:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BEB8E0929; Tue, 28 Jul 2020 18:12: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 40E0CE0929 for ; Tue, 28 Jul 2020 18:12:09 +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 2C38434F1DD for ; Tue, 28 Jul 2020 18:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA6762F6 for ; Tue, 28 Jul 2020 18:12:04 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1595959924.52d0dd930929ebc49804bd4a8ecfe674e8cff3cc.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/gpsd/gpsd-3.20.ebuild sci-geosciences/gpsd/gpsd-9999.ebuild X-VCS-Directories: sci-geosciences/gpsd/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 52d0dd930929ebc49804bd4a8ecfe674e8cff3cc X-VCS-Branch: master Date: Tue, 28 Jul 2020 18:12:04 +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: 230ae43e-97bb-4bfc-b003-f8a2be9f5464 X-Archives-Hash: 9c8ffaba1616578d463c3c2a08061aa9 commit: 52d0dd930929ebc49804bd4a8ecfe674e8cff3cc Author: Rick Farina gentoo org> AuthorDate: Tue Jul 28 17:59:40 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Tue Jul 28 18:12:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d0dd93 sci-geosciences/gpsd: migrate to glep 81 add acct-user/gpsd and use it migrate from uucp/gpsd groups to dialout Interestingly I can't actually find gpsd group ever being created, but I find it being used. As such, I simply dropped it. https://bugs.gentoo.org/704580 https://bugs.gentoo.org/691746 https://bugs.gentoo.org/667410 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Rick Farina gentoo.org> sci-geosciences/gpsd/gpsd-3.20.ebuild | 11 +++-------- sci-geosciences/gpsd/gpsd-9999.ebuild | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/sci-geosciences/gpsd/gpsd-3.20.ebuild b/sci-geosciences/gpsd/gpsd-3.20.ebuild index 5b207643d5d..22ad7bf0704 100644 --- a/sci-geosciences/gpsd/gpsd-3.20.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.20.ebuild @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{6,7,8} ) SCONS_MIN_VERSION="2.3.0" -inherit eutils udev user multilib distutils-r1 scons-utils toolchain-funcs +inherit eutils udev multilib distutils-r1 scons-utils toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git" @@ -41,6 +41,7 @@ REQUIRED_USE="X? ( python ) RESTRICT="!test? ( test )" RDEPEND=" + acct-user/gpsd >=net-misc/pps-tools-0.0.20120407 bluetooth? ( net-wireless/bluez ) dbus? ( @@ -131,7 +132,7 @@ src_configure() { rundir="/run" chrpath=False gpsd_user=gpsd - gpsd_group=uucp + gpsd_group=dialout nostrip=True manbuild=False shared=$(usex !static True False) @@ -186,9 +187,3 @@ src_install() { use python && distutils-r1_src_install } - -pkg_preinst() { - # Run the gpsd daemon as gpsd and group uucp; create it here - # as it doesn't seem to be needed during compile/install ... - enewuser gpsd -1 -1 -1 "uucp" -} diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild index 73c52f149eb..f0fcb09fdae 100644 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild @@ -7,7 +7,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{6,7,8} ) SCONS_MIN_VERSION="2.3.0" -inherit eutils udev user multilib distutils-r1 scons-utils toolchain-funcs +inherit eutils udev multilib distutils-r1 scons-utils toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git" @@ -41,6 +41,7 @@ REQUIRED_USE="X? ( python ) RESTRICT="!test? ( test )" RDEPEND=" + acct-user/gpsd >=net-misc/pps-tools-0.0.20120407 bluetooth? ( net-wireless/bluez ) dbus? ( @@ -135,7 +136,7 @@ src_configure() { rundir="/run" chrpath=False gpsd_user=gpsd - gpsd_group=uucp + gpsd_group=dialout nostrip=True manbuild=False shared=$(usex !static True False) @@ -190,9 +191,3 @@ src_install() { use python && distutils-r1_src_install } - -pkg_preinst() { - # Run the gpsd daemon as gpsd and group uucp; create it here - # as it doesn't seem to be needed during compile/install ... - enewuser gpsd -1 -1 -1 "uucp" -}