net/aquantia-atlantic-kmod: Fix CURRENT build post r353868 (iflib changes) This patch enable the port to build working if_atlantic.ko on 13-CURRENT, broken since r353868, where `if_multi_apply` and `if_multiaddr_count` were removed. PR: 252642 Approved by: koobs (maintainer) Differential_Revision: D28135 MFH: 2021Q1 (blanket: build fix)
Details
- portlint: ???
- testport: ??? (poudriere; at least current and 12amd64)
- hardware: AQC107 (device id 0x07b1) tested
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 36645 Build 33534: arc lint + arc unit
Event Timeline
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | I believe PORTREVISION is enough here. |
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | The reason why PORTEPOCH is used here is to keep the versioning in-sync with the upstream. or should we change PORTVERSION to something like 0.0.5p1 ? |
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | PORTREVISION is exactly what to use to add local patch and keep PORTVSION (or DISTVERSION) sync with upstream. PORTEPOCH should be used carefully because it will stay forever once comes in. |
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | my bad, I thought you mean PORTVERSION lmao |
If the iflib changes have been tested and are known to work, they're probably okay.
Is the extra patch to aq_hw.c intentional? Using random() to generate a MAC address isn't great. Not seeding it makes it even worse.
This needs:
- Confirmation of QA: portlint/poudriere on at least CURRENT and 12amd64 (fill in TEST PLAN section)
- PR created upstream
- Comment added to patch with upstream issue/PR reference and URL
Thank you for the report and patch
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | Is this actually required since the build fails to produce a package? |
Yes it is. This is because random has been deprecated and srandom has been removed at https://reviews.freebsd.org/rS356097
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | I think I don't exactly know what you mean.. |
net/aquantia-atlantic-kmod/Makefile | ||
---|---|---|
5 | Yes bump PORTVERSION in this case can be discussed more, but since the package content has changed and it would be good for notifying people using -CURRENT. I believe it's a good step. |
Has all the feedback that's been given been addressed?
If so, who's going to have the honour of commiting and pushing this? :)
@koobs If you really don't have time, how about passing maintainership to @nyan_myuji.xyz ? He has more changes planned and is willing to take care of this port. I will help him to land more patches.
To clarify: I don't currently have time
I have no qualms with a MAINTAINER change however.