Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 19:45:15 -0800 (PST)
From:      asami@freebsd.org (Satoshi Asami)
To:        ports@freebsd.org
Subject:   final call: VERSION variable
Message-ID:  <200003300345.TAA12994@silvia.hip.berkeley.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003300345.TAA12994>