Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 11:56:25 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        ports@freebsd.org
Subject:   Re: Updating perl entries in make.conf (via package)
Message-ID:  <20070115115625.smdrjfrr44wsc8kc@webmail.leidinger.net>
In-Reply-To: <45AAF515.8050101@isc.org>
References:  <45AAF515.8050101@isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Peter Losher <Peter_Losher@isc.org> (from Sun, 14 Jan 2007 =20
19:29:25 -0800):

> Hi,
>
> I am updating several 5.x machines, and in the process updating the perl
> packages from 5.6.x to 5.8.x.  What I have noticed is that if you are
> installing a package on a new system, the package installs the symlinks
> in /usr/bin and puts the Perl env variables in /etc/make.conf (as expected=
).
>
> However, when updating (via pkg_delete -a, then pkg_add or portupgrade)
> the symlinks aren't maintained and the perl variables are not modified.
>  And the use.perl script seems to no longer exist (or I'd just have
> portupgrade run 'use.perl port' after updating the perl package)
>
> Is there a new/better way that perl is updated via packages so that the
> symlinks are maintained and the entries in /etc/make.conf are updated
> with the new perl version?

While we are at it: I want to add that updating stuff in/usr/bin fails =20
with a read-only base system.

In my case I have jails where the basesystem is a RO nullfs mount. It =20
is shared between all jails. In case someone wants to reproduce it, =20
you just have to use ezjails (it is in the ports collection) to create =20
jails. You just need to add a path with enough free space to the =20
config, add an additional IP to the machine and then run "ezjail-admin =20
create ..." (please consult the man page for options to use a prebuild =20
world and how specify the IP to use).

Bye,
Alexander.

--=20
No small art is it to sleep: it is necessary
for that purpose to keep awake all day.
=09=09-- Nietzsche

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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