0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 00:00:55 +00:00
Ray Wang d31598167e hev-socks5-tproxy: update to 2.6.0
Signed-off-by: Ray Wang <r@hev.cc>
2025-01-24 15:53:45 +08:00

54 lines
1.6 KiB
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

include $(TOPDIR)/rules.mk
PKG_NAME:=hev-socks5-tproxy
PKG_VERSION:=2.6.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:=31751059743eb98c5ca671b7405a918019f435f11fe9b9ca00c8b78075cf9744
PKG_MAINTAINER:=Ray Wang <r@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. Its 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))