From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 20:05:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22D2F16A402 for ; Mon, 12 Mar 2007 20:05:05 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id DB9E813C465 for ; Mon, 12 Mar 2007 20:05:04 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so1691713wxc for ; Mon, 12 Mar 2007 13:05:04 -0700 (PDT) Received: by 10.70.131.20 with SMTP id e20mr11342930wxd.1173729904366; Mon, 12 Mar 2007 13:05:04 -0700 (PDT) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id h16sm6057001wxd.2007.03.12.13.05.03; Mon, 12 Mar 2007 13:05:03 -0700 (PDT) Date: Mon, 12 Mar 2007 16:05:00 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070312160500.173fe5cf@localhost> In-Reply-To: <20070312194100.GA17033@thought.org> References: <20070312194100.GA17033@thought.org> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_pXDiB3wrex8Lo=u0KI+KDZ8"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: what "port*" string can I crontab that will *work*? 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: Mon, 12 Mar 2007 20:05:05 -0000 --Sig_pXDiB3wrex8Lo=u0KI+KDZ8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 12 Mar 2007 11:41:00 -0800 Gary Kline wrote: > Anybody have an automatic (/etc/crontab) method of keeping=20 > ports current? I'm almost done upgrading my 5 systems to > 6.2 (to be able to grab valid packages) and tried portupgrade > with several variants of flags/switches. portuprade with=20 > -rpfP wound up recycling my packages most of the time. [?] > I've starting to think that there may be no way of doing this > automatically. portmanager -b -u -l may be better:: dunno. >=20 > thanks for some insights here, Actually, I use something like that. I created a script that runs both portsnap and portmanager. #!/bin/sh /usr/sbin/portsnap cron update /usr/local/bin/portmanager -u -l -p I call this script from CRON once a week. It seems to work quite well. If you have a MAILTO in CRON, it will even give you a print out of what transpired. You can just send output to /dev/null of course. Do make sure you have the latest version of 'portmanager' installed. It was recently updated. You cannot update it using itself. You must use the 'make install && make clean' method. If you are not familiar with 'portsnap', just read the manual. --=20 Gerard If you are afraid of loneliness, don't marry. Anton Chekov --Sig_pXDiB3wrex8Lo=u0KI+KDZ8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFF9bJsFCqdq4D1ybYRAk1fAJ9UjmT1x7hW0beCcxpKOdCkSve8zgCg4b/w HBC/NEcYAXyUGOnfxPwJGm8= =rJ+g -----END PGP SIGNATURE----- --Sig_pXDiB3wrex8Lo=u0KI+KDZ8--