You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=sshtunnel
  9. PKG_VERSION:=4
  10. PKG_RELEASE:=2
  11. PKG_LICENSE:=GPL-2.0+
  12. PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/sshtunnel
  15. SECTION:=net
  16. CATEGORY:=Network
  17. SUBMENU:=SSH
  18. TITLE:=Manages Local and Remote openssh ssh(1) tunnels
  19. DEPENDS:=+openssh-client
  20. endef
  21. define Package/sshtunnel/description
  22. 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
  23. endef
  24. define Package/sshtunnel/conffiles
  25. /etc/config/sshtunnel
  26. endef
  27. define Build/Compile
  28. endef
  29. define Package/sshtunnel/install
  30. $(INSTALL_DIR) $(1)/etc/init.d
  31. $(INSTALL_BIN) ./files/sshtunnel.init $(1)/etc/init.d/sshtunnel
  32. $(INSTALL_DIR) $(1)/etc/config
  33. $(INSTALL_DATA) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
  34. endef
  35. $(eval $(call BuildPackage,sshtunnel))