mirror of
https://github.com/kenzok8/small-package
synced 2025-01-05 11:36:47 +08:00
update 2024-02-16 12:47:02
This commit is contained in:
parent
830691eb12
commit
9f104387cc
@ -1,17 +0,0 @@
|
||||
diff -ur a/server/server.c b/server/server.c
|
||||
--- a/server/server.c
|
||||
+++ b/server/server.c
|
||||
@@ -1942,12 +1942,12 @@
|
||||
text = (char*)malloc(strlen(protocol) - 11);
|
||||
memcpy(text, protocol, strlen(protocol) - 11);
|
||||
int length = strlen(protocol) - 11;
|
||||
- free(protocol);
|
||||
obfs = (char*)malloc(length);
|
||||
memset(protocol, 0x00, length);
|
||||
memcpy(protocol, text, length);
|
||||
LOGI("protocol compatible enable, %s", protocol);
|
||||
free(text);
|
||||
+ free(protocol);
|
||||
protocol_compatible = 1;
|
||||
}
|
||||
}
|
@ -6,29 +6,29 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
ifeq ($(ARCH),aarch64)
|
||||
PKG_ARCH_VERYSYNC:=arm64
|
||||
PKG_HASH_VERYSYNC:=11f633790539f7b63253d6af886aff6ac831c07320163c2a500598ad9f42f941
|
||||
PKG_HASH_VERYSYNC:=f4461b26fd4bd56043b1bbb8c3156265bad41a1c53ab3853eb18b241657c5532
|
||||
else ifeq ($(ARCH),arm)
|
||||
PKG_ARCH_VERYSYNC:=arm
|
||||
PKG_HASH_VERYSYNC:=caf3438ead6ef58e9de201dbb94bd3dca718ca26255ea88252f33121bbeb8b63
|
||||
PKG_HASH_VERYSYNC:=c3b7225594f09023c03ad8ded788c49c5ef0757cc4aaf50677a9c335da4f1512
|
||||
else ifeq ($(ARCH),i386)
|
||||
PKG_ARCH_VERYSYNC:=386
|
||||
PKG_HASH_VERYSYNC:=10ef28459f9b8156ad11307b3eb37f08e5447621e2ec15832da250c7f7c1dca0
|
||||
PKG_HASH_VERYSYNC:=1c5b3d8bb79dcda9f2688f4b431a5e2a2aa3898ad399a09f6901a68dc545c104
|
||||
else ifeq ($(ARCH),mips)
|
||||
PKG_ARCH_VERYSYNC:=mips
|
||||
PKG_HASH_VERYSYNC:=2c1e81952fc62cde5b0f6bc5341d3f8ba81a59dd9e809cf499d3fad0adaf493e
|
||||
PKG_HASH_VERYSYNC:=fb40b2231f8f6b8175384b88205ba47c07aab58c950f66f081c5453e7d439d73
|
||||
else ifeq ($(ARCH),mipsel)
|
||||
PKG_ARCH_VERYSYNC:=mipsle
|
||||
PKG_HASH_VERYSYNC:=e28227af74f51da7b301350d8a44b8d6c36a587b7dbed52af255cef3ab0b05d9
|
||||
PKG_HASH_VERYSYNC:=7b419af7e96522920e51f79a2d0dd26d67234ffeb7e1d739f11a129abf6eef62
|
||||
else ifeq ($(ARCH),powerpc64)
|
||||
PKG_ARCH_VERYSYNC:=ppc64
|
||||
PKG_HASH_VERYSYNC:=6ec7b1df17cf7ed7257fe15e3d11b3bbf0ddb48241d48f9950b4133d9ff3e643
|
||||
PKG_HASH_VERYSYNC:=9042eed13c00d3e35a3ac81b3a0f4738f8452ee14db7f7bcad4e058706447401
|
||||
else ifeq ($(ARCH),x86_64)
|
||||
PKG_ARCH_VERYSYNC:=amd64
|
||||
PKG_HASH_VERYSYNC:=8a7d26e0839a7ab371be341e7ffe819423707734adda30d17a006a89ffe9a0a4
|
||||
PKG_HASH_VERYSYNC:=ccd1c64e6f3bb96a71870b6881b391dc4b02f929180f2874856dfe588da21f14
|
||||
endif
|
||||
|
||||
PKG_NAME:=verysync
|
||||
PKG_VERSION:=2.16.0
|
||||
PKG_VERSION:=2.17.0
|
||||
PKG_RELEASE:=$(AUTORELEASE)
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-linux-$(PKG_ARCH_VERYSYNC)-v$(PKG_VERSION).tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user