Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2017 06:46:49 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457125 - in head/www/uwsgi: . files
Message-ID:  <201712240646.vBO6knNr020756@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Dec 24 06:46:48 2017
New Revision: 457125
URL: https://svnweb.freebsd.org/changeset/ports/457125

Log:
  www/uwsgi: Fix rc.d script when using the uwsgi-py3* packages
  
  PR:		224198
  Submitted by:	Christian Sturm <reezer@reezer.org>
  Approved by:	eugene@zhegan.in (maintainer timeout, 2 weeks)

Modified:
  head/www/uwsgi/Makefile
  head/www/uwsgi/files/uwsgi.in

Modified: head/www/uwsgi/Makefile
==============================================================================
--- head/www/uwsgi/Makefile	Sun Dec 24 04:26:17 2017	(r457124)
+++ head/www/uwsgi/Makefile	Sun Dec 24 06:46:48 2017	(r457125)
@@ -3,7 +3,7 @@
 
 PORTNAME=	uwsgi
 PORTVERSION=	2.0.15
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www python
 MASTER_SITES=	http://projects.unbit.it/downloads/
 
@@ -29,7 +29,9 @@ USERS=		uwsgi
 GROUPS=		uwsgi
 
 PLIST_FILES=	bin/uwsgi \
-		%%PYTHON_SITELIBDIR%%/uwsgidecorators.py
+		${PYTHON_SITELIBDIR}/uwsgidecorators.py
+
+SUB_LIST=	PYTHON_VER=${PYTHON_VER}
 
 OPTIONS_DEFINE=	DEBUG JSON PCRE XML
 

Modified: head/www/uwsgi/files/uwsgi.in
==============================================================================
--- head/www/uwsgi/files/uwsgi.in	Sun Dec 24 04:26:17 2017	(r457124)
+++ head/www/uwsgi/files/uwsgi.in	Sun Dec 24 06:46:48 2017	(r457125)
@@ -51,7 +51,7 @@ rcvar=uwsgi_enable
 
 load_rc_config $name
 
-command=%%PREFIX%%/bin/uwsgi
+command=%%PREFIX%%/bin/uwsgi-%%PYTHON_VER%%
 
 : ${uwsgi_enable="NO"}
 : ${uwsgi_socket="/tmp/${name}.sock"}



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