Date: Fri, 21 Jun 2002 13:58:06 +0900 From: Makoto Matsushita <matusita@jp.FreeBSD.org> To: arch@FreeBSD.org Subject: Installing XFree86 package via sysinstall: need X wrapper or not? Message-ID: <20020621135806Z.matusita@jp.FreeBSD.org>
index | next in thread | raw e-mail
I've heard that some users forget to install X wrapper while
installing FreeBSD to a fresh PC. As a result, they can't run X
server with startx. When our X distribution was XFree86 3.x, there was
no problem with startx since X server has a suid bit -- for newbies,
current sysinstall breaks some compatibilities.
We can fix this by RUN_DEPENDS lines of ports/x11/XFree86-4/Makefile.
However, it makes another problem that "hey, XFree86-4 ports install X
wrapper which I don't used, no thankyou."
IMHO this problem can be treated as "problem while installing XFree86
via sysinstall," here is a patch to teach sysinstall to install the X
wrapper package after XFree86 package is installed.
Any comments and objections are welcome. If there is no objection,
I'll commit it later (maybe next week or so).
-- -
Makoto `MAR' Matsushita
Index: install.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/install.c,v
retrieving revision 1.321
diff -u -r1.321 install.c
--- install.c 2 Apr 2002 20:42:52 -0000 1.321
+++ install.c 21 Jun 2002 04:56:18 -0000
@@ -880,6 +880,9 @@
dialog_clear_norefresh();
msgNotify("Installing XFree86 package...");
i = package_add("XFree86-4");
+ if (DITEM_STATUS(i) == DITEM_SUCCESS) {
+ i |= package_add("wrapper");
+ }
restorescr(w);
return i;
}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621135806Z.matusita>
