security/doas: Update to 5.9p5
This update enforces the correct uid and gid when -u switch is used.
woodsb02 on Aug 24 2016, 2:23 PM.Authored by
Other than the use of PORTVERSION instead of DISTVERSION for this version string, this looks fine.
If you want to update it to DISTVERSION, you'll want to first ensure the resulting PORTVERSION string is higher in value than the current PORTVERSION value, otherwise a PORTEPOCH will be needed (which may well be needed anyway for some later version.)
You can test with pkg version -t <ver1> <ver2>
You'll find DISTVERSION=5.9p5 auto creates a PORTVERSION=5.9.p5 (I think, note the dot)
I agree with koobs that this should have been DISTVERSION from the beginning (I think I might have sent an email about that at one point?).
Given that DISTVERSION would require a PORTEPOCH bump, I'd prefer to add a comment to the Makefile reminding the maintainer and future committers that it should be switched to DISTVERSION as soon as the version gets higher than 5.9.