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 @
(PACKAGE_dropbear||PACKAGE_openssh-client
)
24 define Package
/pppossh
/description
25 This package adds protocol support for PPP over SSH. The protocol name is
26 'pppossh' as in netifd interface config option
'proto'.
32 define Package
/pppossh
/install
33 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
34 $(INSTALL_BIN
) .
/files
/pppossh.sh
$(1)/lib
/netifd
/proto
37 $(eval
$(call BuildPackage
,pppossh
))