I emailed upstream just now. I should submit revised patch after upstream reply.
wen ________________________________________ 发件人: Alexander Bluhm <alexander.bl...@gmx.net> 发送时间: 2022年1月11日 7:44 收件人: wen heping; ports@openbsd.org 主题: Re: www/p5-CGI-Simple: Update to 1.26 On Tue, Jan 04, 2022 at 08:32:50AM +0000, Stuart Henderson wrote: > > MODULES = cpan > > PKG_ARCH = * > > -DISTNAME = CGI-Simple-1.115 > > +DISTNAME = CGI-Simple-1.26 > > this results in the version number (as understood by ports) going > backwards so will need an EPOCH bump Some Perl modules have crazy ideas about version numbers. Instead of increasing EPOCH each time something stupid happens, some 0 can be inserted into package name. This makes it more likely that the numbers increase monotonically. Look at http://matrix.cpantesters.org/?dist=CGI-Simple "Other versions" how they jump around. I think p5-CGI-Simple-1.260 package name should be used in this case. wen heping: Please speak with upstream and try to convince them to use continous three digit version numbers like 1.270 in the future. It is not only the OpenBSD package manager which has trouble with inconsistent numbers. bluhm