Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-wireless/hostapd: Remove vulnerable 2.9-r5; Corretly detect libnl when cross-compiling #22005

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
270 changes: 0 additions & 270 deletions net-wireless/hostapd/hostapd-2.9-r5.ebuild

This file was deleted.

4 changes: 3 additions & 1 deletion net-wireless/hostapd/hostapd-2.9-r6.ebuild
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit toolchain-funcs systemd savedconfig
inherit flag-o-matic systemd savedconfig toolchain-funcs

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="https://w1.fi/ https://w1.fi/cgit/hostap/"
Expand Down Expand Up @@ -40,6 +40,7 @@ DEPEND="
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

pkg_pretend() {
if use internal-tls; then
Expand Down Expand Up @@ -194,6 +195,7 @@ src_configure() {
# support it.
if has_version ">=dev-libs/libnl-3.2"; then
echo "CONFIG_LIBNL32=y" >> ${CONFIG} || die
append-cflags $($(tc-getPKG_CONFIG) --cflags libnl-3.0)
fi

# TODO: Add support for BSD drivers
Expand Down
4 changes: 3 additions & 1 deletion net-wireless/hostapd/hostapd-9999.ebuild
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit toolchain-funcs systemd savedconfig
inherit flag-o-matic systemd savedconfig toolchain-funcs

DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon"
HOMEPAGE="https://w1.fi/ https://w1.fi/cgit/hostap/"
Expand Down Expand Up @@ -40,6 +40,7 @@ DEPEND="
netlink? ( net-libs/libnfnetlink )
sqlite? ( >=dev-db/sqlite-3 )"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

pkg_pretend() {
if use internal-tls; then
Expand Down Expand Up @@ -184,6 +185,7 @@ src_configure() {
# support it.
if has_version ">=dev-libs/libnl-3.2"; then
echo "CONFIG_LIBNL32=y" >> ${CONFIG} || die
append-cflags $($(tc-getPKG_CONFIG) --cflags libnl-3.0)
fi

# TODO: Add support for BSD drivers
Expand Down