2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/pppossh
20 TITLE
:=PPPoSSH
(Point-to-Point Protocol over SSH
)
21 DEPENDS
:=+ppp
+resolveip @
(DROPBEAR_DBCLIENT||PACKAGE_openssh-client
)
25 define Package
/pppossh
/description
26 This package adds protocol support for PPP over SSH. The protocol name is
27 'pppossh' as in netifd interface config option
'proto'.
33 define Package
/pppossh
/install
34 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
35 $(INSTALL_BIN
) .
/files
/pppossh.sh
$(1)/lib
/netifd
/proto
38 $(eval
$(call BuildPackage
,pppossh
))