2 # Copyright (C) 2010 segal.di.ubi.pt
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/sshtunnel
20 TITLE
:=Manages Local and Remote openssh ssh
(1) tunnels
21 MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
22 DEPENDS
:=+openssh-client
25 define Package
/sshtunnel
/description
26 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
29 define Package
/sshtunnel
/conffiles
36 define Package
/sshtunnel
/install
37 $(INSTALL_DIR
) $(1)/etc
/init.d
38 $(INSTALL_BIN
) .
/files
/initd_sshtunnel
$(1)/etc
/init.d
/sshtunnel
39 $(INSTALL_DIR
) $(1)/usr
/bin
40 $(INSTALL_BIN
) .
/files
/sshtunnel.sh
$(1)/usr
/bin
/
41 $(INSTALL_DIR
) $(1)/etc
/config
42 $(INSTALL_DATA
) .
/files
/uci_sshtunnel
$(1)/etc
/config
/sshtunnel
45 $(eval
$(call BuildPackage
,sshtunnel
))