From owner-freebsd-questions Wed Jun 26 13:44:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 813E437CE5D for ; Wed, 26 Jun 2002 13:32:57 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 730FF471DA; Wed, 26 Jun 2002 13:32:56 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id D8B4CFEBE; Wed, 26 Jun 2002 13:32:54 -0700 (PDT) Message-ID: <3D1A24F6.23334189@pantherdragon.org> Date: Wed, 26 Jun 2002 13:32:54 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Wilk Cc: FreeBSD-Questions Subject: Re: Updating my ports tree? References: <3D19267F.8A2FCFE5@pantherdragon.org> <20020626121013.C10404@cygnus.wks.Gallup.cia-g.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Wilk wrote: > > Darren, > > I'm about to start the same process, and being new to FreeBSD, was wondering > what you did and how it worked out for you. I installed cvsup from ports, copied /usr/share/examples/ports-supfile to /root, editted it (the only change I made was to specify a server), then said: cvsup -L 2 /root/ports-supfile It then downloaded the current ports tree. When it was done, I installed portupgrade and said: portsdb -uU pkgdb -F After that, I got a list of the outdated ports by saying: pkg_version -vL '=' NOTE: If you're running courier-imap from ports and you update it using portupgrade, you will need to stop the courier services and backup the configuration files and SSL certificates. I didn't do this and make deinstall only partially removed the old courier-imap port. I then had to edit the +CONTENTS file for the old courier-imap port and run pkg_delete again. It was a big pain. These are the files that should be moved to a different directory (like /root), they are your configuration files, so don't just delete them: /usr/local/etc/courier-imap/authdaemonrc /usr/local/etc/courier-imap/imapd /usr/local/etc/courier-imap/imapd-ssl /usr/local/etc/courier-imap/imapd.cnf /usr/local/etc/courier-imap/pop3d /usr/local/etc/courier-imap/pop3d-ssl /usr/local/etc/courier-imap/pop3d.cnf /usr/local/share/courier-imap/pop3d.pem /usr/local/share/courier-imap/imapd.pem You should also make sure /usr/local/var/authdaemon/ is empty. You will want to make sure there are no running authdaemond instances running before clearing out this directory, though. Issuing the stop command to all couriertcpd processes should take care of this for you. > On Tue, Jun 25, 2002 at 07:27:11PM -0700 or thereabouts, Darren Pilgrim wrote: > > Aaron Burke wrote: > > > > From: Darren Pilgrim > > > > > > > > I have a 4.5-R machine for which I'd like to update my ports tree. > > > > I really just want the current openssh-portable port, but I figure I > > > > might as well update the whole tree while I'm at it. Do I need to > > > > fetch the tree for -stable, or do I just fetch it from the default in > > > > the example supfile (which is .)? > > > > > > They are not the same supfiles. Also the ports are constantly changing. > > > I use the supfile from /usr/share/examples/cvsup/ports-supfile. The only > > > thing that needs changing is the cvsup server. I also copied this file > > > to /root. Just make the changes and run > > > "cvsup -g -L 2 /root/ports-supfile" to get the new ports installed. > > > > Thanks for your reply, but I managed to get it to work before anyone > > replied. Right now I'm installing portupgrade and will be upgrading > > all the installed ports. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message