Date: Thu, 26 Jan 2023 19:03:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjkxNzJdIHd3dy91d3NnaTogcmVmYWN0b3IgdG8gYnVp?= =?UTF-8?B?bGQgYSDigJxzZXJ2ZXIgY29yZeKAnSBhbmQgcGx1Z2lucyBhcyBsb2FkYWJs?= =?UTF-8?B?ZSBtb2R1bGVz?= Message-ID: <bug-269172-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269172 Bug ID: 269172 Summary: www/uwsgi: refactor to build a =E2=80=9Cserver core=E2= =80=9D and plugins as loadable modules Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: yds@Necessitu.de Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Assignee: amdmi3@FreeBSD.org Created attachment 239727 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239727&action= =3Dedit refactor www uwsgi to build a server core and plugins patch this patch refactors the port to follow a =E2=80=9CModular builds=E2=80=9D = approach recommended for distributions and =E2=80=9Ccommercial service over uWSGI=E2=80=9D: https://uWSGI-Docs.ReadTheDocs.io/en/latest/Install.html#modular-builds This will build a uWSGi =E2=80=9Cserver core=E2=80=9D binary without any em= bedded plugins. Then builds the python plugin along with all the plugins in the WRKSRC/plugins/ directory which do not require a dependency on an external port. this inclu= des all the plugins embedded into the monolithic binary by the previous [defaul= t] build method and many more. new pkg-plist file added to the port. for future port maintenance to add or remove plugins built by the master port simply add or delete the apropos pl= ugin entry in the pkg-plist file. the PSGI and Core::AnyEvent plugins are broken out into child plugin ports which in turn pull in the requisite dependencies. This way the main port d= oes not need to have optional dependencies for these plugins. a baker's dozen of new plugin ports created, if a plugin needs to pull in a extra *_DEPENDS not already DEPENDed by the CORE then the plugin gets a separate child port. the new www/uwsgi-lua child port has `FLAVORS=3D lua luajit openresty`, onl= y one FLAVOR can be installed at a time. FLAVORS allow for building all three as binary pkgs for the end user to chose which one to install. each FLAVOR get= s an apropos SUFFIX. this whole refactor follows the idea of having a predictable set of binary = pkgs where an end user who only uses pre-built binary pkgs could be sure to have= all the same functionality available as when installing the ports from src. care has been taken to not violate POLA, the only breaking change is each plugin used now MUST be loaded via the `plugin` option in the config files. e.g.: plugin =3D python,html --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269172-7788>