From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 00:05:42 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 D4FA616A406 for ; Tue, 13 Mar 2007 00:05:42 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5A32B13C4AD for ; Tue, 13 Mar 2007 00:05:42 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l2D05gJQ066182; Mon, 12 Mar 2007 16:05:42 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l2D05gRI066181; Mon, 12 Mar 2007 16:05:42 -0800 (PST) (envelope-from kline) Date: Mon, 12 Mar 2007 16:05:42 -0800 From: Gary Kline To: Gary Kline Message-ID: <20070313000541.GB65947@thought.org> References: <20070312194100.GA17033@thought.org> <20070312160500.173fe5cf@localhost> <20070312213432.GC76034@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070312213432.GC76034@thought.org> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: freebsd-questions@freebsd.org Subject: On /etc/portsnap.conf (was: 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: Tue, 13 Mar 2007 00:05:42 -0000 On Mon, Mar 12, 2007 at 01:34:32PM -0800, Gary Kline wrote: > On Mon, Mar 12, 2007 at 04:05:00PM -0400, Gerard Seibert wrote: > > On Mon, 12 Mar 2007 11:41:00 -0800 > > Gary Kline wrote: > > > > > Anybody have an automatic (/etc/crontab) method of keeping > > > 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 > > > -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. > > > > > > 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. > > Gotta check out portsnap. There's got to be some means of > automating most of this. Some human intervention may always' > be required (else: "Why am I here?" :). But hopefully a min. > Hmmm. Well, I've replied to several of my own posts, but haven't felt this clumy in a long time. portsnap will replace my cvsup'ing ports after umpteen years. It may only be with the 6.2 portsnap, bit it would gripe without /etc/portsnap.conf. My fumble was in typing /etc/portsnap (sic) and wondering WTF was going on. After an hour+ I cd'd to /etc and saw the problem. Looks like with the default version built from /usr/src/usr.sbin/portsnap, you must have the config file with ^SERVERNAME=ftpN.freebsd.org and ^KEYPRINT="random, 64-chars output by sha256". I still hunt and peck; usally not this careless. Hope this helps a few people. gary > thanks, > > gary > > > > > > -- > > Gerard > > > > If you are afraid of loneliness, don't marry. > > > > Anton Chekov > > > > -- > Gary Kline kline@thought.org www.thought.org Public Service Unix > > _______________________________________________ > 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" -- Gary Kline kline@thought.org www.thought.org Public Service Unix