Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Sep 2003 13:45:03 +0200
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: xdm config files overwritten after upgrading Xfree86-clients from ports
Message-ID:  <3F58773F.6040309@ant.uni-bremen.de>
In-Reply-To: <20030905111001.GA77412@happy-idiot-talk.infracaninophile.co.uk>
References:  <3F586C9A.1010805@ant.uni-bremen.de> <20030905111001.GA77412@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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