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.

46 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. PKGARCH:=all
  21. endef
  22. define Package/sshtunnel/description
  23. 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
  24. endef
  25. define Package/sshtunnel/conffiles
  26. /etc/config/sshtunnel
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/sshtunnel/install
  31. $(INSTALL_DIR) $(1)/etc/init.d
  32. $(INSTALL_BIN) ./files/sshtunnel.init $(1)/etc/init.d/sshtunnel
  33. $(INSTALL_DIR) $(1)/etc/config
  34. $(INSTALL_DATA) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
  35. endef
  36. $(eval $(call BuildPackage,sshtunnel))