2 # Copyright (C) 2010-2014 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.
9 include $(TOPDIR
)/rules.mk
16 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/sshtunnel
24 TITLE
:=Manages Local and Remote openssh ssh
(1) tunnels
25 DEPENDS
:=+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)/usr
/bin
43 $(INSTALL_BIN
) .
/files
/sshtunnel.sh
$(1)/usr
/bin
/
44 $(INSTALL_DIR
) $(1)/etc
/config
45 $(INSTALL_DATA
) .
/files
/uci_sshtunnel
$(1)/etc
/config
/sshtunnel
48 $(eval
$(call BuildPackage
,sshtunnel
))