php8: update to 8.3.1
[feed/packages.git] / net / sshtunnel / Makefile
1 #
2 # Copyright (C) 2010-2015 OpenWrt.org
3 # Copyright (C) 2010 segal.di.ubi.pt
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sshtunnel
11 PKG_VERSION:=5
12 PKG_RELEASE:=1
13 PKG_LICENSE:=GPL-2.0-or-later
14
15 PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/sshtunnel
20 SECTION:=net
21 CATEGORY:=Network
22 SUBMENU:=SSH
23 TITLE:=Manages local and remote openssh ssh(1) tunnels
24 DEPENDS:=@(DROPBEAR_DBCLIENT||PACKAGE_openssh-client)
25 PKGARCH:=all
26 endef
27
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
30 endef
31
32 define Package/sshtunnel/conffiles
33 /etc/config/sshtunnel
34 endef
35
36 define Build/Compile
37 endef
38
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
44 endef
45
46 $(eval $(call BuildPackage,sshtunnel))