From owner-freebsd-questions Wed Jun 6 8:14:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from everest.wananchi.com (everest.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 9D8B237B40B for ; Wed, 6 Jun 2001 08:14:45 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by everest.wananchi.com with local (Exim 3.22 #2) id 157ez4-000IMf-00; Wed, 06 Jun 2001 18:12:34 +0300 Date: Wed, 6 Jun 2001 18:12:34 +0300 From: Odhiambo Washington To: Mario Doria Cc: FBSD-Q Subject: Re: Update a package using the ports collections Message-ID: <20010606181234.R18694@everest.wananchi.com> Mail-Followup-To: Odhiambo Washington , Mario Doria , FBSD-Q References: <00a301c0ee43$d2138cd0$0a00a8c0@midgar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00a301c0ee43$d2138cd0$0a00a8c0@midgar>; from "Mario Doria" on Tue, Jun 05, 2001 at 11:47:41PM -0500 X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.3-STABLE i386 X-Mailer: Mutt http://www.mutt.org/ X-Location: Nairobi, KE, East Africa. X-Uptime: 6:04PM up 14 days, 7:09, 2 users, load averages: 0.12, 0.15, 0.14 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 * Mario Doria [20010606 07:46]: writing on the subject 'Update a package using the ports collections' Mario> Hello, Mario> Mario> How do I upgrade an existing, installed package? Let's say I had bind 8.2.5 Mario> and I needed to upgrade to 8.2.3, what would I do using the ports Mario> collection? Mario> Mario> Do I deinstall and then install with the updated port sources, or do Mario> I just "make install" again with the updated port sources? What Mario> happens with my config files? Since the config files are basically the same save for the $TTL that is required for every zone file, you can just do like this, as root of course! cd /etc cp -Rp namedb namedb.BAK #Keep a backup of your configs pkg_delete -f /var/db/pkg/bind-8.2.5 Hoping that you have CVSupped and has current ports; BTW Bind9 is what is now in the ports but doesn't matter. Use what your ports tree has. cd /usr/ports/net/bind8 make install distclean But if you install your bind elsewhere than the default, you may want to look at Makefile in that directory. HTH -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. If you cry because the sun has gone out of your life, your tears will prevent you from seeing the stars. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message