Bug 221684 - www/uwsgi: Syntax error in uwsgi rc script
Summary: www/uwsgi: Syntax error in uwsgi rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2017-08-21 09:22 UTC by Simeon Simeonov
Modified: 2017-08-21 17:50 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.