You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
880 B

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=pppossh
  9. PKG_RELEASE:=2
  10. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  11. PKG_LICENSE:=GPLv2
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/pppossh
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=PPPoSSH (Point-to-Point Protocol over SSH)
  17. DEPENDS:=+ppp +resolveip @(PACKAGE_dropbear||PACKAGE_openssh-client)
  18. endef
  19. define Package/pppossh/description
  20. This package adds protocol support for PPP over SSH. The protocol name is
  21. 'pppossh' as in netifd interface config option 'proto'.
  22. endef
  23. define Build/Compile
  24. endef
  25. define Package/pppossh/install
  26. $(INSTALL_DIR) $(1)/lib/netifd/proto
  27. $(INSTALL_BIN) ./files/pppossh.sh $(1)/lib/netifd/proto
  28. endef
  29. $(eval $(call BuildPackage,pppossh))