Thursday, February 27, 2025

MAINTAINER FIX: x11/emwm-utils add SUID to xmsm and xmsession

Index: x11/emwm-utils/Makefile
===================================================================
RCS file: /cvs/ports/x11/emwm-utils/Makefile,v
diff -u -r1.1.1.1 Makefile
--- x11/emwm-utils/Makefile 23 Aug 2024 06:03:38 -0000 1.1.1.1
+++ x11/emwm-utils/Makefile 28 Feb 2025 01:49:29 -0000
@@ -1,6 +1,7 @@
COMMENT = session manager and a toolchest-like application launcher

V = 1.2
+REVISION = 1
DISTNAME = emwm-utils-src-${V}
PKGNAME = emwm-utils-${V}

@@ -28,5 +29,9 @@
RCDIR=${WRKINST}${PREFIX}/lib/X11

NO_TEST = Yes
+
+# xmsession and xmsm need suid to lock properly
+post-install:
+ chmod u+s ${PREFIX}/bin/{xmsm,xmsession}

.include <bsd.port.mk>
Hello ports@

Attached is a diff to set SUID on xmsm and xmsession which fixes the
locking/logout/poweroff/shutdown errors. This also bumps REVISION to
1.

OK to merge? (Could this also be backported to -stable as well?)

--
iz (she/her)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org

No comments:

Post a Comment