blob: 8977e46f5deb4f7c9ad662d444977d793fa17e9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
include $(TOPDIR)/rules.mk
PKG_NAME:=hev-socks5-tunnel
PKG_VERSION:=2.14.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/heiher/hev-socks5-tunnel/releases/download/$(PKG_VERSION)
PKG_HASH:=d517a16072eea7320b0430bdf8a152a901a3f3569ff86858729d1a80fa9d5cd0
PKG_MAINTAINER:=Ray Wang <git@hev.cc>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=License
PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/hev-socks5-tunnel
SECTION:=net
CATEGORY:=Network
TITLE:=A high-performance tun2socks for Unix
URL:=https://github.com/heiher/hev-socks5-tunnel
endef
define Package/hev-socks5-tunnel/description
hev-socks5-tunnel is a fast and lightweight tool that routes internet traffic
through a SOCKS5 proxy, enhancing privacy and bypassing restrictions. It’s known
for its efficiency, simplicity, and low resource usage, making it ideal for secure
and optimized online connections.
endef
define Package/hev-socks5-tunnel/conffiles
/etc/config/hev-socks5-tunnel
/etc/hev-socks5-tunnel/
endef
define Package/hev-socks5-tunnel/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/hev-socks5-tunnel $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/hev-socks5-tunnel/
$(INSTALL_CONF) $(PKG_BUILD_DIR)/conf/main.yml $(1)/etc/hev-socks5-tunnel/main.yml
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_CONF) ./files/hev-socks5-tunnel.config $(1)/etc/config/hev-socks5-tunnel
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) ./files/hev-socks5-tunnel.init $(1)/etc/init.d/hev-socks5-tunnel
endef
$(eval $(call BuildPackage,hev-socks5-tunnel))
|