summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-06-02 14:51:03 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-06-02 14:59:31 +0200
commit03321e123f50ee1363d9e9c8805580dd25088ed6 (patch)
treecc5979a489a10a82660caf2297cef99894af8cf3 /net-wireless/hostapd/hostapd-9999.ebuild
parentnet-wireless/hostapd: fix USE=-internal-tls (diff)
downloadgentoo-03321e123f50ee1363d9e9c8805580dd25088ed6.tar.gz
gentoo-03321e123f50ee1363d9e9c8805580dd25088ed6.tar.bz2
gentoo-03321e123f50ee1363d9e9c8805580dd25088ed6.zip
net-wireless/hostapd: unbreak live ebuild
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-wireless/hostapd/hostapd-9999.ebuild')
-rw-r--r--net-wireless/hostapd/hostapd-9999.ebuild14
1 files changed, 2 insertions, 12 deletions
diff --git a/net-wireless/hostapd/hostapd-9999.ebuild b/net-wireless/hostapd/hostapd-9999.ebuild
index c94f67d82ad1..e6450650caed 100644
--- a/net-wireless/hostapd/hostapd-9999.ebuild
+++ b/net-wireless/hostapd/hostapd-9999.ebuild
@@ -60,19 +60,9 @@ src_unpack() {
src_prepare() {
# Allow users to apply patches to src/drivers for example,
# i.e. anything outside ${S}/${PN}
- pushd ../ >/dev/null || die
+ pushd ../ &>/dev/null || die
default
-
- # CVE-2019-16275 bug #696032
- eapply "${FILESDIR}/hostapd-2.9-AP-Silently-ignore-management-frame-from-unexpected.patch"
- # CVE-2020-12695 bug #727542
- eapply "${FILESDIR}/${P}-0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch"
- eapply "${FILESDIR}/${P}-0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch"
- eapply "${FILESDIR}/${P}-0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch"
- # CVE-2021-30004 bug #780135
- eapply "${FILESDIR}/${P}-ASN-1-Validate-DigestAlgorithmIdentifier-parameters.patch"
-
- popd >/dev/null || die
+ popd &>/dev/null || die
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
"${S}/hostapd.conf" || die