Commit graph

15 commits

Author SHA1 Message Date
Deng Qingfang
b35862d06e uwsgi-cgi: update to 2.0.18 and use official tarball
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-02-10 20:25:10 +08:00
Ansuel Smith
c94a9968f7
uwsgi-cgi: improve luci support
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-20 14:56:26 +02:00
Ansuel Smith
a93066b529
uwsgi-cgi: fix compilation on Darwin system
Currently the uwsgiconfig python script append some additional compilation flag based on the host system. This fix some problem related with this by hardcoding usgi_os variable to Linux

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-18 18:45:21 +02:00
Ansuel Smith
0410c7b238
uwsgi-cgi: set socket to 666 permission
Currently the socket file for uwsgi can be open only from root user, change this to permit other use to use it. (Needed for nginx to use uwsgi as nobody or dedicated user)

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-18 01:52:09 +02:00
Daniel Engberg
9eefad0ad1 uwsgi-cgi: General cleanup
* Remove stray LICENSE file added to repo
* Use codeload instead of git
* Add proper (as close as possible) SPDX license
* Drop OpenSSL, PCRE and Libxml2 as dependencies
  Makes it more suitable alternative for small flash devices
* Drop /etc/uwsgi as there's only one config file
* Remove stray /etc/nginx directory
* Reorganize configuration file
* Convert init.d script to use procd
* Hardset 3 threads and processes, seems like a good tradeoff
  between performance and memory usage instead of doing
  auto scaling based on amout of cpu cores/threads

Non-scientific benchmark (tm)
ramips, mt7621, WiTi Board 16/256M

1. 3 threads, 6 processes
2. 2 threads, 2 processes
3. 3 threads, 3 processes

- LuCI Main page

1.48s
1.72s
1.64s

- Status --> Firewall

6.24s
6.39s
6.40s

- Status --> Kernel log

266ms
256ms
251ms

- Network --> Firewall

936ms
1.08s
1.07s

- Network --> Wireless

1.39s
1.42s
1.40s

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-15 22:53:35 +02:00
Hannu Nyman
6365c1aa82
Merge pull request #6427 from Ansuel/uwsgiupdate
uwsgi-cgi: bump to latest release
2018-07-09 19:12:16 +03:00
Ansuel Smith
899c3c3165
uwsgi-cgi: bump to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-09 12:30:39 +02:00
Yousong Zhou
77c2de7f35 uwsgi-cgi: fix libcap detection
uwsgi-cgi's build system requires CPP to be set to avoid using include
path from the build system.  Otherwise it may wrongly detect
sys/capability.h of the host system and enables libcap support

CPP variable was once introduced into build system in 2017 but then
reverted in b957e45 ("rukes.mk: this patch broken grub2 builds")

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-09 11:33:55 +08:00
Ansuel Smith
052996773a
uwsgi-cgi: improve uwsgi configuration
This fix wrong configuration to the luci uwsgi conf

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-16 16:08:23 +02:00
Ansuel Smith
c89dc49dfb
uwsgi: add luci-support package
This adds additional specific files to support luci on the nginx

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-14 20:37:20 +02:00
Ansuel Smith
dc66614a65
uwsgi-cgi: remove useless dep
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04 22:51:47 +02:00
Ansuel Smith
bcc1c9615a
uwsgi-cgi: another missing library
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04 08:35:18 +02:00
Ansuel Smith
e4917a9bc6
uwsgi-cgi: add missing library
This fix compilation error for the missing library libjansson

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04 07:58:08 +02:00
Ansuel Smith
fee38c1cdf
uwsgi-cgi: fix error
Bad makefile, fix missing separator error.
Also add PKG_MIRROR_HASH

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-03 19:58:24 +02:00
Ansuel Smith
6fe09e86d1
uwsgi-cgi: New package
Uwsgi compiled with cgi profile to support plain cgi for ngix webserver

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-05-21 17:24:09 +02:00