diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-06-13 12:13:06 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-06-13 15:56:29 +0200 |
commit | dfb4b4cbc698aaa4e4f1798d46e3fda349a599a6 (patch) | |
tree | d6921615042860e9d1353ae644d5c368071dff74 /main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch | |
parent | cffed188deeaab6395053d91ca464ce1495b9569 (diff) | |
download | aports-dfb4b4cbc698aaa4e4f1798d46e3fda349a599a6.tar.gz aports-dfb4b4cbc698aaa4e4f1798d46e3fda349a599a6.tar.bz2 aports-dfb4b4cbc698aaa4e4f1798d46e3fda349a599a6.tar.xz |
main/uwsgi: refactor init and cleanup
* remove extraneous patches
* run uwsgi with its own user/group
* add support for POSIX Capabilities (libcap)
* simplify init with emperor mode
* set base emperor config /etc/uwsgi/uwsgi.ini
* set emperor dir to /etc/uwsgi/conf.d
* put pid and socket into /run/uwsgi (created by init)
Diffstat (limited to 'main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch')
-rw-r--r-- | main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch b/main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch deleted file mode 100644 index 8ab4d9ffff..0000000000 --- a/main/uwsgi/0002-Check-for-GNU-libc-instead-of-linux-for-use-of-execi.patch +++ /dev/null @@ -1,31 +0,0 @@ -From ab68dc90d3a6e3ae660adb65cf8a020d91eb8f09 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Mon, 10 Feb 2014 12:17:18 +0000 -Subject: [PATCH 2/4] Check for GNU libc instead of linux for use of execinfo.h - -Since execinfo.h is a GNU extension it makes more sense to check for GNU -than to assume that linux is GNU. - -This is needed for building on linux with musl libc. - -Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> ---- - core/uwsgi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/core/uwsgi.c b/core/uwsgi.c -index 67b175b..b3b25ae 100644 ---- a/core/uwsgi.c -+++ b/core/uwsgi.c -@@ -1690,7 +1690,7 @@ void uwsgi_plugins_atexit(void) { - - void uwsgi_backtrace(int depth) { - --#if defined(__linux__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO) -+#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO) - - #include <execinfo.h> - --- -1.8.5.3 - |