From owner-svn-ports-all@freebsd.org Wed Jan 20 06:10:58 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E97854EB61B; Wed, 20 Jan 2021 06:10:58 +0000 (UTC) (envelope-from danfe@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 4DLFWk6CbJz3l0M; Wed, 20 Jan 2021 06:10:58 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD97D1462E; Wed, 20 Jan 2021 06:10:58 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10K6Aw9T024009; Wed, 20 Jan 2021 06:10:58 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10K6AwpG024007; Wed, 20 Jan 2021 06:10:58 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202101200610.10K6AwpG024007@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 20 Jan 2021 06:10:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562112 - in head/www/uwsgi: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/www/uwsgi: . files X-SVN-Commit-Revision: 562112 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2021 06:10:59 -0000 Author: danfe Date: Wed Jan 20 06:10:58 2021 New Revision: 562112 URL: https://svnweb.freebsd.org/changeset/ports/562112 Log: - Allow to build uWSGI with COROAE and LOGPIPE plugins - Drop now useless -fno-common bandaid added in r552097 PR: 246167 Submitted by: Tomohiro Hosaka Added: head/www/uwsgi/files/patch-plugins_coroae_uwsgiplugin.py (contents, props changed) Modified: head/www/uwsgi/Makefile Modified: head/www/uwsgi/Makefile ============================================================================== --- head/www/uwsgi/Makefile Wed Jan 20 06:09:10 2021 (r562111) +++ head/www/uwsgi/Makefile Wed Jan 20 06:10:58 2021 (r562112) @@ -35,11 +35,16 @@ OPTIONS_DEFINE= DEBUG JSON PCRE XML SSL OPTIONS_DEFAULT= SSL OPTIONS_GROUP= PLG -OPTIONS_GROUP_PLG= PSGI +OPTIONS_GROUP_PLG= COROAE LOGPIPE PSGI PLG_DESC= Enable plugins +COROAE_DESC= Coro::AnyEvent support +LOGPIPE_DESC= Pipe logger support PSGI_DESC= PSGI embedded plugin +COROAE_BUILD_DEPENDS= p5-Coro>=0:devel/p5-Coro +COROAE_IMPLIES= PSGI + DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug JSON_VARS= BUILDCONF_JSON=jansson @@ -62,11 +67,12 @@ post-patch: .for var in JSON PCRE XML SSL @${REINPLACE_CMD} -e '/^${var:tl} =/ s|= .*|= ${BUILDCONF_${var}:Ufalse}|' ${WRKSRC}/buildconf/base.ini .endfor - @${REINPLACE_CMD} -e '/ifdef/s,APPLE,${OPSYS},' \ - ${WRKSRC}/plugins/psgi/psgi_plugin.c -post-patch-PSGI-on: - @${REINPLACE_CMD} -e 's/%(main_plugin)s,/%(main_plugin)s, psgi,/' ${WRKSRC}/buildconf/base.ini +.for plugin in COROAE LOGPIPE PSGI +post-patch-${plugin}-on: + @${REINPLACE_CMD} -e 's/%(main_plugin)s,/& ${plugin:tl},/' \ + ${WRKSRC}/buildconf/base.ini +.endfor do-configure: @${DO_NADA} Added: head/www/uwsgi/files/patch-plugins_coroae_uwsgiplugin.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/uwsgi/files/patch-plugins_coroae_uwsgiplugin.py Wed Jan 20 06:10:58 2021 (r562112) @@ -0,0 +1,11 @@ +--- plugins/coroae/uwsgiplugin.py.orig 2020-06-17 09:03:34 UTC ++++ plugins/coroae/uwsgiplugin.py +@@ -9,7 +9,7 @@ for p in search_paths: + coroapi = p + + if not coroapi: +- print "unable to find the Coro perl module !!!" ++ print("unable to find the Coro perl module !!!") + sys.exit(1) + + NAME='coroae'