Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2007 18:07:46 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        Josh Paetzel <josh@tcbug.org>, freebsd-stable@freebsd.org, Shaun Branden <shaun@pcuse.com>
Subject:   Re: updating xorg-libraries 7.2 to 7.2.1
Message-ID:  <4659BAE2.6040107@infracaninophile.co.uk>
In-Reply-To: <4659AF0B.3030307@math.missouri.edu>
References:  <20070527125334.GA81644@pcuse.com>	<20070527132131.GW47537@tcbug.org> <46598F2E.50004@infracaninophile.co.uk> <4659AF0B.3030307@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Stephen Montgomery-Smith wrote:
> Matthew Seaman wrote:

>> Josh Paetzel wrote:
>>> Shaun Branden wrote:

>>>> xorg 7.2 was installed on this system from scratch, ie no ports to
>>>> start
>>>> with.
>>     sh /usr/ports/Tools/scripts/mergebase.sh
>>
>> before proceeding to install whatever ports you want.

> My experience is that simply having the symlink /usr/X11R6->/usr/local
> is totally sufficient.
> 
> However it seems to me that what the port building procedure should now
> do is the following:
> 
> * if /usr/X11R6 exists as a directory, it should issue an error message
> like it does now.
> 
> * if /usr/X11R6 doesn't yet exist, silently create the symlink.
> 
> This will mirror how it used to behave, in that if /usr/local or
> /usr/X11R6 did not exist, they would be created as needed.

Oh, agreed to that.  However, there are still more changes needed
beyond that:

Stopping the system running periodic jobs from /usr/X11R6/etc/periodic

Stopping the system running startup scripts from /usr/X11R6/etc/rc.d

Stopping the system searching for manpages from /usr/X11R6/man

The last is fairly trivial, but realise that the first two mean that
with the /usr/X11R6 -> /usr/local link in place all
/usr/local/etc/periodic jobs would get run twice, and even more
importantly all /usr/local/etc/rc.d/ startup scripts would also run
twice.

Until there are new system releases incorporating the necessary changes
in /etc/defaults/rc.conf and /etc/defaults/periodic.conf it will be
necessary to override some of the default settings.  In /etc/rc.conf:

   local_startup="/usr/local/etc/rc.d"

In /etc/periodic.conf:

   local_periodic="/usr/local/etc/periodic"

and for completeness sake, comment out the 'X11R6' lines in
/etc/manpath.conf

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGWbri8Mjk52CukIwRCI9IAJ9ENBHBtRtxaiheAjAOyfo2PBadKACfQhn7
GcCE3wr0BoZEX9a6NgeTEHk=
=ZTdB
-----END PGP SIGNATURE-----



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