From owner-freebsd-ports Wed Mar 29 20:38:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0138E37BDBC; Wed, 29 Mar 2000 20:38:24 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id UAA37422; Wed, 29 Mar 2000 20:38:23 -0800 (PST) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Wed, 29 Mar 2000 20:38:22 -0800 (PST) From: Kris Kennaway To: Satoshi Asami Cc: ports@freebsd.org Subject: Re: final call: VERSION variable In-Reply-To: <200003300345.TAA12994@silvia.hip.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 29 Mar 2000, Satoshi Asami wrote: > I haven't gotten much response. Are people really okay with this? It Yes. > A mandatory VERSION variable separate from DISTNAME/PKGNAME will be > added, to have something like > > PORTNAME= foo > VERSION= 1.2 Ultimately we should have a PORTVERSION as well, which gets incremented whenever someone makes a change to a port, e.g. fixing a bug with a patch, enabling a new feature, etc. It would be reset to 1 whenever the distfile version is increased. Ports could then depend on a specific FreeBSD version of a port (e.g. we fix a bug in libfoo which was breaking the mumble port), etc. > 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. Also a good idea, except it should probably be +VERSION for consistency (how would you look up the version except by searching the directory entries for a match on ver-* and parsing it?) Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message