From owner-freebsd-hackers Sat Sep 25 16: 2:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta2.rcsntx.swbell.net (mta2.rcsntx.swbell.net [151.164.30.26]) by hub.freebsd.org (Postfix) with ESMTP id 6281F14C1F for ; Sat, 25 Sep 1999 16:02:14 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.05.24.18.28.p7) with ESMTP id <0FIN00J631BHI1@mta2.rcsntx.swbell.net> for freebsd-hackers@FreeBSD.ORG; Sat, 25 Sep 1999 18:02:06 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id SAA78838; Sat, 25 Sep 1999 18:02:05 -0500 (CDT envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Sat, 25 Sep 1999 18:02:01 -0500 From: Chris Costello Subject: Re: updating packages automatically... In-reply-to: To: Christian Carstensen Cc: freebsd-hackers@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19990925180201.C76486@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 26, 1999, Christian Carstensen wrote: > > hi *, > > i'm thinking about writing a perl script that updates installed packages > automatically, if there's a newer version in the ports directory. > unfortunately, the package name, as in /var/db/pkg, in some cases does not > correspond to the ports directory name at all. > for example, the port in 'archivers/gshar+gunshar' contains the package > 'sharutils-4.2'. would it be a good idea to store the port's path > information somewhere, e.g. in a file 'pkg/+PORTPATH'? 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! -- |Chris Costello |State-of-the-practice: What we can do with the money you have. `-------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message