Date: Thu, 7 Jun 2018 17:57:19 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471940 - in head/www/fcgiwrap: . files Message-ID: <201806071757.w57HvJ1D069482@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806071757.w57HvJ1D069482>