update 2024-04-24 00:19:55
This commit is contained in:
parent
d4a0c60c93
commit
0cebe8f70f
|
@ -8,13 +8,15 @@ PKG_NAME:=naiveproxy
|
||||||
PKG_VERSION:=123.0.6312.40-1
|
PKG_VERSION:=123.0.6312.40-1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
# intel 80386 & riscv64
|
# intel 80386 & riscv64 & cortex-a76
|
||||||
ifeq ($(ARCH_PACKAGES),i386_pentium-mmx)
|
ifeq ($(ARCH_PREBUILT),aarch64_cortex-a76)
|
||||||
ARCH_PACKAGES:=x86
|
ARCH_PREBUILT:=aarch64_generic
|
||||||
else ifeq ($(ARCH_PACKAGES),i386_pentium4)
|
else ifeq ($(ARCH_PREBUILT),i386_pentium-mmx)
|
||||||
ARCH_PACKAGES:=x86
|
ARCH_PREBUILT:=x86
|
||||||
else ifeq ($(ARCH_PACKAGES),riscv64_riscv64)
|
else ifeq ($(ARCH_PREBUILT),i386_pentium4)
|
||||||
ARCH_PACKAGES:=riscv64
|
ARCH_PREBUILT:=x86
|
||||||
|
else ifeq ($(ARCH_PREBUILT),riscv64_riscv64)
|
||||||
|
ARCH_PREBUILT:=riscv64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH_PACKAGES),aarch64_cortex-a53)
|
ifeq ($(ARCH_PACKAGES),aarch64_cortex-a53)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uwsgi
|
PKG_NAME:=uwsgi
|
||||||
PKG_VERSION:=2.0.21
|
PKG_VERSION:=2.0.25.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PYPI_NAME:=uWSGI
|
PYPI_NAME:=uWSGI
|
||||||
PYPI_SOURCE_NAME:=uwsgi
|
PYPI_SOURCE_NAME:=uwsgi
|
||||||
PKG_HASH:=35a30d83791329429bc04fe44183ce4ab512fcf6968070a7bfba42fc5a0552a9
|
PKG_HASH:=d653d2d804c194c8cbe2585fa56efa2650313ae75c686a9d7931374d4dfbfc6e
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0-or-later
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
@ -34,7 +34,7 @@ define Package/uwsgi
|
||||||
SUBMENU:=Web Servers/Proxies
|
SUBMENU:=Web Servers/Proxies
|
||||||
TITLE:=The uWSGI server
|
TITLE:=The uWSGI server
|
||||||
URL:=https://uwsgi-docs.readthedocs.io/en/latest/
|
URL:=https://uwsgi-docs.readthedocs.io/en/latest/
|
||||||
DEPENDS:=+libpcre +libcap +libuuid
|
DEPENDS:=+libpcre2 +libcap +libuuid
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/uwsgi-logfile-plugin
|
define Package/uwsgi-logfile-plugin
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/uwsgiconfig.py
|
--- a/uwsgiconfig.py
|
||||||
+++ b/uwsgiconfig.py
|
+++ b/uwsgiconfig.py
|
||||||
@@ -859,11 +859,11 @@ class uConf(object):
|
@@ -863,11 +863,11 @@ class uConf(object):
|
||||||
self.cflags.append('-DUWSGI_HAS_EXECINFO')
|
self.cflags.append('-DUWSGI_HAS_EXECINFO')
|
||||||
report['execinfo'] = True
|
report['execinfo'] = True
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
--- a/uwsgiconfig.py
|
--- a/uwsgiconfig.py
|
||||||
+++ b/uwsgiconfig.py
|
+++ b/uwsgiconfig.py
|
||||||
@@ -688,7 +688,7 @@ class uConf(object):
|
@@ -684,7 +684,6 @@ class uConf(object):
|
||||||
self.include_path += os.environ['UWSGI_INCLUDES'].split(',')
|
self.include_path += os.environ['UWSGI_INCLUDES'].split(',')
|
||||||
|
|
||||||
|
cflags = [
|
||||||
- self.cflags = ['-O2', '-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
|
- '-O2',
|
||||||
+ self.cflags = ['-I.', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split() + self.get('cflags','').split()
|
'-I.',
|
||||||
|
'-Wall',
|
||||||
report['kernel'] = uwsgi_os
|
'-D_LARGEFILE_SOURCE',
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/uwsgiconfig.py
|
--- a/uwsgiconfig.py
|
||||||
+++ b/uwsgiconfig.py
|
+++ b/uwsgiconfig.py
|
||||||
@@ -5,9 +5,9 @@ uwsgi_version = '2.0.21'
|
@@ -5,9 +5,9 @@ uwsgi_version = '2.0.25.1'
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
From b55d659c2ef6fb80b3b5d70192b1271992c393fc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mathieu Lacage <mathieu.lacage@gmail.com>
|
||||||
|
Date: Tue, 30 Oct 2018 17:08:19 +0100
|
||||||
|
Subject: [PATCH] ssl-option can't be set
|
||||||
|
|
||||||
|
The ssl-option variable can't be set: it is designed to take a numeric argument but is specified as a "no_argument" option which results in an error when trying to set this option. This changeset sets the proper type.
|
||||||
|
|
||||||
|
Given the changeset which introduced this option with the ssl-enable3 option which is of type no_argument, I suspect someone copy/pasted the ssl-enable3 configuration file without testing the change.
|
||||||
|
---
|
||||||
|
core/uwsgi.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/core/uwsgi.c
|
||||||
|
+++ b/core/uwsgi.c
|
||||||
|
@@ -678,7 +678,7 @@ static struct uwsgi_option uwsgi_base_op
|
||||||
|
{"ssl-enable3", no_argument, 0, "enable SSLv3 (insecure)", uwsgi_opt_true, &uwsgi.sslv3, 0},
|
||||||
|
{"ssl-enable-sslv3", no_argument, 0, "enable SSLv3 (insecure)", uwsgi_opt_true, &uwsgi.sslv3, 0},
|
||||||
|
{"ssl-enable-tlsv1", no_argument, 0, "enable TLSv1 (insecure)", uwsgi_opt_true, &uwsgi.tlsv1, 0},
|
||||||
|
- {"ssl-option", no_argument, 0, "set a raw ssl option (numeric value)", uwsgi_opt_add_string_list, &uwsgi.ssl_options, 0},
|
||||||
|
+ {"ssl-option", required_argument, 0, "set a raw ssl option (numeric value)", uwsgi_opt_add_string_list, &uwsgi.ssl_options, 0},
|
||||||
|
#if defined(UWSGI_PCRE) || defined(UWSGI_PCRE2)
|
||||||
|
{"sni-regexp", required_argument, 0, "add an SNI-governed SSL context (the key is a regexp)", uwsgi_opt_sni, NULL, 0},
|
||||||
|
#endif
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/core/uwsgi.c
|
--- a/core/uwsgi.c
|
||||||
+++ b/core/uwsgi.c
|
+++ b/core/uwsgi.c
|
||||||
@@ -1822,7 +1822,7 @@ void uwsgi_plugins_atexit(void) {
|
@@ -1794,7 +1794,7 @@ void uwsgi_plugins_atexit(void) {
|
||||||
|
|
||||||
void uwsgi_backtrace(int depth) {
|
void uwsgi_backtrace(int depth) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue