Сompile failed

No guarantee that this works, but it does build!

openwrt/package/openwrt-redsocks2$ git diff HEAD^
diff --git a/Makefile b/Makefile
index da48d92..baca193 100644
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=redsocks2
-PKG_VERSION:=0.60
-PKG_RELEASE=2
+PKG_VERSION:=2018-09-27
+PKG_RELEASE=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/aa65535/openwrt-redsocks2/releases/download/v$(PKG_VERSION)
-PKG_MD5SUM:=b88bf23bf75fa7642f8d230db21f73b9
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/semigodking/redsocks
+PKG_SOURCE_VERSION:=4133bcf5f9ee7dd7687ab55bd36c051d149eb3ea
+PKG_SOURCE_DATE:=2018-09-27
+# make package/openwrt-redsocks2/check
+# WARNING: PKG_MIRROR_HASH is missing, set to f100249533ff792df5ed20e4f148d244e91ae2eb8a3edbc181e9481ee3f16ee3
+PKG_MIRROR_HASH:=f100249533ff792df5ed20e4f148d244e91ae2eb8a3edbc181e9481ee3f16ee3
 
 PKG_LICENSE:=GPLv2
 PKG_LICENSE_FILES:=LICENSE
@@ -28,7 +33,7 @@ define Package/redsocks2
        CATEGORY:=Network
        TITLE:=Redirect any TCP connection to a SOCKS or HTTPS proxy server
        URL:=https://github.com/semigodking/redsocks
-       DEPENDS:=+libevent2
+       DEPENDS:=+libevent2 +libopenssl
 endef
 
 define Package/redsocks2/description

It's apparently possible to build it with the "polar" libraries (now known as mbedTLS), but this should get you going with the newer code.

1 Like