mcproxy: include PKG_MIRROR_HASH, refresh patches
This avoids unnecessary downloads and rebuilds. Patches were refreshed to please github PR checks. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
parent
ade1fa6ebc
commit
564ca99e2c
3 changed files with 7 additions and 12 deletions
|
@ -10,10 +10,11 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=mcproxy
|
PKG_NAME:=mcproxy
|
||||||
PKG_SOURCE_VERSION:=93b5ace42268160ebbfff4c61818fb15fa2d9b99
|
PKG_SOURCE_VERSION:=93b5ace42268160ebbfff4c61818fb15fa2d9b99
|
||||||
PKG_VERSION:=2017-08-24-$(PKG_SOURCE_VERSION)
|
PKG_VERSION:=2017-08-24-$(PKG_SOURCE_VERSION)
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/mcproxy/mcproxy.git
|
PKG_SOURCE_URL:=https://github.com/mcproxy/mcproxy.git
|
||||||
|
PKG_MIRROR_HASH:=5779a78dedaef491825ada632fe6d8282067025dede41d0eede5c441893a2994
|
||||||
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
|
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
|
||||||
PKG_LICENSE:=GPL-2.0+
|
PKG_LICENSE:=GPL-2.0+
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/mc_socket.cpp
|
--- a/mcproxy/src/utils/mc_socket.cpp
|
||||||
===================================================================
|
+++ b/mcproxy/src/utils/mc_socket.cpp
|
||||||
--- mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99.orig/mcproxy/src/utils/mc_socket.cpp
|
|
||||||
+++ mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/mc_socket.cpp
|
|
||||||
@@ -37,6 +37,10 @@
|
@@ -37,6 +37,10 @@
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -13,10 +11,8 @@ Index: mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/u
|
||||||
std::string ipAddrResolver(std::string ipAddr)
|
std::string ipAddrResolver(std::string ipAddr)
|
||||||
{
|
{
|
||||||
std::string str[][2] = {
|
std::string str[][2] = {
|
||||||
Index: mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/utils/sourcefilter.cpp
|
+++ b/mcproxy/src/utils/sourcefilter.cpp
|
||||||
@@ -0,0 +1,165 @@
|
@@ -0,0 +1,165 @@
|
||||||
+/* Get source filter. Linux version.
|
+/* Get source filter. Linux version.
|
||||||
+ Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
+ Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/proxy/proxy_instance.cpp
|
--- a/mcproxy/src/proxy/proxy_instance.cpp
|
||||||
===================================================================
|
+++ b/mcproxy/src/proxy/proxy_instance.cpp
|
||||||
--- mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99.orig/mcproxy/src/proxy/proxy_instance.cpp
|
|
||||||
+++ mcproxy-2017-08-24-93b5ace42268160ebbfff4c61818fb15fa2d9b99/mcproxy/src/proxy/proxy_instance.cpp
|
|
||||||
@@ -171,6 +171,9 @@ void proxy_instance::worker_thread()
|
@@ -171,6 +171,9 @@ void proxy_instance::worker_thread()
|
||||||
HC_LOG_TRACE("");
|
HC_LOG_TRACE("");
|
||||||
while (m_running) {
|
while (m_running) {
|
||||||
|
|
Loading…
Reference in a new issue