git: 91fc9bdcfb3c - main - graphics/drm-kmod: Inform users against which FreeBSD version the packages do got built.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 08:32:04 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=91fc9bdcfb3cb4ab0facccdf4aa50fad7338c76b
commit 91fc9bdcfb3cb4ab0facccdf4aa50fad7338c76b
Author: Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2024-12-03 21:10:37 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-12-06 08:31:44 +0000
graphics/drm-kmod: Inform users against which FreeBSD version the packages do got built.
PR: 283107
---
graphics/drm-510-kmod/Makefile | 5 ++++-
graphics/drm-510-kmod/{pkg-message => files/pkg-message.in} | 4 ++++
graphics/drm-515-kmod/Makefile | 5 ++++-
graphics/drm-515-kmod/{pkg-message => files/pkg-message.in} | 4 ++++
graphics/drm-61-kmod/Makefile | 5 ++++-
graphics/drm-61-kmod/{pkg-message => files/pkg-message.in} | 4 ++++
6 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/graphics/drm-510-kmod/Makefile b/graphics/drm-510-kmod/Makefile
index ad051358404e..048c913ab40b 100644
--- a/graphics/drm-510-kmod/Makefile
+++ b/graphics/drm-510-kmod/Makefile
@@ -1,6 +1,6 @@
PORTNAME= drm-510-kmod
PORTVERSION= ${DRM_KMOD_DISTVERSION}
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= graphics kld
.include "Makefile.version"
@@ -27,6 +27,9 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
.include <bsd.port.options.mk>
+SUB_FILES= pkg-message
+SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1401501
IGNORE= not supported on FreeBSD 14.2 and higher
.endif
diff --git a/graphics/drm-510-kmod/pkg-message b/graphics/drm-510-kmod/files/pkg-message.in
similarity index 75%
rename from graphics/drm-510-kmod/pkg-message
rename to graphics/drm-510-kmod/files/pkg-message.in
index 75ee1546e0ba..9d50bbe0709b 100644
--- a/graphics/drm-510-kmod/pkg-message
+++ b/graphics/drm-510-kmod/files/pkg-message.in
@@ -13,6 +13,10 @@ For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
+
+Please note that this package was built for %%OPSYS%% %%OSREL%%.
+If this is not your current running version, please rebuild
+it from ports to prevent panics when loading the module.
EOM
}
]
diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile
index 38dbd9aeb65a..b1a986717b12 100644
--- a/graphics/drm-515-kmod/Makefile
+++ b/graphics/drm-515-kmod/Makefile
@@ -1,6 +1,6 @@
PORTNAME= drm-515-kmod
PORTVERSION= ${DRM_KMOD_DISTVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics kld
.include "Makefile.version"
@@ -27,6 +27,9 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
.include <bsd.port.options.mk>
+SUB_FILES= pkg-message
+SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400081
IGNORE= not supported on older than 14.0, no kernel support
.endif
diff --git a/graphics/drm-515-kmod/pkg-message b/graphics/drm-515-kmod/files/pkg-message.in
similarity index 74%
rename from graphics/drm-515-kmod/pkg-message
rename to graphics/drm-515-kmod/files/pkg-message.in
index e8371da62e5a..bc6e43f6a646 100644
--- a/graphics/drm-515-kmod/pkg-message
+++ b/graphics/drm-515-kmod/files/pkg-message.in
@@ -13,6 +13,10 @@ For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
+
+Please note that this package was built for %%OPSYS%% %%OSREL%%.
+If this is not your current running version, please rebuild
+it from ports to prevent panics when loading the module.
EOM
}
]
diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile
index f77c3d0d8583..28356e552f14 100644
--- a/graphics/drm-61-kmod/Makefile
+++ b/graphics/drm-61-kmod/Makefile
@@ -1,6 +1,6 @@
PORTNAME= drm-61-kmod
PORTVERSION= ${DRM_KMOD_DISTVERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics kld
.include "Makefile.version"
@@ -27,6 +27,9 @@ GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME}
.include <bsd.port.options.mk>
+SUB_FILES= pkg-message
+SUB_LIST= OPSYS=${OPSYS} OSREL=${OSREL}
+
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500008 || ( ${OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 ))
IGNORE= not supported on older than 14-STABLE 1400508, no kernel support
.endif
diff --git a/graphics/drm-61-kmod/pkg-message b/graphics/drm-61-kmod/files/pkg-message.in
similarity index 74%
rename from graphics/drm-61-kmod/pkg-message
rename to graphics/drm-61-kmod/files/pkg-message.in
index 995379cd0d7d..0ca5e2d94286 100644
--- a/graphics/drm-61-kmod/pkg-message
+++ b/graphics/drm-61-kmod/files/pkg-message.in
@@ -13,6 +13,10 @@ For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
+
+Please note that this package was built for %%OPSYS%% %%OSREL%%.
+If this is not your current running version, please rebuild
+it from ports to prevent panics when loading the module.
EOM
}
]