From owner-freebsd-ports Tue Jul 17 3:57:27 2001 Delivered-To: freebsd-ports@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 5F3D537B403 for ; Tue, 17 Jul 2001 03:57:21 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from mail.uic-in.net (root@[212.35.189.4]) by kalaid.f2f.com.ua (8.11.4/8.11.4) with ESMTP id f6HAvTb20383; Tue, 17 Jul 2001 13:57:30 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (das0-l49.uic-in.net [212.35.189.176]) by mail.uic-in.net (8.11.4/8.11.4) with ESMTP id f6HAtW212420; Tue, 17 Jul 2001 13:55:33 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f6HAsuD56981; Tue, 17 Jul 2001 13:54:56 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B541985.8981EE8B@FreeBSD.org> Date: Tue, 17 Jul 2001 13:55:09 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Will Andrews Cc: Neil Blakey-Milner , Jun Kuriyama , ports@FreeBSD.org Subject: Re: PORTREVISION bumps on dependency changes (Was: Re: cvs commit: ports/print/freetype2 Makefile) References: <200107121008.f6CA8iN37556@freefall.freebsd.org> <7mg0c05n3h.wl@waterblue.imgsrc.co.jp> <3B52CDFB.C125416@FreeBSD.org> <7mae253xxw.wl@waterblue.imgsrc.co.jp> <20010716134702.C10331@mithrandr.moria.org> <3B52E709.6514DEC1@FreeBSD.org> <20010716151237.A22423@mithrandr.moria.org> <3B52EF44.FA989ED0@FreeBSD.org> <20010717045537.Z97456@bohr.physics.purdue.edu> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Will Andrews wrote: > On Mon, Jul 16, 2001 at 04:42:36PM +0300, Maxim Sobolev (sobomax@FreeBSD.ORG) wrote: > > The FreeBSD package contains exact version of all packages it depends upon > > (@pkgdep), isn't it? So, if one of those packages (library) has been upgraded > > then the new package linked against this new library will contain correct > > information about which versions of package with library it requires and if > > upgrade is performed properly this should prevent from using packages linked > > with oldest library with newest one and vice versa. I do not see what > > PORTREVISION bump would add into this. > > How about "I am a package that has been linked with that newer > version of the other package with the library bump etc" instead > of "I am possibly a copy of the package with the same version > number that has been linked with that newer version ..." ? Yes, it has some merits, but still how about the following events (in chronological order): 1. User installs package foo-1.0 which requres shared library from another package bar-1.0; 2. For some reason package foo-1.0 has been modified and its PKGREVISION number has been increased to 1; 3. Package bar-1.0 has been updated to new version 2.0 and version number of shared library from this package had been bumped. To indicate that PKGREVISION of port foo-1.0 has been increased to 2, as you suggest; 4. For some reason package building cluster fails to build new package foo-1.0_2 (for example due to some incompatible API changes in the shared library from the new bar-2.0 package); 5. The user checks for updates for his packages and sees foo-1.0_1 and bar-2.0. According to your logic, he concludes that that package foo-1.0_1 is the package that linked against bar-2.0, but this is WRONG, in fact he just missed previous update of the foo package. Therefore, as you can see, PORTREVISION bump is in fact rather weak indicator of "I am a package that has been linked with that newer version of the other package with the library bump etc". -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message