From owner-svn-ports-all@freebsd.org Thu Jun 7 17:57:20 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE75AFE660F; Thu, 7 Jun 2018 17:57:19 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC2376B7A; Thu, 7 Jun 2018 17:57:19 +0000 (UTC) (envelope-from zi@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 700E123821; Thu, 7 Jun 2018 17:57:19 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w57HvJEU069484; Thu, 7 Jun 2018 17:57:19 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w57HvJ1D069482; Thu, 7 Jun 2018 17:57:19 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201806071757.w57HvJ1D069482@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Thu, 7 Jun 2018 17:57:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471940 - in head/www/fcgiwrap: . files X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/www/fcgiwrap: . files X-SVN-Commit-Revision: 471940 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.26 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: Thu, 07 Jun 2018 17:57:20 -0000 Author: zi Date: Thu Jun 7 17:57:18 2018 New Revision: 471940 URL: https://svnweb.freebsd.org/changeset/ports/471940 Log: - Unbreak socket mode logic Reported by: clusteradm Modified: head/www/fcgiwrap/Makefile head/www/fcgiwrap/files/fcgiwrap.in Modified: head/www/fcgiwrap/Makefile ============================================================================== --- head/www/fcgiwrap/Makefile Thu Jun 7 17:18:43 2018 (r471939) +++ head/www/fcgiwrap/Makefile Thu Jun 7 17:57:18 2018 (r471940) @@ -2,7 +2,7 @@ PORTNAME= fcgiwrap PORTVERSION= 1.1.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= www MAINTAINER= rodrigo@FreeBSD.org Modified: head/www/fcgiwrap/files/fcgiwrap.in ============================================================================== --- head/www/fcgiwrap/files/fcgiwrap.in Thu Jun 7 17:18:43 2018 (r471939) +++ head/www/fcgiwrap/files/fcgiwrap.in Thu Jun 7 17:57:18 2018 (r471940) @@ -68,7 +68,6 @@ fcgiwrap_setfib() { fcgiwrap_precmd() { fcgiwrap_setfib install -d -o root -g wheel -m 1777 /var/run/fcgiwrap - umask $(printf 0%o $(echo $((0777 - $(echo 0${fcgiwrap_socket_mode}))))) } fcgiwrap_postcmd() { @@ -80,13 +79,15 @@ fcgiwrap_postcmd() { return ;; esac + if [ -n "${fcgiwrap_socket_mode}" ]; then + chmod ${fcgiwrap_socket_mode} ${fcgiwrap_socket#unix:} + fi if [ "${fcgiwrap_socket_owner}" != "${fcgiwrap_user}" ]; then chown ${fcgiwrap_socket_owner} ${fcgiwrap_socket#unix:} fi if [ "${fcgiwrap_socket_group}" != "${fcgiwrap_group}" ]; then chgrp ${fcgiwrap_socket_group} ${fcgiwrap_socket#unix:} fi - umask ${fcgiwrap_saved_umask} } fcgiwrap_stop() {