Bug 221684

Summary: www/uwsgi: Syntax error in uwsgi rc script
Product: Ports & Packages Reporter: Simeon Simeonov <sgs>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: sgs, ultima
Priority: --- Keywords: needs-qa, regression
Version: Latest   
Hardware: Any   
OS: Any   

Description Simeon Simeonov 2017-08-21 09:22:59 UTC
There is a syntax error in the /usr/local/etc/rc.d/uwsgi rc-script that makes the service interface of uwsgi unusable

Line 90:
eval uwsgi_socket_mode=\${uwsgi_${profile}_socket_mode:-${uwsgi_socket_mode}

when it should be
eval uwsgi_socket_mode=\${uwsgi_${profile}_socket_mode:-${uwsgi_socket_mode}}
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-21 09:41:43 UTC
cc last committer of ports r448441 which may be related
Comment 2 Simeon Simeonov 2017-08-21 09:44:57 UTC
(In reply to Kubilay Kocak from comment #1)
Yes, definitely introduced there. Regression indeed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-08-21 17:49:57 UTC
A commit references this bug:

Author: ultima
Date: Mon Aug 21 17:49:01 UTC 2017
New revision: 448482
URL: https://svnweb.freebsd.org/changeset/ports/448482

Log:
  Fix regression from r448441

  PR:		221684
  Reported by:	Simeon Simeonov
  Reviewed by:	matthew (mentor)
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12100

Changes:
  head/www/uwsgi/Makefile
  head/www/uwsgi/files/uwsgi.in
Comment 4 Richard Gallamore freebsd_committer freebsd_triage 2017-08-21 17:50:33 UTC
Sorry for the breakage, should be fixed now.