Bug 283107 - graphics/drm-kmod: Inform users against which FreeBSD version the packages do got built.
Summary: graphics/drm-kmod: Inform users against which FreeBSD version the packages do...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-03 19:58 UTC by Alexander Vereeken
Modified: 2024-12-06 08:33 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
0001-graphics-drm-kmod-Inform-users-that-against-which-Fr.patch (2.03 KB, patch)
2024-12-03 20:00 UTC, Alexander Vereeken
no flags Details | Diff
0001-graphics-drm-kmod-Inform-users-against-which-FreeBSD.patch (4.33 KB, patch)
2024-12-03 21:13 UTC, Alexander Vereeken
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2024-12-03 19:58:47 UTC
Hello,

almost every release there are users who panic when they get drm-kmod from the packages with the latest FreeBSD version without knowing it.

This could be prevented if it is communicated for which version they were built.

An patch as suggestion have been attached.

Thanks in advance!
Comment 1 Alexander Vereeken freebsd_triage 2024-12-03 20:00:23 UTC
Created attachment 255604 [details]
0001-graphics-drm-kmod-Inform-users-that-against-which-Fr.patch
Comment 2 Alexander Vereeken freebsd_triage 2024-12-03 21:13:12 UTC
Created attachment 255610 [details]
0001-graphics-drm-kmod-Inform-users-against-which-FreeBSD.patch
Comment 3 Ed Maste freebsd_committer freebsd_triage 2024-12-05 18:23:30 UTC
Thank you - we need to solve this problem properly, but having this message in the package is better than the status quo.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-12-06 08:32:59 UTC
A commit in branch main references this bug:

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(-)
Comment 5 Emmanuel Vadot freebsd_committer freebsd_triage 2024-12-06 08:33:13 UTC
Thanks, commited.