Update wpa_supplicant/hostapd 2.7 --> 2.8 Upstream documents the following advisories: - https://w1.fi/security/2019-1/sae-side-channel-attacks.txt - https://w1.fi/security/2019-2/eap-pwd-side-channel-attack.txt - https://w1.fi/security/2019-3/sae-confirm-missing-state-validation.txt - https://w1.fi/security/2019-4/eap-pwd-missing-commit-validation.txt - https://w1.fi/security/2019-5/eap-pwd-message-reassembly-issue-\ with-unexpected-fragment.txt Relnotes: yes MFC after: 1 week (or less) Security: CVE-2019-9494, VU#871675, CVE-2019-9495, CVE-2019-9496, CVE-2019-9497, CVE-2019-9498, CVE-2019-9499
70 lines
1.0 KiB
Makefile
70 lines
1.0 KiB
Makefile
all: libwpadbus.a
|
|
|
|
clean:
|
|
rm -f *~ *.o *.d *.gcno *.gcda *.gcov
|
|
rm -f libwpadbus.a
|
|
|
|
install:
|
|
@echo Nothing to be made.
|
|
|
|
ifndef CC
|
|
CC=gcc
|
|
endif
|
|
|
|
ifndef CFLAGS
|
|
CFLAGS = -MMD -O2 -Wall -g
|
|
endif
|
|
|
|
PKG_CONFIG ?= pkg-config
|
|
CFLAGS += -I../../src -I../../src/utils
|
|
|
|
|
|
Q=@
|
|
E=echo
|
|
ifeq ($(V), 1)
|
|
Q=
|
|
E=true
|
|
endif
|
|
|
|
%.o: %.c
|
|
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
|
|
@$(E) " CC " $<
|
|
|
|
|
|
ifdef CONFIG_WPS
|
|
CFLAGS += -DCONFIG_WPS
|
|
endif
|
|
|
|
CFLAGS += -DCONFIG_CTRL_IFACE_DBUS_NEW
|
|
|
|
ifndef DBUS_LIBS
|
|
DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1)
|
|
endif
|
|
ifndef DBUS_INCLUDE
|
|
DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1)
|
|
endif
|
|
ifdef CONFIG_CTRL_IFACE_DBUS_INTRO
|
|
CFLAGS += -DCONFIG_CTRL_IFACE_DBUS_INTRO
|
|
DBUS_INCLUDE += $(shell xml2-config --cflags)
|
|
DBUS_LIBS += $(shell xml2-config --libs)
|
|
endif
|
|
|
|
CFLAGS += $(DBUS_INCLUDE)
|
|
|
|
LIB_OBJS= \
|
|
dbus_common.o \
|
|
dbus_new.o \
|
|
dbus_new_handlers.o \
|
|
dbus_new_helpers.o \
|
|
dbus_new_introspect.o \
|
|
dbus_dict_helpers.o
|
|
|
|
ifdef CONFIG_WPS
|
|
LIB_OBJS += dbus_new_handlers_wps.o
|
|
endif
|
|
|
|
libwpadbus.a: $(LIB_OBJS)
|
|
$(AR) crT $@ $?
|
|
|
|
-include $(OBJS:%.o=%.d)
|