Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 00:56:59 +0900
From:      Shigeyuki Fukushima (=?iso-2022-jp?B?GyRCSiFFZ0xQRzcbKEI=?=) <shige@FreeBSD.org>
To:        kris@FreeBSD.org
Cc:        asami@freebsd.org, ports@freebsd.org
Subject:   Re: final call: VERSION variable
Message-ID:  <20000330155701014.WDPC.6631.t-mta2.odn.ne.jp@mta2.odn.ne.jp>
In-Reply-To: <Pine.BSF.4.21.0003292033520.32828-100000@freefall.freebsd.org>
References:  <200003300345.TAA12994@silvia.hip.berkeley.edu> <Pine.BSF.4.21.0003292033520.32828-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Kris Kennaway <kris@FreeBSD.org>
Subject: Re: final call: VERSION variable
Date: Wed, 29 Mar 2000 20:38:22 -0800 (PST)

kris> Ultimately we should have a PORTVERSION as well, which gets incremented
kris> whenever someone makes a change to a port, e.g. fixing a bug with a patch,
kris> enabling a new feature, etc. It would be reset to 1 whenever the distfile
kris> version is increased. Ports could then depend on a specific FreeBSD
kris> version of a port (e.g. we fix a bug in libfoo which was breaking the
kris> mumble port), etc.

This is a nice idea.:)


I suggested this subject in japanese ports group mailing-lists
before(*1).
# *1: http://home.jp.freebsd.org/cgi-bin/showmail/ports-jp/8638
# I'm sorry this is written in Japanese.

${PKG_DBDIR}/${PORTNAME}/${VERSION}/+COMMENT
${PKG_DBDIR}/${PORTNAME}/${VERSION}/+CONTENTS
${PKG_DBDIR}/${PORTNAME}/${VERSION}/+DESC
${PKG_DBDIR}/${PORTNAME}/${VERSION}/+REQUIRED_BY
${PKG_DBDIR}/${PORTNAME}/${VERSION}/+{INSTALL|DEINSTALL|REQUIRE}

If the same port's name may be use, we should select the following tree:

${PKG_DBDIR}/(category)/${PORTNAME}/${VERSION}/+COMMENT
${PKG_DBDIR}/(category)/${PORTNAME}/${VERSION}/+CONTENTS
${PKG_DBDIR}/(category)/${POPTNAME}/${VERSION}/+DESC
${PKG_DBDIR}/(category)/${PORTNAME}/${VERSION}/+REQUIRED_BY
${PKG_DBDIR}/(category)/${PORTNAME}/${VERSION}/+{INSTALL|DEINSTALL|REQUIRE}


There are three way of describing VERSION variables:

   i.) ports version only
  ii.) distfiles version only
 iii.) distfiles+ports version.

If case i.), we should add the following administrative files:

${PKG_DBDIR}/${PORTNAME}/${VERSION}/+DISTVERSION

Case iii.) is the best way?


And by this change, we want to add the upgrade to the current 
ports system.

The following directives in +CONTENTS move to administrative files.

  - @name    => ${PKG_DBDIR}/${PORTNAME}/${VERSION}/+PKGNAME
  - @pkgdep  => ${PKG_DBDIR}/${PORTNAME}/${VERSION}/+DEPENDS_ON

# If we need to remain @name and +PKGNAME, we do the above. :)


"${PORTNAME}/${VERSION}" are listed in +REQUIRED_BY and DEPENDS_ON,
# Or "(category)/${PORTNAME}/${VERSION}".

When upgrading ports/packages, we must upgrading other ports/packages
listed in +DEPENDS_ON and +REQUIRED_BY.

--- shige <shige@FreeBSD.org>


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?20000330155701014.WDPC.6631.t-mta2.odn.ne.jp>