xdm installation is weird

Anton Shterenlikht mexas at bris.ac.uk
Fri Mar 21 13:54:02 UTC 2014


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



More information about the freebsd-ports mailing list