mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
xl2tpd: fix by backporting the version from master branch
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
+27
-10
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2014 OpenWrt.org
|
||||
# Copyright (C) 2006-2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@@ -8,18 +8,16 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xl2tpd
|
||||
PKG_VERSION:=1.3.6
|
||||
PKG_VERSION:=devel-20150812
|
||||
PKG_RELEASE:=1
|
||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/xelerance/xl2tpd.git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=5619e1771048e74b729804e8602f409af0f3faea
|
||||
PKG_SOURCE_VERSION:=5674a5835e9b89b7438917a380f3a6d68528fa3e
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
||||
PKG_INSTALL:=1
|
||||
@@ -32,7 +30,7 @@ define Package/xl2tpd
|
||||
TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon
|
||||
URL:=http://www.xelerance.com/software/xl2tpd/
|
||||
SUBMENU:=VPN
|
||||
DEPENDS:=+ppp-mod-pppol2tp +ip +resolveip
|
||||
DEPENDS:=+ppp-mod-pppol2tp +resolveip
|
||||
endef
|
||||
|
||||
define Package/xl2tpd/description
|
||||
@@ -41,9 +39,28 @@ It does implement both LAC and LNS role in a L2TP networking architecture. The
|
||||
main goal of this protocol is to tunnel PPP frame trough an IP network.
|
||||
endef
|
||||
|
||||
# XXX: CFLAGS are already set by Build/Compile/Default
|
||||
MAKE_FLAGS+= \
|
||||
OFLAGS=""
|
||||
# Use optimization options from OpenWrt build system
|
||||
MAKE_FLAGS += OFLAGS=""
|
||||
|
||||
ifneq (0,0)
|
||||
# debugging options from Makefile of xl2tpd package
|
||||
EXTRA_CFLAGS += \
|
||||
-DDEBUG_ZLB \
|
||||
-DDEBUG_HELLO \
|
||||
-DDEBUG_CLOSE \
|
||||
-DDEBUG_FLOW \
|
||||
-DDEBUG_FILE \
|
||||
-DDEBUG_AAA \
|
||||
-DDEBUG_PAYLOAD \
|
||||
-DDEBUG_CONTROL \
|
||||
-DDEBUG_PPPD \
|
||||
-DDEBUG_HIDDEN \
|
||||
-DDEBUG_ENTROPY \
|
||||
-DDEBUG_CONTROL_XMIT \
|
||||
-DDEBUG_MAGIC \
|
||||
-DDEBUG_FLOW_MORE \
|
||||
-DDEBUG_AUTH
|
||||
endif
|
||||
|
||||
define Package/xl2tpd/conffiles
|
||||
/etc/xl2tpd/xl2tpd.conf
|
||||
|
||||
Reference in New Issue
Block a user