From owner-freebsd-hackers Sun Sep 26 5: 5:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 4715614BE2 for ; Sun, 26 Sep 1999 05:05:20 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id BAA50540; Sun, 26 Sep 1999 01:23:52 +0100 (BST) (envelope-from nik) Date: Sun, 26 Sep 1999 01:23:52 +0100 From: Nik Clayton To: Christian Carstensen Cc: Chris Costello , freebsd-hackers@FreeBSD.ORG Subject: Re: updating packages automatically... Message-ID: <19990926012352.A49346@catkin.nothing-going-on.org> References: <19990925180201.C76486@holly.calldei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Christian Carstensen on Sun, Sep 26, 1999 at 01:11:32AM +0200 Organization: FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 26, 1999 at 01:11:32AM +0200, Christian Carstensen wrote: > On Sat, 25 Sep 1999, Chris Costello wrote: > > Aah! No! I tried that with GNOME once and it drove me insane > > for about two weeks. > > > > Auto-upgrades on ports would be _very_ _very_ bad, especially > > for those using apache from ports! > > that's right. i thought about having some kind of exclude list for ports > that shall never be upgraded automatically. anyway, the script will just > generate a shell script output. it should not replace packages without > manual intervention. If you're interested, I've got patches for sysutils/pkg_version that support a '-c' flag (for 'commands') that show you the commands you should run to update any out of date ports. I cron this and mail the output out once a week. You could have it automatically create and execute a shell script if you wanted. Sample output from one of my boxes is: # # ORBit # needs updating (index has 0.4.93) # cd /usr/ports/devel/ORBit make clean all pkg_delete -f ORBit-0.4.3 make install # # docbook-xml # needs updating (index has 3.1.5) # cd /usr/ports/textproc/docbook-xml make clean all pkg_delete -f docbook-xml-3.1.4 make install # # fetchmail # needs updating (index has 5.0.8) # cd /usr/ports/mail/fetchmail make clean all pkg_delete -f fetchmail-5.0.3 make install # # less # needs updating (index has 340) # cd /usr/ports/misc/less make clean all pkg_delete -f less-337 make install [...] I sent these to the maintainer/author a while back, but they were never integrated. N -- [intentional self-reference] can be easily accommodated using a blessed, non-self-referential dummy head-node whose own object destructor severs the links. -- Tom Christiansen in <375143b5@cs.colorado.edu> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message