mirror of
https://github.com/openwrt/packages.git
synced 2025-11-05 22:35:57 +00:00
Upstream changelog: https://github.com/heiher/hev-socks5-tproxy/releases/tag/2.9.0 Signed-off-by: Ray Wang <git@hev.cc>
54 lines
1.6 KiB
Makefile
54 lines
1.6 KiB
Makefile
include $(TOPDIR)/rules.mk
|
||
|
||
PKG_NAME:=hev-socks5-tproxy
|
||
PKG_VERSION:=2.9.0
|
||
PKG_RELEASE:=1
|
||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||
PKG_SOURCE_URL:=https://github.com/heiher/hev-socks5-tproxy/releases/download/$(PKG_VERSION)
|
||
PKG_HASH:=2a1c76bfb986e34ab8ba54be9a6c8faf4fa4854b7ee45b0f8e4d108c4c9d4cb2
|
||
|
||
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-tproxy
|
||
SECTION:=net
|
||
CATEGORY:=Network
|
||
TITLE:=A simple, lightweight socks5 transparent proxy for Linux
|
||
URL:=https://github.com/heiher/hev-socks5-tproxy
|
||
endef
|
||
|
||
define Package/hev-socks5-tproxy/description
|
||
hev-socks5-tproxy is a lightweight tool that enables transparent proxying of
|
||
network traffic through a SOCKS5 proxy. It’s designed to enhance privacy, bypass
|
||
restrictions, and improve connectivity without requiring manual configuration on
|
||
client devices.
|
||
endef
|
||
|
||
define Package/hev-socks5-tproxy/conffiles
|
||
/etc/config/hev-socks5-tproxy
|
||
/etc/hev-socks5-tproxy/
|
||
endef
|
||
|
||
define Package/hev-socks5-tproxy/install
|
||
$(INSTALL_DIR) $(1)/usr/bin
|
||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/hev-socks5-tproxy $(1)/usr/bin/
|
||
|
||
$(INSTALL_DIR) $(1)/etc/hev-socks5-tproxy/
|
||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/conf/main.yml $(1)/etc/hev-socks5-tproxy/main.yml
|
||
|
||
$(INSTALL_DIR) $(1)/etc/config/
|
||
$(INSTALL_CONF) ./files/hev-socks5-tproxy.config $(1)/etc/config/hev-socks5-tproxy
|
||
|
||
$(INSTALL_DIR) $(1)/etc/init.d/
|
||
$(INSTALL_BIN) ./files/hev-socks5-tproxy.init $(1)/etc/init.d/hev-socks5-tproxy
|
||
endef
|
||
|
||
$(eval $(call BuildPackage,hev-socks5-tproxy))
|