diff options
author | Brenton Earl <brent@exitstatusone.com> | 2020-09-19 01:11:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-19 01:11:00 +0700 |
commit | be649f1877a85e4b4773363022fdf201a38cf48e (patch) | |
tree | 16cea704fc38f333321c94d67472432e87ce70ca /network/hostapd/hostapd.SlackBuild | |
parent | a62a8fbb8973c8643ff955c64e144299f610fca0 (diff) |
network/hostapd: Security fix: CVE-2019-16275/CVE-2020-12695.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/hostapd/hostapd.SlackBuild')
-rw-r--r-- | network/hostapd/hostapd.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild index ebfe7e330b..ae7e86ca5c 100644 --- a/network/hostapd/hostapd.SlackBuild +++ b/network/hostapd/hostapd.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=hostapd VERSION=${VERSION:-2.9} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,6 +75,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +(cd ../src/ +for i in $CWD/patches/*.patch; do + patch -p2 < "$i" +done) + # Edit the defconfig to enable additional features cat $CWD/hostapd.defconfig > .config |