lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1125B)


      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:=4
     12 PKG_RELEASE:=1
     13 PKG_LICENSE:=GPL-2.0+
     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:=+openssh-client
     25 endef
     26 
     27 define Package/sshtunnel/description
     28 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 endef
     30 
     31 define Package/sshtunnel/conffiles
     32 /etc/config/sshtunnel
     33 endef
     34 
     35 define Build/Compile
     36 endef
     37 
     38 define Package/sshtunnel/install
     39 	$(INSTALL_DIR) $(1)/etc/init.d
     40 	$(INSTALL_BIN) ./files/sshtunnel.init $(1)/etc/init.d/sshtunnel
     41 	$(INSTALL_DIR) $(1)/etc/config
     42 	$(INSTALL_DATA) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
     43 endef
     44 
     45 $(eval $(call BuildPackage,sshtunnel))