mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Merge branch 'master' into next
This commit is contained in:
@@ -86,8 +86,12 @@ migrate_extrahd
|
|||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
/etc/init.d/udev restart
|
/etc/init.d/udev restart
|
||||||
/etc/init.d/squid restart
|
if [ -f /var/ipfire/proxy/enable ]; then
|
||||||
/usr/local/bin/openvpnctrl -s
|
/etc/init.d/squid restart
|
||||||
|
fi
|
||||||
|
if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
|
||||||
|
/usr/local/bin/openvpnctrl -s
|
||||||
|
fi
|
||||||
/usr/local/bin/openvpnctrl -sn2n
|
/usr/local/bin/openvpnctrl -sn2n
|
||||||
|
|
||||||
# This update needs a reboot...
|
# This update needs a reboot...
|
||||||
|
|||||||
1
lfs/ppp
1
lfs/ppp
@@ -78,6 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-4-increase-max-padi-attempts.patch
|
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-4-increase-max-padi-attempts.patch
|
||||||
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-5-headers_4.9.patch
|
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-5-headers_4.9.patch
|
||||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-6-patch-configure-to-handle-cflags-properly.patch
|
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-6-patch-configure-to-handle-cflags-properly.patch
|
||||||
|
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/ppp-2.5.0-7-add-configure-check-to-see-if-we-have-struct-sockaddr_ll.patch
|
||||||
cd $(DIR_APP) && ./configure \
|
cd $(DIR_APP) && ./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
From 9d6d326b2530cffb1414e4c401675117c42d43ce Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eivind Naess <eivnaes@yahoo.com>
|
||||||
|
Date: Sun, 23 Apr 2023 11:30:43 -0700
|
||||||
|
Subject: [PATCH] Add configure check to see if we have struct sockaddr_ll
|
||||||
|
|
||||||
|
Fixes issue #411.
|
||||||
|
|
||||||
|
Signed-off-by: Eivind Naess <eivnaes@yahoo.com>
|
||||||
|
---
|
||||||
|
configure.ac | 3 ++-
|
||||||
|
pppd/plugins/pppoe/config.h.in | 2 ++
|
||||||
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 1180f64ec..38b24af92 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -75,7 +75,8 @@ AM_COND_IF([LINUX], [
|
||||||
|
linux/if_ether.h \
|
||||||
|
linux/if_packet.h \
|
||||||
|
netinet/if_ether.h \
|
||||||
|
- netpacket/packet.h])])
|
||||||
|
+ netpacket/packet.h])
|
||||||
|
+ AC_CHECK_TYPES([struct sockaddr_ll], [], [], [#include <linux/if_packet.h>])])
|
||||||
|
|
||||||
|
AC_CHECK_SIZEOF(unsigned int)
|
||||||
|
AC_CHECK_SIZEOF(unsigned long)
|
||||||
|
diff --git a/pppd/plugins/pppoe/config.h.in b/pppd/plugins/pppoe/config.h.in
|
||||||
|
index d447f5e89..d7d61c01c 100644
|
||||||
|
--- a/pppd/plugins/pppoe/config.h.in
|
||||||
|
+++ b/pppd/plugins/pppoe/config.h.in
|
||||||
|
@@ -69,3 +69,5 @@
|
||||||
|
/* The size of `unsigned short', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_UNSIGNED_SHORT
|
||||||
|
|
||||||
|
+/* Define to 1 if the system has the type `struct sockaddr_ll'. */
|
||||||
|
+#undef HAVE_STRUCT_SOCKADDR_LL
|
||||||
Reference in New Issue
Block a user