Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 17:05:50 -0400
From:      mv <mrkvrg@acm.org>
To:        freebsd-questions@freebsd.org
Cc:        new_guy <byte8bits@gmail.com>, Jeffrey Goldberg <jeffrey@goldmark.org>
Subject:   Re: portupgrade question
Message-ID:  <200904071705.51004.mrkvrg@acm.org>
In-Reply-To: <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org>
References:  <22920813.post@talk.nabble.com> <4ad871310904061859m7072d073w4e876aa6a8f7a6b1@mail.gmail.com> <4C066892-ECA3-4914-872F-A06A5D3473B1@goldmark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 April 2009 16:17:40 Jeffrey Goldberg wrote:
> On Apr 6, 2009, at 8:59 PM, Glen Barber wrote:
> > On Mon, Apr 6, 2009 at 9:55 PM, new_guy <byte8bits@gmail.com> wrote:
> >> Is there a way to use portupgrade without all the stopping for
> >> config questions?
> >
> > You could add:
> >
> >   BATCH=yes
> >
> > to /etc/make.conf.
>
> Or use the --batch command line option to portupgrade.
>
> Or use the -c option (as mentioned by someone else in this thread) to
> do all of the config questions up front.  I didn't know about that
> one.
>
> -j

Or use portconfig -a

My usual updating routine involves:

- update the ports tree using csup

- update the INDEX-x with the command "make index" in the 
directory "/usr/ports"

- download all the tarballs upfront with the command "portfetch -a -v"

- do all the configuration upfront with the command "portconfig -a"

- do an unattended compile/install of the ports with the 
command "portmaster -a -u -d -v"

The ports portconfig  & portfetch are part of sysutils/bsdadminscripts.

Portmaster can be found at ports-mgmt/portmaster.

It is possible to write a simple shell script that automatically does 
all of the above.  The only time attention is required is to enter data 
during the configuration process.

Cheers...

Marek




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