X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Fxl2tpd%2FMakefile;h=6d197d65b02b557d2076dc52217ddffa09947f82;hp=cc4bc5d3fa29e3fa12141bc39483884c189906f1;hb=bd903e7a2ab1677172099a4a45f417edc05029cc;hpb=09f0e030d7bdeabd4965f8ed19c8ee16751008f8 diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile index cc4bc5d3fa..6d197d65b0 100644 --- a/net/xl2tpd/Makefile +++ b/net/xl2tpd/Makefile @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xl2tpd -PKG_VERSION:=1.2.8 +PKG_VERSION:=1.3.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.xelerance.com/xl2tpd/ -PKG_MD5SUM:=8748ac5e2f5289963d9a908eede546b5 +# Host seems to be down. +#PKG_SOURCE_URL:=ftp://ftp.xelerance.com/xl2tpd/ +PKG_MD5SUM:=cf61576fef5c2d6c68279a408ec1f0d5 +PKG_SOURCE_URL:=http://pkgs.fedoraproject.org/lookaside/pkgs/xl2tpd/xl2tpd-$(PKG_VERSION).tar.gz/$(PKG_MD5SUM)/ PKG_INSTALL:=1 @@ -22,10 +24,10 @@ include $(INCLUDE_DIR)/package.mk define Package/xl2tpd SECTION:=net CATEGORY:=Network - DEPENDS:= TITLE:=An L2TP (Layer 2 Tunneling Protocol) daemon URL:=http://www.xelerance.com/software/xl2tpd/ SUBMENU:=VPN + DEPENDS:=+ppp-mod-pppol2tp +ip +resolveip endef define Package/xl2tpd/description @@ -47,6 +49,7 @@ endef define Package/xl2tpd/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/sbin/xl2tpd $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/sbin/xl2tpd-control $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/xl2tpd.init $(1)/etc/init.d/xl2tpd @@ -57,6 +60,9 @@ define Package/xl2tpd/install $(INSTALL_DIR) $(1)/etc/ppp $(INSTALL_DATA) ./files/options.xl2tpd $(1)/etc/ppp/ + + $(INSTALL_DIR) $(1)/lib/netifd/proto + $(INSTALL_BIN) ./files/l2tp.sh $(1)/lib/netifd/proto endef $(eval $(call BuildPackage,xl2tpd))