Page MenuHomeFreeBSD

Apply latest wpa security patch to net/hostapd
ClosedPublic

Authored by cy on Aug 15 2018, 12:26 PM.
Tags
None
Referenced Files
F83392310: D16718.id46701.diff
Thu, May 9, 8:56 PM
F83392309: D16718.id.diff
Thu, May 9, 8:56 PM
F83392304: D16718.id46730.diff
Thu, May 9, 8:55 PM
F83392302: D16718.id46813.diff
Thu, May 9, 8:55 PM
Unknown Object (File)
Sun, May 5, 8:50 AM
Unknown Object (File)
Thu, May 2, 10:07 PM
Unknown Object (File)
Fri, Apr 26, 10:26 PM
Unknown Object (File)
Fri, Apr 26, 10:25 PM
Subscribers

Details

Summary

Though net/hostapd is not specifically affected by the Unauthenticated EAPOL-Key Decryption Vulnerability, the patch does apply. This revision applies the patch.

Test Plan

make check-orphans package passed.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

net/hostapd/Makefile
18

That patch is only available on the 2018 URL, and all the other are only available on the 2017 one. So this is wrong.

net/hostapd/distinfo
16–17

This patch is not present in the Makefile, how did it end up here?

cy marked 2 inline comments as done.Aug 15 2018, 7:27 PM
cy added inline comments.
net/hostapd/Makefile
18

Reworked. I make the same change to security/wpa_supplicant.

net/hostapd/distinfo
16–17

Ahh yes, previous distinfo for a file not needed. It's been removed.

cy marked 2 inline comments as done.

Changed patch sites to parent directory; specified dir name in patchfiles.

If you add a blank line before PATCH_SITES the Makefile will pass portlint. Otherwise looks good to me.

Also feel free to assume maintainership as discussed offline.

This revision is now accepted and ready to land.Aug 16 2018, 12:39 AM
net/hostapd/Makefile
18

Ok, this was one way to do it, maybe more convoluted than necessary, you could also have used groups.

Gotcha. I'll use groups instead. Thanks for the input Mat.