head 1.8; access; symbols pkgsrc-2023Q4:1.8.0.2 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.7.0.36 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.34 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.32 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.30 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.28 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.26 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.24 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.22 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.20 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.18 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.16 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.14 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.12 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.10 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.6 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.8 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.4 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.2 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.5.0.2 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.4.0.8 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.6 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.4 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.2 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.1.0.34 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.32 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.28 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.26 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.24 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.22 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.20 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.18 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.16 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.14 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.12 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.10 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.8 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.6 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.4 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @# @; 1.8 date 2023.10.29.18.18.03; author wiz; state Exp; branches; next 1.7; commitid hcjH5SgpIOccayKE; 1.7 date 2019.04.29.03.28.39; author dholland; state Exp; branches; next 1.6; commitid Kq0YxHwWvn9e5clB; 1.6 date 2019.04.27.15.40.44; author roy; state Exp; branches; next 1.5; commitid YNuEnGt30fDCc0lB; 1.5 date 2019.03.06.13.07.58; author joerg; state Exp; branches; next 1.4; commitid 2jiH9w0fQZ8A1jeB; 1.4 date 2018.03.19.09.28.04; author adam; state Exp; branches; next 1.3; commitid k3nLpBg8lf2J73vA; 1.3 date 2018.03.16.23.39.54; author joerg; state Exp; branches; next 1.2; commitid LyKjNu0ldQH2WJuA; 1.2 date 2018.02.13.08.34.03; author adam; state Exp; branches; next 1.1; commitid AI9uANgdHDU1VFqA; 1.1 date 2014.01.23.14.47.05; author wiz; state Exp; branches; next ; commitid zfdt9gpWUbHSBfmx; desc @@ 1.8 log @py-uwsgi: add Python 3.12 support From https://github.com/unbit/uwsgi/pull/2542 @ text @# $NetBSD: options.mk,v 1.7 2019/04/29 03:28:39 dholland Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.py-uwsgi PKG_SUPPORTED_OPTIONS= debug openssl pcre uuid uwsgi-sse_offload yaml PKG_SUGGESTED_OPTIONS+= libxml2 openssl pcre PKG_OPTIONS_OPTIONAL_GROUPS+= json xml PKG_OPTIONS_GROUP.json= jansson yajl PKG_OPTIONS_GROUP.xml= expat libxml2 .include "../../mk/bsd.options.mk" UWSGI_DEBUG= debug=false .if !empty(PKG_OPTIONS:Mdebug) UWSGI_DEBUG= debug=true .endif .if !empty(PKG_OPTIONS:Mexpat) .include "../../textproc/expat/buildlink3.mk" UWSGI_XML= xml=expat .elif !empty(PKG_OPTIONS:Mlibxml2) .include "../../textproc/libxml2/buildlink3.mk" UWSGI_XML= xml=libxml2 .else UWSGI_XML= xml=false .endif .if !empty(PKG_OPTIONS:Mjansson) .include "../../textproc/jansson/buildlink3.mk" UWSGI_JSON= json=jansson .elif !empty(PKG_OPTIONS:Myajl) .include "../../devel/yajl/buildlink3.mk" UWSGI_JSON= json=yajl .else UWSGI_JSON= json=false .endif .if !empty(PKG_OPTIONS:Mopenssl) .include "../../security/openssl/buildlink3.mk" UWSGI_SSL= ssl=true .else UWSGI_SSL= ssl=false .endif .if !empty(PKG_OPTIONS:Mpcre) .include "../../devel/pcre/buildlink3.mk" UWSGI_PCRE= pcre=true .else UWSGI_PCRE= pcre=false .endif .if !empty(PKG_OPTIONS:Muwsgi-sse_offload) SSE_REVISION= 8253573a0db1c7d7b9d968d55669e70e40355bed SSE_DISTNAME= ${SSE_REVISION}.zip SITES.${SSE_DISTNAME}= https://github.com/unbit/uwsgi-sse-offload/archive/ DISTFILES+= ${SSE_DISTNAME} UWSGI_SSE= sse_offload=true INSTALL_ENV+= UWSGI_EMBED_PLUGINS=sse_offload post-extract: post-extract-sse .PHONY: post-extract-sse post-extract-sse: mv ${WRKDIR}/uwsgi-sse-offload-${SSE_REVISION} ${WRKSRC}/plugins/sse_offload .else UWSGI_SSE= sse_offload=false .endif .if !empty(PKG_OPTIONS:Muuid) .include "../../devel/libuuid/buildlink3.mk" UWSGI_UUID= uuid=true .else UWSGI_UUID= uuid=false .endif .if !empty(PKG_OPTIONS:Myaml) .include "../../textproc/libyaml/buildlink3.mk" UWSGI_YAML= yaml=true .else UWSGI_YAML= yaml=false .endif @ 1.7 log @Remove BROKEN attached to the yajl option. It says "The yajl option requires a yajl.pc file which that package doesn't have." but yajl.pc has existed for several years now. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.6 2019/04/27 15:40:44 roy Exp $ d61 1 @ 1.6 log @Fix build without sse-offload @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2019/03/06 13:07:58 joerg Exp $ a33 1 BROKEN= The yajl option requires a yajl.pc file which that package doesn't have. @ 1.5 log @Add uwsgi-sse_offload option for integrating the redis pubsub to Server Sent Event bridge patch. Defaults to off. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2018/03/19 09:28:04 adam Exp $ d64 2 @ 1.4 log @py-uwsgi: updated to 2.0.17 Changes 2.0.17: The Emperor throttling subsystem does not make use anymore of blocking functions, like usleep(), this should fix stats serving and should improve vassals startup time [Security/PHP] enforce DOCUMENT_ROOT check when using –php-docroot to avoid directory traversal added –shutdown-sockets to improve graceful shutdowns @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2018/03/16 23:39:54 joerg Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= debug openssl pcre uuid yaml d53 13 @ 1.3 log @Unbreak the option handling. Restore openssl and PCRE option. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2018/02/13 08:34:03 adam Exp $ d5 1 a5 1 PKG_SUGGESTED_OPTIONS+= libxml2 openssl @ 1.2 log @py-uwsgi: updated to 2.0.16 uWSGI 2.0.16 Security [CVE-2018-6758] Stack-based buffer overflow in core/utils.c:uwsgi_expand_path() Changes Backported early_post_jail plugin hook (Bjørnar Ness) Fixed ipv6 suupport for http-socket (James Brown) Enable execinfo on DragonFly BSD (Aaron LI) Fix inet_ntop buffer size (Orivej Desh) Add worker running time metrics (Serge/yasek) Backported safe-pidfile, safe-pidfile2 (Nate Coraor) Stop using libxml2 by default on osx Fixed uwsgi_kvlist_parse signature Backport http range fixes from master (Curtis Maloney, Sokolov Yura) relicensed mod_proxy_uwsgi to Apache 2.0 logging: Add ${millis} support to json encode plugins/router_xmldir: fixup invalid locale check (Riccardo Magliocchetti) Add ssl-verify-depth flag to set the max Client CA chain length (Paul Tagliamonte) Allow to override build date (Bernhard M. Wiedemann) Python 3 plugin: improved thread names handling (Jyrki Muukkonen, Mark Meyer) Added uwsgi_resolve_ip for redis host (ahmbas) plugins/gevent: Fix signal handlers (Maslov Alexander) Write x509 DER to the uwsgi buffer (Paul Tagliamonte) plugin/http: Fix compilation (Melvyn Sopacua) Fixed emperor throttling system (Jeremy Hiatt) Fix application loading without Plack after excluding “.” from @@INC in new Perl versions (Anton Petrusevich) Fix MULE MSG QUEUE IS FULL message hint (Eugene Tataurov) Build System: support k_minor has a _xxx suffix (TOGO Li) Fixed drop-after-* options (Robert DeRose) Add mule_send_msg success indicator (Josh Tiras) Properly check item size in uwsgi_queue_push (Josh Tiras) FastRouter / HTTP Router can now have a ‘fallback’ key configured HTTP Router now supports post-buffer, just like FastRouter Fix handling of env in embedded dict in Python plugin (could cause segfaults in single thread mode) Add support for Brotli (.br) with –static-gzip Back-ported HTTP/1.1 support (–http11-socket) from 2.1 @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1 2014/01/23 14:47:05 wiz Exp $ d4 2 a5 2 PKG_SUPPORTED_OPTIONS= debug uuid yaml PKG_SUGGESTED_OPTIONS+= libxml2 a17 1 UWSGI_XML= xml=auto a27 1 UWSGI_JSON= json=auto d39 14 a52 1 UWSGI_UUID= uuid=auto a59 1 UWSGI_YAML= yaml=auto @ 1.1 log @Update to 2.0 (python-3.x compatible) based on the wip package by othyro. Changes: uWSGI 2.0 Changelog [20131230] Important changes Dynamic options have been definitely removed as well as the broken_plugins directory Bugfixes and improvements improved log rotation do not rely on unix signals to print request status during harakiri added magic vars for uid and gid various Lua fixes a tons of coverity-governed bugfixes made by Riccardo Magliocchetti New features --attach-daemon2 this is a keyval based option for configuring external daemons. Updated docs are: :doc:`AttachingDaemons` Linux setns() support One of the biggest improvements in uWSGI 1.9-2.0 has been the total support for Linux namespaces. This last patch adds support for the setns() syscall. This syscall allows a process to "attach" to a running namespace. uWSGI instances can exposes their namespaces file descriptors (basically they are the files in /proc/self/ns) via a unix socket. External instances connects to that unix socket and automatically enters the mapped namespace. to spawn an instance in "namespace server mode", you use the --setns-socket option uwsgi --setns-socket /var/run/ns.socket --unshare net,ipc,uts ... to attach you simply use --setns uwsgi --setns /var/run/ns.socket ... Updated docs: :doc:`Namespaces` "private" hooks When uWSGI runs your hooks, it verbosely print the whole hook action line. This could be a security problem in some scenario (for example when you run initial phases as root user but allows unprivileged access to logs). Prefixing your action with a '!' will suppress full logging: [uwsgi] hook-asap = !exec:my_secret_command Support for yajl library (JSON parser) Til now uWSGI only supported jansson as the json parser required for managing .js config files. You can now use the yajl library (available in centos) as alternative JSON parser (will be automatically detected) Perl spooler support The perl/PSGI plugin can now be used as a spooler server: uwsgi::spooler(sub { my $args = shift; print Dumper($args); return -2; }); The client part is still missing as we need to fix some internal api problem. Expect it in 2.0.1 ;) Gateways can drop privileges Gateways (like http router, sslrouter, rawrouter, forkptyrouter ...) can now drop privileges independently by the master. Currently only the http/https/spdy router exposes the new option (--http-uid/--http-gid) Subscriptions-governed SNI contexts The subscription subsystem now supports 3 additional keys (you can set them with the --subscribe2 option): sni_key sni_cert sni_ca all of the takes a path to the relevant ssl files. @ text @d1 1 a1 1 # $NetBSD$ d4 2 a5 2 PKG_SUPPORTED_OPTIONS= debug openssl pcre uuid yaml zlib PKG_SUGGESTED_OPTIONS+= libxml2 openssl zlib d13 1 a13 1 UWSGI_DEBUG= debug=false; d15 1 a15 1 UWSGI_DEBUG= debug=true; d18 1 a18 1 UWSGI_XML= xml=auto; d21 1 a21 1 UWSGI_XML= xml=expat; d24 1 a24 1 UWSGI_XML= xml=libxml2; d26 1 a26 1 UWSGI_XML= xml=false; d29 1 a29 1 UWSGI_JSON= json=auto; d32 1 a32 1 UWSGI_JSON= json=jansson; d35 1 a35 1 UWSGI_JSON= json=yajl; d38 1 a38 1 UWSGI_JSON= json=false; d41 1 a41 17 UWSGI_SSL= ssl=auto; .if !empty(PKG_OPTIONS:Mopenssl) .include "../../security/openssl/buildlink3.mk" UWSGI_SSL= ssl=true; .else UWSGI_SSL= ssl=false; .endif UWSGI_PCRE= pcre=auto; .if !empty(PKG_OPTIONS:Mpcre) .include "../../devel/pcre/buildlink3.mk" UWSGI_PCRE= pcre=true; .else UWSGI_PCRE= pcre=false; .endif UWSGI_UUID= uuid=auto; d44 1 a44 1 UWSGI_UUID= uuid=true; d46 1 a46 1 UWSGI_UUID= uuid=false; a55 4 .if !empty(PKG_OPTIONS:Mzlib) .include "../../devel/zlib/buildlink3.mk" .endif @