From nobody Sat Feb 5 00:49:26 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F1B9E19885A0; Sat, 5 Feb 2022 00:49:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JrDLt6Rnnz3jqD; Sat, 5 Feb 2022 00:49:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644022166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FlbgPCmMOxmdVfzbzkIXFJC0M3TNSgf7enpCuhIC7R0=; b=QcHZysFDkCnQZKLEdvzAKyY89zLK4/14hxZy+1KhjX4K7Cw4u2KsGXhOUm6tDJ7dyO1si0 FsXgWVyXOGMDh6FKPzm+aqFtNP7Gv9ljGzJ9XzbALRyrgt/XThCPQB4fPltbl3HiMRzYtA 1a2auArx904m/MzqBjzaMMIbfcuD/q690lPS4Xxnz9QU0+BXOzEhENsS4fdW7mvnzKqlfF vwlGyMUsEEwp10QIBZJRpRX/Tii5YDFxVTZ1eDn9/NlRQAJtLM5RESJE+jmTwUPI6bIviI FzTo8byCFTdVonM1k6wtzXvIRMsszBIVxxbSHB/wPdTxkxGmbcCMZCf6Lkh0sw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BDE4B15E23; Sat, 5 Feb 2022 00:49:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2150nQQD081431; Sat, 5 Feb 2022 00:49:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2150nQK2081430; Sat, 5 Feb 2022 00:49:26 GMT (envelope-from git) Date: Sat, 5 Feb 2022 00:49:26 GMT Message-Id: <202202050049.2150nQK2081430@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: 85f832623ad8 - main - x11/gdm: Use /usr/sbin/chown, not /sbin/chown in Xsession patches List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85f832623ad8269c0e53f79093eee19267aaa3e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644022166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FlbgPCmMOxmdVfzbzkIXFJC0M3TNSgf7enpCuhIC7R0=; b=XzVJh9AbU1g1O85Ov+vZ9YorGk+1j9HmUaOZTZTqgXx4TnHOQZ6jnO6Sg0FXM7zYWyS0PS 6F/Gnf3vM5PHU0npyzNCog7I3MZ+R30aLgLwmeOiPuuI5By0fvtsnsYgYaS5TPQ4TVpcDC sBKU5DYrpZ+k47iXBraOQ3zHepnCvFFOdv9R154T7Nq3/O2wWvkocK5mjSSY6g5e4Q8hu0 3OLCiBw9p8/fPtyV2YF9iclZN9h2aYvM3cSZ0wtiKHiEwF28SFTzERkVhlfOLSTuMMJeib 64FrILp7ulo51pLqUgmW2bz7Bf6onPTfxgO5fJ5ynRsAOU70pJ6q8gu+icXT1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644022166; a=rsa-sha256; cv=none; b=sod2FLn5Tu7iVbU//svFIGRp0/LaDNKdBszyXTvA7tEuYQTTHV0JLCivUbK2a1ivrurkYo qjecDeK1DixQmTY7Vsv/JoQpY/pKD0rh94n/w9vOwWDc9SR7NNqizpwU2aP2BbDfcM6Gai BDPDrAjMdXCaWOuMAeX2gKoo+5P3VO0I39R04OxZk9vsu2ja4nAcOfce8IFD3kaj3raP5w evZMZ0XYi+rD8ln2Np809aHezyn2O2T5gEGmJ48hhbjcQw8q+Y4cu4UPOKdB2VU5Vr2Rwp N7uG7RaSZKzBjwZCRRWWYXRAdJqS8JYyYF0JwysPTnfpE7P3cD7/pha3atCpLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=85f832623ad8269c0e53f79093eee19267aaa3e6 commit 85f832623ad8269c0e53f79093eee19267aaa3e6 Author: Neel Chauhan AuthorDate: 2022-02-05 00:49:26 +0000 Commit: Neel Chauhan CommitDate: 2022-02-05 00:49:26 +0000 x11/gdm: Use /usr/sbin/chown, not /sbin/chown in Xsession patches --- x11/gdm/Makefile | 2 +- x11/gdm/files/patch-data_Init.in | 4 ++-- x11/gdm/files/patch-data_PostSession.in | 4 ++-- x11/gdm/files/patch-data_PreSession.in | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 6aa6d9056615..3e4ea839fa38 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -2,7 +2,7 @@ PORTNAME= gdm PORTVERSION= 41.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome diff --git a/x11/gdm/files/patch-data_Init.in b/x11/gdm/files/patch-data_Init.in index 3b330208b754..ec1ed65598d1 100644 --- a/x11/gdm/files/patch-data_Init.in +++ b/x11/gdm/files/patch-data_Init.in @@ -55,10 +55,10 @@ + +# /usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/etc/X11/xenodm/GiveConsole, fbtab(5) +if [ -c /dev/dri/card0 ]; then -+ /sbin/chown _gdm /dev/dri/card0 ++ /usr/sbin/chown _gdm /dev/dri/card0 +fi +if [ -c /dev/dri/renderD128 ]; then -+ /sbin/chown _gdm /dev/dri/renderD128 ++ /usr/sbin/chown _gdm /dev/dri/renderD128 +fi +# XXX OpenBSD needs an implementation of XDG_RUNTIME_DIR +rm -rf /var/db/gdm/.cache/gnome-shell/runtime-state-* diff --git a/x11/gdm/files/patch-data_PostSession.in b/x11/gdm/files/patch-data_PostSession.in index a7d5626f8e1c..bcb06fbdcc99 100644 --- a/x11/gdm/files/patch-data_PostSession.in +++ b/x11/gdm/files/patch-data_PostSession.in @@ -5,10 +5,10 @@ +# /usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/etc/X11/xenodm/TakeConsole, fbtab(5) +if [ -c /dev/dri/card0 ]; then -+ /sbin/chown root /dev/dri/card0 ++ /usr/sbin/chown root /dev/dri/card0 +fi +if [ -c /dev/dri/renderD128 ]; then -+ /sbin/chown root /dev/dri/renderD128 ++ /usr/sbin/chown root /dev/dri/renderD128 +fi + exit 0 diff --git a/x11/gdm/files/patch-data_PreSession.in b/x11/gdm/files/patch-data_PreSession.in index 4c38db5f77ca..f6731620e957 100644 --- a/x11/gdm/files/patch-data_PreSession.in +++ b/x11/gdm/files/patch-data_PreSession.in @@ -7,8 +7,8 @@ + +# /usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/etc/X11/xenodm/GiveConsole, fbtab(5) +if [ -c /dev/dri/card0 ]; then -+ /sbin/chown $USER /dev/dri/card0 ++ /usr/sbin/chown $USER /dev/dri/card0 +fi +if [ -c /dev/dri/renderD128 ]; then -+ /sbin/chown $USER /dev/dri/renderD128 ++ /usr/sbin/chown $USER /dev/dri/renderD128 +fi