From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8B39A1393E9 for ; Sat, 31 May 2014 16:02:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFB4FE0881; Sat, 31 May 2014 16:02:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76217E0881 for ; Sat, 31 May 2014 16:02:54 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EA2533FDD4 for ; Sat, 31 May 2014 16:02:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 28AF5181A9 for ; Sat, 31 May 2014 16:02:52 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1401548936.ce09fda49a9f4ec94f85d0f1475ce9b8572be04f.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/ X-VCS-Repository: proj/qt X-VCS-Files: x11-misc/sddm/sddm-9999.ebuild X-VCS-Directories: x11-misc/sddm/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: ce09fda49a9f4ec94f85d0f1475ce9b8572be04f X-VCS-Branch: master Date: Sat, 31 May 2014 16:02:52 +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-Archives-Salt: c0e37940-3af7-4a35-a519-723c5549c07e X-Archives-Hash: 2365d6cd06c4744c1e14530c4192b86c commit: ce09fda49a9f4ec94f85d0f1475ce9b8572be04f Author: Elias Probst eliasprobst eu> AuthorDate: Sat May 31 15:08:56 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sat May 31 15:08:56 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=ce09fda4 [x11-misc/sddm] Add user/group creation Upstream introduced support for running SDDM as non-root user in https://github.com/sddm/sddm/commit/484395d23f2cdbde9df5d1efb25d5d2751b43aa9 Package-Manager: portage-2.2.10 --- x11-misc/sddm/sddm-9999.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index 21df8f3..89850bc 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -3,7 +3,7 @@ # $Header: $ EAPI=5 -inherit cmake-utils git-r3 toolchain-funcs +inherit cmake-utils git-r3 toolchain-funcs user DESCRIPTION="Simple Desktop Display Manager" HOMEPAGE="https://github.com/sddm/sddm" @@ -48,3 +48,8 @@ src_configure() { ) cmake-utils_src_configure } + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/sddm ${PN} +}