From owner-freebsd-ports@FreeBSD.ORG Fri Mar 21 13:54:02 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91493289 for ; Fri, 21 Mar 2014 13:54:02 +0000 (UTC) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDBFDC95 for ; Fri, 21 Mar 2014 13:54:01 +0000 (UTC) Received: from mail-wi0-f172.google.com ([209.85.212.172]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKUyxEcgRjPdeoz+3+DtpMpkgOUd5Ib0kw@postini.com; Fri, 21 Mar 2014 13:54:01 UTC Received: by mail-wi0-f172.google.com with SMTP id hi5so516878wib.17 for ; Fri, 21 Mar 2014 06:53:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to; bh=03ShKMLwP+gor6C4C/rB9q4kNZmZSluvTj5XKtW8CYQ=; b=kj2M6KKMf4hMlPPst2X3HCH+Xmch3bkh4ILwImg4sMytBxzy/Vf73CnXblZf7v1mbe tM0VWB/pYhjuOEJVgp5Bd1Wpv59XbCwINR9PiauLG/jAhwIwcGGTOvn0WKKLlqiTaPFx I58k/YHcyTo5yvWxGdeblmgPmrQIyyTuky+lt+VEYtxSolWDENITgM+P4TwonoBiTgQT SODH8y0D+gV27M3PXoQqb2tic+wbQ9O1ewarX64xEb9AKnFTbFLrrYDS6JiFz+ptBb4I TGa01CrNtAxnpWIOyTgs8Y3aL5V8VLKfax+bOA08LE8wwS4Vvvc7Gkz7pzm//2iAH9ag 5gfg== X-Gm-Message-State: ALoCoQkzxrcn7269GzHvH1XzH0WZAYgAqqZCT9nJAxP6238S0qs8oDUmx2T1CQGRO0nUNgeBrjPV0MkOC/ZfAes50LMDrt/vR+NYIaM0b47SnzGNqJ3fipqMWWKPWUrlOOtQkVhvx1OlLqDsq2/x97V3XvUUrZYoS2CzGZcqsVmXIxlAepxH140= X-Received: by 10.194.203.2 with SMTP id km2mr2053689wjc.72.1395410034452; Fri, 21 Mar 2014 06:53:54 -0700 (PDT) X-Received: by 10.194.203.2 with SMTP id km2mr2053676wjc.72.1395410034268; Fri, 21 Mar 2014 06:53:54 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id ju6sm13476385wjc.1.2014.03.21.06.53.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Mar 2014 06:53:53 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6) with ESMTP id s2LDrp9F005628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Mar 2014 13:53:51 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6/Submit) id s2LDrpgg005627; Fri, 21 Mar 2014 13:53:51 GMT (envelope-from mexas) Date: Fri, 21 Mar 2014 06:53:53 -0700 (PDT) From: Anton Shterenlikht Message-Id: <201403211353.s2LDrpgg005627@mech-cluster241.men.bris.ac.uk> To: x11@freebsd.org Subject: xdm installation is weird Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 13:54:02 -0000 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