X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fppp%2FMakefile;h=e3492ac55f73222bc8dd18440f3ec23a683418ce;hp=71c598196bdb0c64b2e021fcdc38c64bab29343b;hb=HEAD;hpb=470d53a77c932913e5e030a237040d234edadc69 diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile index 71c598196b..e3492ac55f 100644 --- a/package/network/services/ppp/Makefile +++ b/package/network/services/ppp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2012 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. @@ -9,13 +9,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ppp -PKG_VERSION:=2.4.5 -PKG_RELEASE:=8 +PKG_VERSION:=2.4.7 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ -PKG_MD5SUM:=4621bc56167b6953ec4071043fe0ec57 -PKG_MAINTAINER:=Felix Fietkau +PKG_SOURCE_URL:=https://download.samba.org/pub/ppp/ +PKG_MD5SUM:=78818f40e6d33a1d1de68a1551f6595a +PKG_MAINTAINER:=Felix Fietkau +PKG_LICENSE:=BSD-4-Clause PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) @@ -29,7 +30,6 @@ include $(INCLUDE_DIR)/package.mk define Package/ppp/Default SECTION:=net CATEGORY:=Network - MAINTAINER:=Jo-Philipp Wich URL:=http://ppp.samba.org/ endef @@ -117,9 +117,19 @@ define Package/ppp-mod-pptp/description This package contains a PPtP plugin for ppp. endef -define Package/chat +define Package/ppp-mod-passwordfd $(call Package/ppp/Default) DEPENDS:=@(PACKAGE_ppp||PACKAGE_ppp-multilink) + TITLE:=pap/chap secret from filedescriptor +endef + +define Package/ppp-mod-passwordfd/description +This package allows to pass the PAP/CHAP secret from a filedescriptor. +Eliminates the need for a secrets file. +endef + +define Package/chat +$(call Package/ppp/Default) TITLE:=Establish conversation with a modem endef @@ -172,6 +182,9 @@ else MAKE_FLAGS += HAVE_MULTILINK= endif +ifdef CONFIG_USE_MUSL + MAKE_FLAGS += USE_LIBUTIL= +endif define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include @@ -189,7 +202,7 @@ define Package/ppp/install $(INSTALL_CONF) ./files/etc/ppp/chap-secrets $(1)/etc/ppp/ $(INSTALL_DATA) ./files/etc/ppp/filter $(1)/etc/ppp/ $(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/ - ln -sf /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf + $(LN) /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf $(INSTALL_DIR) $(1)/lib/netifd/proto $(INSTALL_BIN) ./files/ppp.sh $(1)/lib/netifd/proto/ $(INSTALL_BIN) ./files/lib/netifd/ppp-up $(1)/lib/netifd/ @@ -236,6 +249,12 @@ define Package/ppp-mod-pptp/install $(INSTALL_DATA) ./files/etc/ppp/options.pptp $(1)/etc/ppp/ endef +define Package/ppp-mod-passwordfd/install + $(INSTALL_DIR) $(1)/usr/lib/pppd/$(PKG_VERSION) + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/pppd/$(PKG_VERSION)/passwordfd.so \ + $(1)/usr/lib/pppd/$(PKG_VERSION)/ +endef + define Package/chat/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/chat $(1)/usr/sbin/ @@ -258,6 +277,7 @@ $(eval $(call BuildPackage,ppp-mod-pppoe)) $(eval $(call BuildPackage,ppp-mod-radius)) $(eval $(call BuildPackage,ppp-mod-pppol2tp)) $(eval $(call BuildPackage,ppp-mod-pptp)) +$(eval $(call BuildPackage,ppp-mod-passwordfd)) $(eval $(call BuildPackage,chat)) $(eval $(call BuildPackage,pppdump)) $(eval $(call BuildPackage,pppstats))