forked from Lainports/opnsense-ports
opnsense/update: minor bootstrap improvements and safety belts
We now embed the valid FreeBSD version from the build process and the build will complain if it can't get any of those values it needs. OTOH, the plain script that can be downloaded from GitHub will now simply ignore the FreeBSD version check as that creates issues sometimes. In a sense it is more dangerous now but fully outside our ecosystem and immediate reach.
This commit is contained in:
parent
b18e7a688d
commit
b686bafc11
2 changed files with 6 additions and 13 deletions
|
|
@ -1,9 +1,6 @@
|
|||
PORTNAME= update
|
||||
.if "${PRODUCT_ABI}" != "24.7"
|
||||
PORTVERSION= 24.1.8
|
||||
.else
|
||||
PORTVERSION= 24.7
|
||||
.endif
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
PKGNAMEPREFIX= ${GH_ACCOUNT}-
|
||||
|
||||
|
|
@ -17,12 +14,10 @@ LIB_DEPENDS+= libucl.so:textproc/libucl
|
|||
|
||||
USES= ssl
|
||||
|
||||
MAKE_ENV= UPDATE_RELEASE=${PORTVERSION}
|
||||
MAKE_ENV= UPDATE_RELEASE=${PORTVERSION} UPDATE_FREEBSD=${OSREL}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ${CATEGORIES:[1]}
|
||||
.if "${PRODUCT_ABI}" != "24.7"
|
||||
GH_TAGNAME= f2a6831
|
||||
.endif
|
||||
GH_TAGNAME= f272a1c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
TIMESTAMP = 1721647046
|
||||
SHA256 (opnsense-update-24.1.8-f2a6831_GH0.tar.gz) = 0c8c0b823ba6d58d70eae69741cb493a6bcb13d818a2c0f52c1155e4125bb737
|
||||
SIZE (opnsense-update-24.1.8-f2a6831_GH0.tar.gz) = 27793
|
||||
SHA256 (opnsense-update-24.7_GH0.tar.gz) = bcc383f922c74cd1ead3bd36c9f7a942dc605164e1c6d7e670535e3b72dca0eb
|
||||
SIZE (opnsense-update-24.7_GH0.tar.gz) = 27802
|
||||
TIMESTAMP = 1721978274
|
||||
SHA256 (opnsense-update-24.7-f272a1c_GH0.tar.gz) = c6db0ae35991cbe6032fc76e86d60c8ac5ec0b19fccdbf424956488a829982eb
|
||||
SIZE (opnsense-update-24.7-f272a1c_GH0.tar.gz) = 27916
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue