diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2016-04-27 11:14:02 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-28 13:50:41 +0200 |
commit | ec9f6fe04daff20c1d79a22861c88cdad5c8f697 (patch) | |
tree | 22a326928d9d2e4f15afbda03e668f8cda45e93c /package/network/services/ppp/Makefile | |
parent | ce9e5e16ff325a349cd8efd86b9380f7da415fd3 (diff) | |
download | upstream-ec9f6fe04daff20c1d79a22861c88cdad5c8f697.tar.gz upstream-ec9f6fe04daff20c1d79a22861c88cdad5c8f697.tar.bz2 upstream-ec9f6fe04daff20c1d79a22861c88cdad5c8f697.zip |
ppp: Add ppp-mod-passwordfd subpackage to ppp
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/ppp/Makefile')
-rw-r--r-- | package/network/services/ppp/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile index e0acf5993e..23c1e93c58 100644 --- a/package/network/services/ppp/Makefile +++ b/package/network/services/ppp/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ppp PKG_VERSION:=2.4.7 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.samba.org/pub/ppp/ @@ -117,6 +117,17 @@ define Package/ppp-mod-pptp/description This package contains a PPtP plugin for ppp. endef +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 @@ -238,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/ @@ -260,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)) |