Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 10:38:04 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Portupgrade and skipping ports?
Message-ID:  <20030129103803.GB65088@catflap.home.slightlystrange.org>
In-Reply-To: <20030129030633.GA4512@evertek.net>
References:  <20030129030633.GA4512@evertek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 28, 2003 at 09:06:33PM -0600, Mike Dean wrote:
> I would like to know if there is a way to have portupgrade update all
> ports, except a select few that I want to remain "frozen"
> (OpenOffice.org, simply because I no longer have the free space to
> rebuild it).  It looks like I may be able to do something with the -B
> switch, but the documentation seems to be a bit lacking as to exactly
> how to use this switch.  Does anyone have any examples of how to
> accomplish what I want?

If this is to be a "permanent" freeze, you could put it in to the 
/usr/local/etc/pkgtools.conf.  Look for "HOLD_PKGS".  It defines an
array of name globs that expand to the name of the held ports.  For
example, I use Exim 3 and don't want to have it upgraded to 4, so my
HOLD_PKGS looks like this:

 HOLD_PKGS = [
    'bsdpan-*',
    'exim*',
  ]

The bsdpan one seems to be there by default.

Dan

> 
> Thanks,
> Mike
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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