From owner-freebsd-ports Wed Mar 29 19:45:30 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id E772C37B9A3 for ; Wed, 29 Mar 2000 19:45:24 -0800 (PST) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca2-07.ix.netcom.com [205.186.212.7]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id WAA01931 for ; Wed, 29 Mar 2000 22:45:22 -0500 (EST) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id TAA12994; Wed, 29 Mar 2000 19:45:15 -0800 (PST) Date: Wed, 29 Mar 2000 19:45:15 -0800 (PST) Message-Id: <200003300345.TAA12994@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: ports@freebsd.org Subject: final call: VERSION variable From: asami@freebsd.org (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I haven't gotten much response. Are people really okay with this? It is a pretty large change, it will touch almost every single Makefile in the tree and will change the way the Makefiles look forever. A mandatory VERSION variable separate from DISTNAME/PKGNAME will be added, to have something like PORTNAME= foo VERSION= 1.2 As I said, these two variables will be mandatory, and DISTNAME and PKGNAME will be defined in bsd.port.mk as ${PORTNAME}-${VERSION}. The PKGNAME will not be overridable; it will be an error for a port to define it. The port can define DISTNAME if necessary. This will help ensure that the ${PKGNAME} will have correct formats (well, you can always put a "-" in VERSION, but that's far easier to find than going through a list of packages/All or packages/Latest). I'm also thinking of changing the pkg_* tools to put package info into /var/db/pkg/${PORTNAME}/ver-${VERSION} (instead of the current /var/db/pkg/${PORTNAME}-${VERSION}) so we can have real upgrade support, but that's still in the future. -PW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message