Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2014 06:53:53 -0700 (PDT)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        x11@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   xdm installation is weird
Message-ID:  <201403211353.s2LDrpgg005627@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
x11/xdm installs example config files
under /usr/local/share/examples/xdm/
and pkg records this:

TZAV> pkg info -xl xdm
xdm-1.1.11:
        /usr/local/bin/xdm
        /usr/local/lib/X11/xdm/authdir
        /usr/local/lib/X11/xdm/chooser
        /usr/local/lib/X11/xdm/libXdmGreet.la
        /usr/local/lib/X11/xdm/libXdmGreet.so
        /usr/local/lib/X11/xdm/pixmaps/xorg-bw.xpm
        /usr/local/lib/X11/xdm/pixmaps/xorg.xpm
        /usr/local/man/man1/xdm.1.gz
        /usr/local/share/X11/app-defaults/Chooser
        /usr/local/share/examples/xdm/GiveConsole
        /usr/local/share/examples/xdm/TakeConsole
        /usr/local/share/examples/xdm/Xaccess
        /usr/local/share/examples/xdm/Xreset
        /usr/local/share/examples/xdm/Xresources
        /usr/local/share/examples/xdm/Xservers
        /usr/local/share/examples/xdm/Xsession
        /usr/local/share/examples/xdm/Xsetup_0
        /usr/local/share/examples/xdm/Xstartup
        /usr/local/share/examples/xdm/Xwilling
        /usr/local/share/examples/xdm/xdm-config
        /usr/local/share/licenses/xdm-1.1.11/LICENSE
        /usr/local/share/licenses/xdm-1.1.11/MIT
        /usr/local/share/licenses/xdm-1.1.11/catalog.mk
TZAV>

However, in addition, all example files
are also installed under
/usr/local/lib/X11/xdm/, and this
is not recorded by pkg.
This seems to be a problem.
Because any local change to the config
files is lost on update or reinstallation.

It would probably be better
not to copy and example config
files under /usr/local/lib/X11/xdm/.
Instead xdm installation should
inform the user to copy, and modify,
if needed the example scripts to
that directory.

Then on update/reinstall the actual
config files are not affected.

I've submitted a PR on this 2 years ago:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169794

Am I the only one who uses XDMCP,
i.e. has to modify the default
config settings, and therefore
is affected by this issue?

Any comments?

Anton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403211353.s2LDrpgg005627>