2 # Copyright (C) 2010-2015 OpenWrt.org
3 # Copyright (C) 2010 segal.di.ubi.pt
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_LICENSE
:=GPL-2.0
-or-later
15 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
17 include $(INCLUDE_DIR
)/package.mk
19 define Package
/sshtunnel
23 TITLE
:=Manages local and remote openssh ssh
(1) tunnels
24 DEPENDS
:=@
(DROPBEAR_DBCLIENT||PACKAGE_openssh-client
)
28 define Package
/sshtunnel
/description
29 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
32 define Package
/sshtunnel
/conffiles
39 define Package
/sshtunnel
/install
40 $(INSTALL_DIR
) $(1)/etc
/init.d
41 $(INSTALL_BIN
) .
/files
/sshtunnel.init
$(1)/etc
/init.d
/sshtunnel
42 $(INSTALL_DIR
) $(1)/etc
/config
43 $(INSTALL_CONF
) .
/files
/uci_sshtunnel
$(1)/etc
/config
/sshtunnel
46 $(eval
$(call BuildPackage
,sshtunnel
))