kmod: append osversion to the portversion
The version is now kmodpackagename-<kmodpackageversion>.<osversion>_<revision>,<epoch> This is necessary to make sure that the same packages built on a newer version of FreeBSD on a given branch is considered as an upgrade of the default provided one. In the current model of support, all packages are built on the lowest supported version of a given branch, which means right now all packages are built on 14.1, this results as since 14.2 has been released and up to the time 14.1 is EOLed we do not provide working binary packages for kernel modules and related for 14.2. With this we will be able to provide a dedicated repo built against 14.2 that will be usable by users and pkg upgrade will simply update to the right version. https://reviews.freebsd.org/D47997
This commit is contained in:
parent
449626ae89
commit
a5fc087131
@ -25,6 +25,8 @@ IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE}
|
||||
|
||||
CATEGORIES+= kld
|
||||
|
||||
_OS_SUFX?= .${OSVERSION}
|
||||
|
||||
PIE_UNSAFE= kernel modules are not executable
|
||||
SSP_UNSAFE= kernel module supports SSP natively
|
||||
|
||||
|
||||
@ -1386,7 +1386,7 @@ PORTEPOCH?= 0
|
||||
_SUF2= ,${PORTEPOCH}
|
||||
. endif
|
||||
|
||||
PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2}
|
||||
PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_OS_SUFX}${_SUF1}${_SUF2}
|
||||
PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION}
|
||||
DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
|
||||
DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user