svn commit: r471940 - in head/www/fcgiwrap: . files
Ryan Steinmetz
zi at FreeBSD.org
Thu Jun 7 17:57:20 UTC 2018
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 at 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() {
More information about the svn-ports-head
mailing list