From owner-freebsd-hackers Sat Sep 25 15:16: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pauling.research.devcon.net (pauling.research.devcon.net [212.15.193.194]) by hub.freebsd.org (Postfix) with ESMTP id 95C6814E26 for ; Sat, 25 Sep 1999 15:16:06 -0700 (PDT) (envelope-from cc@devcon.net) Received: from localhost (cc@localhost) by pauling.research.devcon.net (8.9.3/8.9.2) with ESMTP id AAA01919 for ; Sun, 26 Sep 1999 00:16:05 +0200 (CEST) (envelope-from cc@devcon.net) Date: Sun, 26 Sep 1999 00:16:04 +0200 (CEST) From: Christian Carstensen X-Sender: cc@pauling.research.devcon.net To: freebsd-hackers@FreeBSD.ORG Subject: updating packages automatically... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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'? -- christian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message