2014-09-16 02:37:29 +02:00
|
|
|
#
|
2015-12-09 22:43:42 +01:00
|
|
|
# Copyright (C) 2010-2015 OpenWrt.org
|
2014-09-16 02:37:29 +02:00
|
|
|
# Copyright (C) 2010 segal.di.ubi.pt
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sshtunnel
|
2023-09-20 16:27:45 +02:00
|
|
|
PKG_VERSION:=5
|
2023-12-23 15:57:34 +01:00
|
|
|
PKG_RELEASE:=2
|
2019-09-02 15:15:08 +02:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2014-09-16 02:37:29 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/sshtunnel
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=SSH
|
2023-02-05 10:27:26 +01:00
|
|
|
TITLE:=Manages local and remote openssh ssh(1) tunnels
|
2023-09-20 16:27:45 +02:00
|
|
|
DEPENDS:=@(DROPBEAR_DBCLIENT||PACKAGE_openssh-client)
|
2019-01-28 07:38:44 +01:00
|
|
|
PKGARCH:=all
|
2014-09-16 02:37:29 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sshtunnel/description
|
2023-02-05 10:27:26 +01:00
|
|
|
Creates openssh ssh(1) local and remote tunnels configured in UCI file. Can be used to allow remote connections, possibly over NATed connections or without public IP/DNS
|
2014-09-16 02:37:29 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sshtunnel/conffiles
|
|
|
|
/etc/config/sshtunnel
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sshtunnel/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/sshtunnel.init $(1)/etc/init.d/sshtunnel
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
2020-08-24 22:49:45 +02:00
|
|
|
$(INSTALL_CONF) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
|
2014-09-16 02:37:29 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,sshtunnel))
|