packages/net/pppossh/Makefile
Sergey Ponomarev 08e3c43607 pppossh: depend on dbclient
The package should not only depend on a package dropbear but on the dbclient.
Otherwise the dbclient may be disabled during compilation and the dependency will be not satisfied.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-10-09 13:54:25 +08:00

38 lines
896 B
Makefile

#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=pppossh
PKG_RELEASE:=3
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
PKG_LICENSE:=GPLv2
include $(INCLUDE_DIR)/package.mk
define Package/pppossh
SECTION:=net
CATEGORY:=Network
TITLE:=PPPoSSH (Point-to-Point Protocol over SSH)
DEPENDS:=+ppp +resolveip @(DROPBEAR_DBCLIENT||PACKAGE_openssh-client)
PKGARCH:=all
endef
define Package/pppossh/description
This package adds protocol support for PPP over SSH. The protocol name is
'pppossh' as in netifd interface config option 'proto'.
endef
define Build/Compile
endef
define Package/pppossh/install
$(INSTALL_DIR) $(1)/lib/netifd/proto
$(INSTALL_BIN) ./files/pppossh.sh $(1)/lib/netifd/proto
endef
$(eval $(call BuildPackage,pppossh))