summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-03-20 00:18:36 +0000
committerWill Andrews <will@FreeBSD.org>2002-03-20 00:18:36 +0000
commita812ba255d5151d920c3cf26ba93e59251673d10 (patch)
treea5e94c082dfa819787e1fc31903464a651b35492
parentUpgrade to version 1.3.2, now hosted on Sourceforge. (diff)
Add fix for XDM: Use SU="su -m" instead of SU="su", otherwise given the
default setup for the "nobody" account, login will fail. PORTREVISION bumped to include this fix for XFree86-4-clients. PR: 36084 Submitted by: Stefan `Sec` Zehl <sec@42.org>
-rw-r--r--x11/XFree86-4-clients/Makefile2
-rw-r--r--x11/XFree86-4-libraries/files/patch-xdm-config11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile
index 3b5f056bfa8d..c05a3bc87817 100644
--- a/x11/XFree86-4-clients/Makefile
+++ b/x11/XFree86-4-clients/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clients
PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE} \
ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \
diff --git a/x11/XFree86-4-libraries/files/patch-xdm-config b/x11/XFree86-4-libraries/files/patch-xdm-config
new file mode 100644
index 000000000000..8cb26a8ae894
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-xdm-config
@@ -0,0 +1,11 @@
+--- programs/xdm/config/Imakefile.org Sun Nov 25 13:49:19 2001
++++ programs/xdm/config/Imakefile Tue Mar 19 18:11:50 2002
+@@ -28,7 +28,7 @@
+ XDMPIDDIR = $(XDMDIR)
+ #endif
+
+-#if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture)
++#if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture)
+ SU = "su -m"
+ #else
+ SU = su