On 1/23/21 6:02 PM, Stuart Henderson wrote:
> On 2021/01/23 17:37, Daniel Jakots wrote:
>> On Sat, 23 Jan 2021 17:31:51 -0500, Aisha Tammy
>> <openbsd.po...@aisha.cc> wrote:
>>
>>> what the method is to move from a versioned package
>>> to a dated package, as the dated packages would look like its a
>>> downgrade
>>
>> Set EPOCH https://man.openbsd.org/bsd.port.mk#EPOCH
>>
> 
> This, plus if you're writing a new port for something which just has a
> dated version, you can set e.g. 0.0.20210123 so that nearly any "real"
> version will be "newer".
> 
> (EPOCH is there if it's absolutely needed, but it causes problems too:
> it's easily removed by mistake later [once set EPOCH can never be removed,
> but sometimes people confuse it with REVISION], and when another port
> sets a pkgspec to depend on a certain version, that has to use the full
> version number including EPOCH - so if you can avoid future requirement
> to use it, that's better).
> 

Will definitely keep in mind for future.

Thanks!
Aisha

Reply via email to