Date: Sat, 5 Feb 2022 00:49:26 GMT From: Neel Chauhan <nc@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 85f832623ad8 - main - x11/gdm: Use /usr/sbin/chown, not /sbin/chown in Xsession patches Message-ID: <202202050049.2150nQK2081430@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=85f832623ad8269c0e53f79093eee19267aaa3e6 commit 85f832623ad8269c0e53f79093eee19267aaa3e6 Author: Neel Chauhan <nc@FreeBSD.org> AuthorDate: 2022-02-05 00:49:26 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202050049.2150nQK2081430>