Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567262

Summary: net-wireless/hostapd: add libressl support
Product: Gentoo Linux Reporter: Marek Behún <kabel>
Component: Current packagesAssignee: Andriy Utkin (RETIRED) <andrey_utkin>
Status: RESOLVED FIXED    
Severity: enhancement CC: kabel, proxy-maint, tsmksubc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: hostapd-2.5-r1.ebuild.patch
hostapd-2.5-libressl.patch
hostapd-2.6-libressl.patch

Description Marek Behún 2015-12-01 16:26:32 UTC
Tested ebuild in attachment. For this the same patch is used as for wpa_supplicant in bug 565270.

Reproducible: Always
Comment 1 Marek Behún 2015-12-01 16:26:57 UTC
Created attachment 418294 [details, diff]
hostapd-2.5-r1.ebuild.patch
Comment 2 Marek Behún 2015-12-01 16:27:42 UTC
Created attachment 418296 [details, diff]
hostapd-2.5-libressl.patch
Comment 3 timofonic 2016-03-03 10:26:58 UTC
Is this merged?
Comment 4 Pacho Ramos gentoo-dev 2016-10-09 15:52:56 UTC
does 2.6 need that additional patch?
Comment 5 Marek Behún 2016-10-09 17:08:32 UTC
Created attachment 449670 [details, diff]
hostapd-2.6-libressl.patch

Apply this for 2.6.
This are three more patches that are already in the upstream master, but were not commited in 2.6 yet.

These are the top three one can see at http://w1.fi/cgit/hostap/log/?qt=grep&q=libressl
Comment 6 Marek Behún 2018-03-13 12:51:06 UTC
As I am using gentoo on my wireless routers and am patching hostapd at least once in 3 months, I am willing to maintain this package...
Comment 7 Andriy Utkin (RETIRED) gentoo-dev 2018-03-30 17:00:23 UTC
Will look into the ticket soon. Have not read it yet.
Comment 8 Andriy Utkin (RETIRED) gentoo-dev 2018-04-12 00:58:28 UTC
"ssl" USE flag will be removed, and a choice between openssl, libressl and gnutls will be provided. I am working on this now, stay tuned.
Comment 9 Larry the Git Cow gentoo-dev 2018-04-19 03:04:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858ab8314e6296e4b45e78992d07c1f22f0bf7a5

commit 858ab8314e6296e4b45e78992d07c1f22f0bf7a5
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2018-04-19 03:04:01 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-04-19 03:04:14 +0000

    net-wireless/hostapd: add LibreSSL support
    
    This patch adds support for LibreSSL and ensures compatibility with
    dev-libs/libressl-2.7.x. Patch was backported from upstream commits:
    
    ba3658cfff2278bc2ba24c32773962b37648d0b2
    dee566d98e85e00b917d3eff42cd7e969de089cc
    
    Closes: https://bugs.gentoo.org/567262
    Package-Manager: Portage-2.3.29, Repoman-2.3.9

 .../files/hostapd-2.6-libressl-compatibility.patch | 106 +++++++++
 net-wireless/hostapd/hostapd-2.6-r3.ebuild         | 240 +++++++++++++++++++++
 2 files changed, 346 insertions(+)
Comment 10 Andriy Utkin (RETIRED) gentoo-dev 2018-04-22 00:00:39 UTC
Thanks for help, bman!