Date: 13 Feb 2000 18:51:50 -0800 From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) To: "Akinori -Aki- MUSHA" <knu@idaemons.org> Cc: kris@FreeBSD.ORG, obrien@NUXI.com, ports@FreeBSD.ORG Subject: Re: "# Version required:" Message-ID: <vqc3dqwlcmx.fsf@silvia.hip.berkeley.edu> In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Sun, 13 Feb 2000 15:04:15 %2B0900" References: <20000212180205.A42274@dragon.nuxi.com> <Pine.BSF.4.21.0002121805560.88574-100000@freefall.freebsd.org> <86puu1prj4.wl@daemon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, the "version required" was supposed to be a definitive version number that sometimes can't be encoded in PKGNAME. Things like "foobar version X.5 plus bazoolix patch Alternate.B.9". But you are right, we should probably remove the comment for obvious cases (which will be most). After the release, though. * From: "Akinori -Aki- MUSHA" <knu@idaemons.org> * Yes, and NetBSD's already done it. I'm looking into NetBSD's * packages system and bsd.pkg.mk to make a plan to merge their _big_ * efforts back into FreeBSD. Yesterday I happened to make contact with * a NetBSD developer who's in charge of the system and was told what * they'd made over ours. * * They have added upgrading mechanism, version comparison mechanism, * wildcard matching in depend's and much more. So much to learn. I'll be very interested in hearing how they changed. I've also thought about adding a mandatory VERSION variable separate from DISTNAME/PKGNAME, to have something like PORTNAME= foo VERSION= 1.2 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.) At least 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). -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?vqc3dqwlcmx.fsf>