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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30E06158090 for ; Fri, 13 May 2022 22:50:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F5652BC00D; Fri, 13 May 2022 22:50:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E86EE2BC00D for ; Fri, 13 May 2022 22:50:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00FB8341AED for ; Fri, 13 May 2022 22:50:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 563064C3 for ; Fri, 13 May 2022 22:50:23 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1652482193.4385185bd024aac89dcfb48c11ecce3bb556cf4e.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/lightdm/lightdm-1.30.0-r2.ebuild x11-misc/lightdm/lightdm-1.30.0-r3.ebuild x11-misc/lightdm/metadata.xml X-VCS-Directories: x11-misc/lightdm/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 4385185bd024aac89dcfb48c11ecce3bb556cf4e X-VCS-Branch: master Date: Fri, 13 May 2022 22:50:23 +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: 6f25d101-5b9f-4246-a505-de5bbfdbfae8 X-Archives-Hash: 616e46802816740fcb7653342d02c139 commit: 4385185bd024aac89dcfb48c11ecce3bb556cf4e Author: Conrad Kostecki gentoo org> AuthorDate: Sat Apr 2 11:26:08 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri May 13 22:49:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4385185b x11-misc/lightdm: migrate to glep-81, change use flag Use flag 'non_root' renamed to 'non-root', as underscore is not allowed any more. Closes: https://bugs.gentoo.org/781554 Signed-off-by: Conrad Kostecki gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24863 Signed-off-by: Conrad Kostecki gentoo.org> ...ightdm-1.30.0-r2.ebuild => lightdm-1.30.0-r3.ebuild} | 17 +++++++---------- x11-misc/lightdm/metadata.xml | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/x11-misc/lightdm/lightdm-1.30.0-r2.ebuild b/x11-misc/lightdm/lightdm-1.30.0-r3.ebuild similarity index 88% rename from x11-misc/lightdm/lightdm-1.30.0-r2.ebuild rename to x11-misc/lightdm/lightdm-1.30.0-r3.ebuild index bd8fd0cb9b0a..5f13b6bcc1a0 100644 --- a/x11-misc/lightdm/lightdm-1.30.0-r2.ebuild +++ b/x11-misc/lightdm/lightdm-1.30.0-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools pam qmake-utils readme.gentoo-r1 systemd user vala xdg-utils +inherit autotools pam qmake-utils readme.gentoo-r1 systemd vala xdg-utils DESCRIPTION="A lightweight display manager" HOMEPAGE="https://github.com/CanonicalLtd/lightdm" @@ -13,7 +13,7 @@ SRC_URI="https://github.com/CanonicalLtd/lightdm/releases/download/${PV}/${P}.ta LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv x86" -IUSE="audit +gnome +gtk +introspection non_root qt5 vala" +IUSE="audit +gnome +gtk +introspection non-root qt5 vala" COMMON_DEPEND=" >=dev-libs/glib-2.44.0:2 @@ -31,6 +31,9 @@ COMMON_DEPEND=" ) " RDEPEND="${COMMON_DEPEND} + acct-group/lightdm + acct-group/video + acct-user/lightdm >=sys-auth/pambase-20101024-r2" DEPEND="${COMMON_DEPEND} gnome? ( gnome-base/gnome-common ) @@ -50,12 +53,6 @@ REQUIRED_USE="vala? ( introspection )" pkg_setup() { export LIGHTDM_USER=${LIGHTDM_USER:-lightdm} - if use non_root ; then - enewgroup ${LIGHTDM_USER} - enewgroup video # Just in case it hasn't been created yet - enewuser ${LIGHTDM_USER} -1 -1 /var/lib/${LIGHTDM_USER} ${LIGHTDM_USER},video - esethome ${LIGHTDM_USER} /var/lib/${LIGHTDM_USER} - fi } src_prepare() { @@ -92,7 +89,7 @@ src_configure() { local _greeter _session _user _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} _session=${LIGHTDM_SESSION:=gnome} - _user="$(usex non_root "${LIGHTDM_USER}" root)" + _user="$(usex non-root "${LIGHTDM_USER}" root)" # Let user know how lightdm is configured einfo "Gentoo configuration" einfo "Default greeter: ${_greeter}" diff --git a/x11-misc/lightdm/metadata.xml b/x11-misc/lightdm/metadata.xml index eb41c0a7d705..0dbf6a9da96c 100644 --- a/x11-misc/lightdm/metadata.xml +++ b/x11-misc/lightdm/metadata.xml @@ -7,7 +7,7 @@ Pull in the gtk+ greeter - Use non-root user by default + Use non-root user by default CanonicalLtd/lightdm