From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 04:45:06 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF6B16A4BF; Fri, 5 Sep 2003 04:45:06 -0700 (PDT) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B75743FF3; Fri, 5 Sep 2003 04:45:04 -0700 (PDT) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de ident=rebehn) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.14) id 19vF1T-0004gu-Rr; Fri, 05 Sep 2003 13:45:03 +0200 Message-ID: <3F58773F.6040309@ant.uni-bremen.de> Date: Fri, 05 Sep 2003 13:45:03 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Seaman References: <3F586C9A.1010805@ant.uni-bremen.de> <20030905111001.GA77412@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030905111001.GA77412@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: freebsd-questions Subject: Re: xdm config files overwritten after upgrading Xfree86-clients from ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 11:45:06 -0000 Matthew Seaman wrote: > On Fri, Sep 05, 2003 at 12:59:38PM +0200, Heinrich Rebehn wrote: > >>Hi lists, >> >>I upgraded Xfree86-clients from ports using portupgrade today and noticed >>that xdm was no longer working afterwards. >>After some searching i found that the config files in >>/usr/X11R6/lib/X11/xdm had been overwritten. >> >>Since i had a similar problem with another port the other day, i want to >>ask: >> >>- Is this expected behaviour? >>- Should i manually inspect my config files after each portupgrade? >>- Or is this just a bug in XFree86-clients (and possibly some other ports)? >> >>Luckily, my changes to the config files were only minor, so i did not have >>to restore them from tape :-) >> >>Anyway it's annoying.. > > > Yes, I've been bitten by this in the past. In theory you can avoid > re-installing the xdm config files by: > > % make install InstallXdmConfig=NO > > or by adding that variable to the MAKE_ARGS array in > /usr/local/etc/pkgtools.conf is you're a portupgrade(1) user. > However, I just keep a backup copy of the /usr/X11R6/lib/X11/xdm > directory handy: > > # cd /usr/X11R6/lib/X11/ > # rsync -avx --delete xdm/ xdm.bak/ > > Cheers, > > Matthew > Ok, this would help for xdm. I wonder however, how many other packages are out there with similar behaviour and what other directories i should have a copy of handy. Or, to put it this way: I would like a port/package system that i can rely on :-) - Heinrich