On Wed, Mar 06, 2024 at 07:50:43AM +0100, Alexander Leidinger wrote: > Hi, > > Does poudriere/pkg take the PKGNAMESUFFIX into account for a given origin? > > The context of the question is: > I have a patch for a php-using port which flavourizes it. It will go from no > PKGNAMESUFFIX to the usual php version as PKGNAMESUFFIX. So the package name > will change from abc-1.2.3_x,y to abc-phpXX-1.2.3_x,y. The question from the > port maintainer is now, if it is possible to reset the PORTEPOCH and the > PORTREVISION to 0 (remove the corresponding lines). > > Before subpackages, it was not necessary for pkg/poudriere to look at > package name, the origin and the version (including epoch and revision) > would have been enough. For flavours I still think it is necessary to only > look at the origin, and not the package name. Now with subpackages I'm not > sure what the correct answer is. > > Can someone share some hard facts about this?
tl;dr: PORTEPOCH never goes away. If you change the package name, the origin stays the same, so it's the same port, so PORTEPOCH stays. -- Mathieu Arnold
signature.asc
Description: PGP signature