diff --git a/package/ctcgfw/microsocks11/Makefile b/package/ctcgfw/microsocks11/Makefile index e80bdf21bf..7dbf05e6b3 100644 --- a/package/ctcgfw/microsocks11/Makefile +++ b/package/ctcgfw/microsocks11/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=microsocks11 PKG_VERSION:=2.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/EvanMcBroom/microsocks11/tar.gz/v$(PKG_VERSION)? diff --git a/package/ctcgfw/microsocks11/patches/100-main.cpp-fix-typo-error-of-getting-password.patch b/package/ctcgfw/microsocks11/patches/100-main.cpp-fix-typo-error-of-getting-password.patch new file mode 100644 index 0000000000..3228f505c7 --- /dev/null +++ b/package/ctcgfw/microsocks11/patches/100-main.cpp-fix-typo-error-of-getting-password.patch @@ -0,0 +1,26 @@ +From 74265362c4a44e2abe6594f263973634092d5c6d Mon Sep 17 00:00:00 2001 +From: CN_SZTL +Date: Fri, 29 Jan 2021 05:39:16 +0000 +Subject: [PATCH] main.cpp: fix typo error of getting password + +Signed-off-by: CN_SZTL +--- + main.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/main.cpp b/main.cpp +index e7035be..47df5d0 100644 +--- a/main.cpp ++++ b/main.cpp +@@ -25,7 +25,7 @@ int main(int argc, char** argv) { + + bool auth{ result["1"].count() != 0 }; + bool user{ result["u"].count() != 0 }; +- bool password{ result["p"].count() != 0 }; ++ bool password{ result["P"].count() != 0 }; + + if (user ^ password) { + fprintf(stderr, "error: user and password must be used together\n"); +-- +2.17.1 +