![Hans Dedecker](/assets/img/avatar_default.png)
Use upstream latest git HEAD as it allows to remove the patches 700-radius-Prevent-buffer-overflow-in-rc_mksid, 701-pppd-Fix-bounds-check-in-EAP-code and 702-pppd-Ignore-received-EAP-messages-when-not-doing-EAP and take in other fixes. 41a7323 pppd: Fixed spelling 'unkown' => 'unknown' (#141) 6b014be pppd: Print version information to stdout instead of stderr (#133) cba2736 pppd: Add RFC1990 (Multilink) to the See Also section of the man page f2f9554 pppd: Add mppe.h to the list of headers to install if MPPE is defined ae54fcf pppd: Obfuscate password argument string 8d45443 pppd: Ignore received EAP messages when not doing EAP 8d7970b pppd: Fix bounds check in EAP code 858976b radius: Prevent buffer overflow in rc_mksid() Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
21 lines
480 B
Diff
21 lines
480 B
Diff
build: Add required CFLAGS for libpcap
|
|
|
|
This patch adds some flags to required to properly link libpcap within the
|
|
OpenWrt environment.
|
|
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
|
|
--- a/pppd/Makefile.linux
|
|
+++ b/pppd/Makefile.linux
|
|
@@ -190,8 +190,8 @@ endif
|
|
|
|
ifdef FILTER
|
|
ifneq ($(wildcard /usr/include/pcap-bpf.h),)
|
|
-LIBS += -lpcap
|
|
-CFLAGS += -DPPP_FILTER
|
|
+LIBS += -lpcap -L$(STAGING_DIR)/usr/lib
|
|
+CFLAGS += -DPPP_FILTER -I$(STAGING_DIR)/usr/include
|
|
endif
|
|
endif
|
|
|