From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 08:31:42 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 310651065673 for ; Sun, 3 Aug 2008 08:31:42 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id DBE468FC16 for ; Sun, 3 Aug 2008 08:31:41 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so744378ywe.13 for ; Sun, 03 Aug 2008 01:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=T09RF0M9hqjaJhodRluUMsxNCYJxUyzCVfoawaDuP/I=; b=K1vMJolHrBw8CxA9AUA8Q20qU2PyqsHFj+a5qwzOa9mvkXxcNplYyIjeoaRcJuw/B3 hmcgRu38sTabQn6bD/EEfMq6GG4LCLwmF+UiICSX1mhkyRAP20dE2luwVoriKAIVwrU6 5MA8QI6q/g773RJ2Hcwfk0LJzfxj495zbS86k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=AP1G4fo74XTYfdeiZATV/ps8a1TU6FGt1WBEMZdObhMGlp2EDg+/A6Jch71gAg8Faj LSoZpowAzFNIFshgKEwjawPJqvERYUtTQvCMdhO8QDvLuH5zVLt3E21b1eZmfirZ6KL4 k9JOX/GafWvLEwN/61ChakR2ReNvu0rKgbJds= Received: by 10.151.45.2 with SMTP id x2mr6196079ybj.90.1217752301248; Sun, 03 Aug 2008 01:31:41 -0700 (PDT) Received: from 200-117-245-190.fibertel.com.ar ( [190.245.117.200]) by mx.google.com with ESMTPS id 9sm4979255ywf.2.2008.08.03.01.31.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Aug 2008 01:31:40 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Sun, 3 Aug 2008 05:31:35 -0300 User-Agent: KMail/1.9.7 References: <200808021550.48302.marshc187@gmail.com> <20080803160640.01940cac@ayiin> <20080803061822.GA11518@bacardi.frase.id.au> In-Reply-To: <20080803061822.GA11518@bacardi.frase.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808030531.35062.gnemmi@gmail.com> Subject: Re: gemeral questions (noobish) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2008 08:31:42 -0000 On Sunday 03 August 2008 03:18:23 Fraser Tweedale wrote: > On Sun, Aug 03, 2008 at 04:06:40PM +1000, Norberto Meijome wrote: > > On Sat, 2 Aug 2008 22:35:40 +0200 > > > > mcassar wrote: > > > so most of you _do_ use or prefer csup/cvsup more than portsnap, right? > > > > Welcome! :) > > > > yes and no :P I like portsnap. faster. > > > > For my ports, i run this script ( ~/bin/update_ports.sh) > > > > #!/bin/sh > > sudo portsnap fetch && sudo portsnap update > > > > [snip] > > Did you know you can specifiy fetch and update at the same time? > > sudo portsnap fetch update > > ...and save calling portsnap twice :) > > frase And do it via cron? [gonzalo@inferna ~]% grep port /etc/crontab # keep the port index updated and e-mail me a list of ports to update 0 3 * * * root portsnap -I cron update && pkg_version -vIL= (Im pretty sure I took that from the "The Best of FreeBSD Basics" but I can't find the original article ... I know it's buried in here somewhere though: http://www.onlamp.com/pub/ct/15... so .. Credit goes to Dru Lavigne. :) ) That results on a daily e-mail from cron that looks like this: " Cron portsnap -I cron update && pkg_version -vIL= From: Cron Daemon To: root@inferna.inferna.com.ar Date: 2008-08-01 03:07 ImageMagick-6.4.1.8 < needs updating (index has 6.4.2.5) en-openoffice.org-US-2.4.0_3 < needs updating (index has 2.4.1) ffmpeg-2007.10.04_4 < needs updating (index has 2008.07.27_1) ghostscript-gpl-8.61_4 < needs updating (index has 8.62_3) gnupg-2.0.9_1 < needs updating (index has 2.0.9_2) gnutls-2.4.1 < needs updating (index has 2.4.1_1) kaffeine-0.8.6_1 < needs updating (index has 0.8.7) kdegraphics-3.5.8_2 < needs updating (index has 3.5.8_3) libgphoto2-2.4.2 < needs updating (index has 2.4.2_1) libxine-1.1.12_1 < needs updating (index has 1.1.14) linux-doom3-1.1.1286,0 < needs updating (index has 1.3.1.1304,1) pciids-20080312 < needs updating (index has 20080726) portmaster-2.5 < needs updating (index has 2.6) samba-libsmbclient-3.0.30 < needs updating (index has 3.0.31_1) speex-1.2.b2,1 < needs updating (index has 1.2.r1_1,1)" Then I get to decide whether or not to update a port, every port or do nothing and when to do it :D BTW: I use csup for the base system and portsnap and and friends for the ports collection :) Welcome and: have fun ! -- Blessings Gonzalo Nemmi