shadowsocks-client: version bump to 0.6 2462/head
authorZhao, Gang <gang.zhao.42@gmail.com>
Sun, 6 Mar 2016 10:23:54 +0000 (18:23 +0800)
committerZhao, Gang <gang.zhao.42@gmail.com>
Sun, 6 Mar 2016 10:42:17 +0000 (18:42 +0800)
The patch has been merged by upstream.

Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com>
net/shadowsocks-client/Makefile
net/shadowsocks-client/patches/100-fortify-source-compat.patch [deleted file]

index e4344d6e6d935f9971e8c0edf86cf0ce791a151f..4e1427095377dbde64530b11a9ae208a30080892 100644 (file)
@@ -1,13 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=shadowsocks-client
-PKG_VERSION:=0.5
+PKG_VERSION:=0.6
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=http://github.com/zhao-gang/shadowsocks-tiny.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=d8ef02715f40de0fb7ba0f7267d3f8260f38ba80
+PKG_SOURCE_VERSION:=b59d754f838213d60b908aed0b7d4d5a81f273e2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_MAINTAINER:=Zhao, Gang <gang.zhao.42@gmail.com>
 
diff --git a/net/shadowsocks-client/patches/100-fortify-source-compat.patch b/net/shadowsocks-client/patches/100-fortify-source-compat.patch
deleted file mode 100644 (file)
index e4e1538..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
---- a/client.c
-+++ b/client.c
-@@ -111,7 +111,7 @@ int client_do_local_read(int sockfd, str
-                       goto out;
-       }
--      if (encrypt(sockfd, ln) == -1)
-+      if (crypto_encrypt(sockfd, ln) == -1)
-               goto out;
-       ret = do_send(ln->server_sockfd, ln, "cipher", 0);
-@@ -172,7 +172,7 @@ int client_do_server_read(int sockfd, st
-               }
-       }
--      if (decrypt(sockfd, ln) == -1)
-+      if (crypto_decrypt(sockfd, ln) == -1)
-               goto out;
-       if (ln->state & SS_UDP) {
---- a/crypto.c
-+++ b/crypto.c
-@@ -185,7 +185,7 @@ err:
-       return -1;
- }
--int encrypt(int sockfd, struct link *ln)
-+int crypto_encrypt(int sockfd, struct link *ln)
- {
-       int len, cipher_len;
-       EVP_CIPHER_CTX *ctx_p;
-@@ -223,7 +223,7 @@ err:
-       return -1;
- }
--int decrypt(int sockfd, struct link *ln)
-+int crypto_decrypt(int sockfd, struct link *ln)
- {
-       int len, text_len;
-       EVP_CIPHER_CTX *ctx_p;
---- a/crypto.h
-+++ b/crypto.h
-@@ -15,7 +15,7 @@ extern int iv_len;
- int crypto_init(char *key, char *method);
- void crypto_exit(void);
--int encrypt(int sockfd, struct link *ln);
--int decrypt(int sockfd, struct link *ln);
-+int crypto_encrypt(int sockfd, struct link *ln);
-+int crypto_decrypt(int sockfd, struct link *ln);
- #endif
---- a/server.c
-+++ b/server.c
-@@ -36,7 +36,7 @@ int server_do_remote_read(int sockfd, st
-                       goto out;
-       }
--      if (encrypt(sockfd, ln) == -1)
-+      if (crypto_encrypt(sockfd, ln) == -1)
-               goto out;
-       ret = do_send(ln->local_sockfd, ln, "cipher", 0);
-@@ -91,7 +91,7 @@ int server_do_local_read(int sockfd, str
-               }
-       }
--      if (decrypt(sockfd, ln) == -1)
-+      if (crypto_decrypt(sockfd, ln) == -1)
-               goto out;
-       if (ln->state & SS_UDP) {