From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 13:43:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D1BA1065675 for ; Thu, 18 Dec 2008 13:43:16 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id 58B0B8FC2B for ; Thu, 18 Dec 2008 13:43:14 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.130] (unknown [192.168.1.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 35692E8941; Thu, 18 Dec 2008 13:43:02 +0000 (WET) Message-ID: <494A5363.7090501@gmail.com> Date: Thu, 18 Dec 2008 13:42:59 +0000 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: RW References: <20081218124318.09f16d42@gumby.homeunix.com> In-Reply-To: <20081218124318.09f16d42@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pieter Donche , freebsd-questions@freebsd.org Subject: Re: portsnap and portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 13:43:16 -0000 RW wrote: > On Thu, 18 Dec 2008 11:08:44 +0100 (CET) > Pieter Donche wrote: > > >> ( decompress to /usr/ports ) >> # portsnap extract >> >> ( it is not clear to me if this is correct if one already has >> a /usr/ports created during sysinstall .. ) > > You need the extract so that the tree is exactly matched to the > snapshot and the correct metadata is created, it's installing the > tree from disk that's not needed. > >> In root /etc/crontab, shedule daily updates of /var/db/portsnap : >> 0 3 * * * root /usr/sbin/portsnap cron >> >> ... >> b. For every future upgrade of gv (using portupgrade): >> b.1. ( update ports collection ) >> # portsnap update >> ... >> b.5. do the port upgrade >> # portupgrade -R gv >> >> b.6. install the updated version of ghostview >> # cd /usr/ports/print/gv >> # make install clean > > You don't need the last step, that's what portupgrade does. > > For the most part it's better to bring all you ports up-to date if you > can, rather than doing it piecemeal. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Also use portaudit to check for security issues with installed ports. # portaudit -Fda (fecth the updated audit database and check your ports against it)