From owner-freebsd-ports Thu Mar 30 7:57:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from t-mta2.odn.ne.jp (mfep2.odn.ne.jp [143.90.131.166]) by hub.freebsd.org (Postfix) with ESMTP id E180537B66A; Thu, 30 Mar 2000 07:57:06 -0800 (PST) (envelope-from shigeisp@pop02.odn.ne.jp) Received: from athena.shige.org ([210.188.11.20]) by t-mta2.odn.ne.jp (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000330155701014.WDPC.6631.t-mta2.odn.ne.jp@mta2.odn.ne.jp>; Fri, 31 Mar 2000 00:57:01 +0900 To: kris@FreeBSD.org Cc: asami@freebsd.org, ports@freebsd.org Subject: Re: final call: VERSION variable From: Shigeyuki Fukushima (=?iso-2022-jp?B?GyRCSiFFZ0xQRzcbKEI=?=) In-Reply-To: References: <200003300345.TAA12994@silvia.hip.berkeley.edu> X-Mailer: Mew version 1.95b3 on Emacs 20.5 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 31 Mar 2000 00:56:59 +0900 X-Dispatcher: imput version 990905(IM130) Lines: 65 Message-Id: <20000330155701014.WDPC.6631.t-mta2.odn.ne.jp@mta2.odn.ne.jp> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Kris Kennaway 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message