From nobody Thu Jan 26 19:03:32 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P2qqS5QLrz3bPwH for ; Thu, 26 Jan 2023 19:03:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P2qqS30rrz4Ds9 for ; Thu, 26 Jan 2023 19:03:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674759812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Uz2yzX5MU3nKNYMW0qV56zrMd0nbjbW1JmeAPLA3VTU=; b=un3wamRdsYUq13eJBvnQFMhEriK7hHnDEtHFyd4MmFxPbIz32SINQFKPT/DaohfECe4yMp Bm2T65wjLvtk2joRQGBpXbDDIfirUlvPKvuNRhD0K5gGwCIM7VQrozRlpR1EgfIPnU6vAZ 8gZkACN1N/UEl/eig2ZK4IZF0o5uAzK3n6J6bT1gX/ebqfyeFmzMndzHgs2391znXGthFe D7I5oCTirsWnNmgijGfSemSDAqiJY8uWj3saWOZDhkuhZOyeTif2AsejpAy4iaJkatcaSM YdmmZXZGQkz74+B1pU6xju+Tlhl9odihA1hn+goTjJvgGvgxGqt5kSpxvopwFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674759812; a=rsa-sha256; cv=none; b=T3F81/5htJ6Wfx46Zu7M48/qPvantYUbdj4LJu2AuwZWLcG+QOcS0wueCTrgKgt8jxO1e8 6UU0Fv+aYGEUtYRUb1T0MrO1DUDSLQyAhDT8ipG0kEqYtWfzdUOlln97CIOTw8T1ijNX1O uBFPtR61ChoxqiIZPoRr/wQOERHEMYyOCOeRKLtfuXNdUcSqhZiEgifNlOZr/gDHBsuv7E LDSPB2FhSTRIjSX8xaX6L3UqVJCdN4b2CmmKp1O/HjHIrIortLw+Irv0JMzlcuJajt6eRt uN+6W++Czo2R6Fwx6eFNgH46r/XiOLPaU+KkCFys/ctejYxZvP/+AHZ/E3xkrA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P2qqS24wFzgXG for ; Thu, 26 Jan 2023 19:03:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30QJ3WNA099259 for ; Thu, 26 Jan 2023 19:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30QJ3Wdc099258 for ports-bugs@FreeBSD.org; Thu, 26 Jan 2023 19:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjkxNzJdIHd3dy91d3NnaTogcmVmYWN0b3IgdG8gYnVp?= =?UTF-8?B?bGQgYSDigJxzZXJ2ZXIgY29yZeKAnSBhbmQgcGx1Z2lucyBhcyBsb2FkYWJs?= =?UTF-8?B?ZSBtb2R1bGVz?= Date: Thu, 26 Jan 2023 19:03:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: yds@Necessitu.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: amdmi3@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=