Changeset View
Changeset View
Standalone View
Standalone View
head/security/doas/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= doas | PORTNAME= doas | ||||
PORTVERSION= 5.9p4 | # When >5.9 comes out, change this to DISTVERSION | ||||
PORTVERSION= 5.9p5 | |||||
mat: About that, PORTVERSION is just fine. Only switch to DISTVERSION if 5.9 is after 5.9p5:
$… | |||||
CATEGORIES= security | CATEGORIES= security | ||||
MAINTAINER= jsmith@resonatingmedia.com | MAINTAINER= jsmith@resonatingmedia.com | ||||
COMMENT= Simple sudo alternative to run commands as another user | COMMENT= Simple sudo alternative to run commands as another user | ||||
LICENSE= ISCL | LICENSE= ISCL | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= slicer69 | GH_ACCOUNT= slicer69 | ||||
GH_PROJECT= doas | GH_PROJECT= doas | ||||
GH_TAGNAME= dc0fb32 | GH_TAGNAME= 8bec4dc | ||||
USES= gmake | USES= gmake | ||||
BINMODE= 4755 | BINMODE= 4755 | ||||
ETCDIR= ${PREFIX}/etc | ETCDIR= ${PREFIX}/etc | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
PLIST_FILES= bin/doas \ | PLIST_FILES= bin/doas \ | ||||
Show All 9 Lines |
About that, PORTVERSION is just fine. Only switch to DISTVERSION if 5.9 is after 5.9p5:
To sum up, if 5.9p5 means 5.9-pre-release-5 and a 5.9 will follow, switching to DISTVERSION is the way to go.
If, on the other hand, 5.9p5 means the fifth path after 5.9, by all mean, keep PORTVERSION, it works just right.