svn commit: r565221 - in head: . misc/hwdata misc/pnpids

Baptiste Daroussin bapt at nours.eu
Tue Feb 16 09:03:39 UTC 2021


On Tue, Feb 16, 2021 at 09:57:05AM +0100, Mathieu Arnold wrote:
> On Mon, Feb 15, 2021 at 10:48:30PM +0000, Baptiste Daroussin wrote:
> > 
> > 15 févr. 2021 10:06:03 Mathieu Arnold <mat at freebsd.org>:
> > 
> > > On Sun, Feb 14, 2021 at 01:28:57PM +0000, Alexey Dokuchaev wrote:
> > >> On Sun, Feb 14, 2021 at 12:34:53PM +0000, Tobias C. Berner wrote:
> > >>> New Revision: 565221
> > >>> URL: https://svnweb.freebsd.org/changeset/ports/565221
> > >>>
> > >>> Log:
> > >>>   Move misc/pnpids to misc/hwdata
> > >>>  
> > >>> @@ -1,26 +1,24 @@
> > >>> # Created by: Ting-Wei Lan <lantw44 at gmail.com>
> > >>> # $FreeBSD$
> > >>>
> > >>> -PORTNAME=  pnpids
> > >>> +PORTNAME=  hwdata
> > >>> DISTVERSIONPREFIX= v
> > >>> DISTVERSION= 0.344
> > >>> -PORTREVISION=  1
> > >>> +PORTREVISION=  2
> > >>> PORTEPOCH= 1
> > >>
> > >> You could've reset PORTEPOCH and PORTREVISION since this is a new package.
> > >
> > > Well, technically, no, it is the same package, only it has a new name.
> > > Preserving the version allows for a seamless upgrade.
> > >
> > How so? The port has a new name, a new origin, etc, it is a totally different package now
> 
> Yes, but when we introduce the PKGMOVED file to handle package renames,
> like we talked about, it will be required.
> 

Yes and in that case pkg will just reinstall the new package because it has been
renamed and ignore the version schema, so we can reset portepoch except if one
explains me it is a bad idea :D

Bapt


More information about the svn-ports-all mailing list