Browse Source

redsocks2: Bump version to 0.71

zxl hhyccc 6 months ago
parent
commit
40c85bce8d
1 changed files with 18 additions and 23 deletions
  1. 18 23
      redsocks2/Makefile

+ 18 - 23
redsocks2/Makefile

@@ -1,35 +1,34 @@
+# SPDX-License-Identifier: GPL-3.0-only
 #
-# Copyright (C) 2014 OpenWrt-dist
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
+# Copyright (C) 2021 ImmortalWrt.org
 
 include $(TOPDIR)/rules.mk
 
-
 PKG_NAME:=redsocks2
-PKG_VERSION:=0.67
-PKG_RELEASE:=4
+PKG_VERSION:=0.71
+PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/semigodking/redsocks.git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=d94c245ea47859cda5b4b7373308589206b97bdc
-PKG_MIRROR_HASH:=938f859d1b55a91aa5cbcda3ddff1d04ccab292f784b0434060c73acab12c457
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_DATE:=2024-12-05
+PKG_SOURCE_VERSION:=5d2db3e15543854da30e88af40748dfe63af2c28
+PKG_MIRROR_HASH:=5c06c3646434c498fe22379cb2085269d1e384e1a2db2941ca844a0a5da1f0dc
+
 PKG_MAINTAINER:=semigodking <[email protected]>
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_LICENSE:=Apache-2.0
+PKG_LICENSE_FILES:=LICENSE
+
+PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/redsocks2
-	SECTION:=net
-	CATEGORY:=Network
-	SUBMENU:=Web Servers/Proxies
-	TITLE:=Redirect any TCP connection to a SOCKS or HTTPS proxy server
-	URL:=https://github.com/semigodking/redsocks
-	DEPENDS:=+libevent2 +libopenssl
+  SECTION:=net
+  CATEGORY:=Network
+  SUBMENU:=Web Servers/Proxies
+  TITLE:=Redirect any TCP connection to a SOCKS or HTTPS proxy server
+  URL:=https://github.com/semigodking/redsocks
+  DEPENDS:=+libevent2 +libopenssl
 endef
 
 define Package/redsocks2/description
@@ -38,10 +37,6 @@ The name is changed to be REDSOCKS2 since this release to distinguish with origi
 This variant is useful for anti-GFW (Great Fire Wall).
 endef
 
-define Package/redsocks2/conffiles
-/etc/config/redsocks2
-endef
-
 define Build/Compile
 	$(call Build/Compile/Default,DISABLE_SHADOWSOCKS=true)
 endef