include $(TOPDIR)/rules.mk
PKG_NAME:=xl2tpd
-PKG_VERSION:=1.3.7pre20150524
-PKG_RELEASE:=3
-PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
+PKG_VERSION:=1.3.10
+PKG_RELEASE:=1
+PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/xelerance/xl2tpd.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=1cda2a266e2e957b81019d63a8902b28304a0ac4
+PKG_SOURCE_VERSION:=090d1bef577cabdb3495d76acd814733fa66ef57
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MIRROR_HASH:=bcddc10e28a74dec607e67cbbea97220f6bfd696b0378a7c30ec8a3e0ac86be1
+
+PKG_BUILD_DEPENDS:=libpcap
PKG_INSTALL:=1
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=""
+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