initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
config BR2_PACKAGE_XL2TP
bool "xl2tp"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBPCAP
help
Layer 2 Tunnelling Protocol (RFC2661).
xl2tpd is an open source implementation of the L2TP tunneling
protocol. xl2tpd is forked from l2tpd and is maintained by
Xelerance Corporation.
http://www.xelerance.com/software/xl2tpd/
+3
View File
@@ -0,0 +1,3 @@
# locally computed
sha256 c28608b315adb25c8bf9579c1d6ab52ab47c4c43b68a5ab63c5d039196fd180f xl2tp-1.3.16.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
+27
View File
@@ -0,0 +1,27 @@
################################################################################
#
# xl2tp
#
################################################################################
XL2TP_VERSION = 1.3.16
XL2TP_SITE = $(call github,xelerance,xl2tpd,v$(XL2TP_VERSION))
XL2TP_DEPENDENCIES = libpcap
XL2TP_LICENSE = GPL-2.0
XL2TP_LICENSE_FILES = LICENSE
XL2TP_SELINUX_MODULES = l2tp
ifeq ($(BR2_STATIC_LIBS),y)
XL2TP_LDLIBS = LDLIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
endif
define XL2TP_BUILD_CMDS
$(SED) 's/ -O2 //' $(@D)/Makefile
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(XL2TP_LDLIBS) -C $(@D)
endef
define XL2TP_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
endef
$(eval $(generic-package))
+27
View File
@@ -0,0 +1,27 @@
#!/bin/sh
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/xl2tpd
PIDFILE=/var/run/xl2tpd.pid
test -f $DAEMON || exit 0
case "$1" in
start)
start-stop-daemon -S -p $PIDFILE -x $DAEMON -- -D &
;;
stop)
start-stop-daemon -K -p $PIDFILE -x $DAEMON
;;
restart|force-reload)
start-stop-daemon -K -p $PIDFILE -x $DAEMON
sleep 1
start-stop-daemon -S -p $PIDFILE -x $DAEMON
;;
*)
echo "Usage: /etc/init.d/xl2tdp {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0