Page MenuHomeFreeBSD

New port: comms/rtlbt-firmware
ClosedPublic

Authored by wulf on Sep 21 2024, 2:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 10:09 AM
Unknown Object (File)
Fri, Nov 15, 7:53 AM
Unknown Object (File)
Sun, Nov 10, 3:07 PM
Unknown Object (File)
Wed, Nov 6, 11:39 PM
Unknown Object (File)
Oct 14 2024, 3:19 PM
Unknown Object (File)
Oct 10 2024, 1:06 PM
Unknown Object (File)
Oct 5 2024, 8:32 PM
Unknown Object (File)
Sep 26 2024, 1:58 PM

Details

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Sep 21 2024, 2:07 PM
wulf created this revision.
arrowd added inline comments.
comms/rtlbt-firmware/Makefile
7

DISTVERSION fits better here.

This revision is now accepted and ready to land.Sep 21 2024, 4:35 PM

I'm not a fan of this approach simply because we're relying on another distro to package things and it's a bit kludgy too.
We can utilize https://gitlab.com/kernel-firmware/linux-firmware and GitLab helper however the distrofile would be quite large however it might be a better idea to make a meta-port and slave/subports.
Another approach, https://www.freshports.org/net/wifi-firmware-kmod

we're relying on another distro to package things

The whole our Linuxulator ports work this way.

we're relying on another distro to package things

The whole our Linuxulator ports work this way.

Okay, let me rephrase myself.... This port is the only doing it this way and it's less than ideal.

comms/rtlbt-firmware/Makefile
12

If this is the official source / collection point I would highly suggest to fetch it from there especially given Realtek does submit to there themselves and that way you can track which revisions you have more easily.

16

It seems this file also covers probably all of Debian's "non-free firmware" and not just Realtek Bluetooth.

I'm not a fan of this approach simply because we're relying on another distro to package things and it's a bit kludgy too.
We can utilize https://gitlab.com/kernel-firmware/linux-firmware and GitLab helper however the distrofile would be quite large however it might be a better idea to make a meta-port and slave/subports.
Another approach, https://www.freshports.org/net/wifi-firmware-kmod

I do not want abuse git.kernel.org like net/wifi-firmware-kmod does. It is too slow nowadays probably due to many users. And I prefer Debian mirror to GiLab one as it provides smaller distfile.

Proper solution IMO is to create git.freebsd.org/firmware repo and use one of it nonexistent-yet mirrors to distribute files. drm-kmod and wifi firmwares should be distributed at this place too.

I'm not a fan of this approach simply because we're relying on another distro to package things and it's a bit kludgy too.
We can utilize https://gitlab.com/kernel-firmware/linux-firmware and GitLab helper however the distrofile would be quite large however it might be a better idea to make a meta-port and slave/subports.
Another approach, https://www.freshports.org/net/wifi-firmware-kmod

I do not want abuse git.kernel.org like net/wifi-firmware-kmod does. It is too slow nowadays probably due to many users. And I prefer Debian mirror to GiLab one as it provides smaller distfile.

Proper solution IMO is to create git.freebsd.org/firmware repo and use one of it nonexistent-yet mirrors to distribute files. drm-kmod and wifi firmwares should be distributed at this place too.

History tell us that such approaches will become stale rather quickly,

I'm not a fan of this approach simply because we're relying on another distro to package things and it's a bit kludgy too.
We can utilize https://gitlab.com/kernel-firmware/linux-firmware and GitLab helper however the distrofile would be quite large however it might be a better idea to make a meta-port and slave/subports.
Another approach, https://www.freshports.org/net/wifi-firmware-kmod

I do not want abuse git.kernel.org like net/wifi-firmware-kmod does. It is too slow nowadays probably due to many users. And I prefer Debian mirror to GiLab one as it provides smaller distfile.

Proper solution IMO is to create git.freebsd.org/firmware repo and use one of it nonexistent-yet mirrors to distribute files. drm-kmod and wifi firmwares should be distributed at this place too.

...or preferably sync with other ports so all ports uses https://www.kernel.org/pub/linux/kernel/firmware/ which seems to he most common approach. https://repology.org/project/linux-firmware/versions
We can also utilize EXTRACT_AFTER_ARGS= to more or less get the exact files we want without extracting everything each time.

This revision was automatically updated to reflect the committed changes.