Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 16:15:41 +0200 (CEST)
From:      Daniel Gerzo <danger@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146867: [patch] www/cherokee - Add an optional dependency on uWSGI
Message-ID:  <201005231415.o4NEFfnM042555@alice.syscare.sk>
Resent-Message-ID: <201005232206.o4NM6feX016859@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146867
>Category:       ports
>Synopsis:       [patch] www/cherokee - Add an optional dependency on uWSGI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 22:06:41 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Gerzo
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
SysCare s. r. o.
>Environment:
>Description:
Cherokee web server has a built-in handler for uWSGI WSGI server.
Add an OPTION which will allow user to easily install uwsgi dependency.

Requires www/uwsgi to be committed first, I have submitted PR for this
a while ago.
>How-To-Repeat:
>Fix:
--- cherokee.diff begins here ---
--- Makefile~	2010-05-19 08:36:18.000000000 +0200
+++ Makefile	2010-05-23 15:09:29.902428193 +0200
@@ -73,8 +73,9 @@
 		FFMPEG	"FFMpeg Support"	off	\
 		NLS	"NLS Support"	on	\
 		INTPCRE	"Use Internal PCRE Library"	off	\
-		ADMIN	"Build the Admin Interface"	on \
-		RRDTOOL "Usage Graphs Support"  off
+		ADMIN	"Build the Admin Interface"	on	\
+		RRDTOOL "Usage Graphs Support"  off	\
+		UWSGI	"uWSGI Support"	off
 
 .include <bsd.port.options.mk>
 
@@ -149,6 +150,10 @@
 RUN_DEPENDS+=	rrdtool:${PORTSDIR}/databases/rrdtool
 .endif
 
+.ifdef WITH_UWSGI
+RUN_DEPENDS+=	uwsgi:${PORTSDIR}/www/uwsgi
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
 		${REINPLACE_CMD} -e 's|@mkdir_p@|${MKDIR} --|g'
--- cherokee.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005231415.o4NEFfnM042555>