pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php-fpm php-fpm: let the RC script work unprivileged



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6948eb237820
branches:  trunk
changeset: 457580:6948eb237820
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun Aug 29 17:49:44 2021 +0000

description:
php-fpm: let the RC script work unprivileged

This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64, macOS/amd64.

Bumps PKGREVISION.

diffstat:

 www/php-fpm/Makefile         |  4 ++--
 www/php-fpm/files/php_fpm.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 8d20b1c6d511 -r 6948eb237820 www/php-fpm/Makefile
--- a/www/php-fpm/Makefile      Sun Aug 29 17:08:47 2021 +0000
+++ b/www/php-fpm/Makefile      Sun Aug 29 17:49:44 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2021/04/21 11:42:55 adam Exp $
+# $NetBSD: Makefile,v 1.36 2021/08/29 17:49:44 khorben Exp $
 
 PKGNAME=       ${PHP_PKG_PREFIX}-fpm-${PHP_VERSION}
-PKGREVISION=   6
+PKGREVISION=   7
 
 HOMEPAGE=      https://php-fpm.org/
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 8d20b1c6d511 -r 6948eb237820 www/php-fpm/files/php_fpm.sh
--- a/www/php-fpm/files/php_fpm.sh      Sun Aug 29 17:08:47 2021 +0000
+++ b/www/php-fpm/files/php_fpm.sh      Sun Aug 29 17:49:44 2021 +0000
@@ -1,11 +1,11 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: php_fpm.sh,v 1.1.1.1 2012/02/22 10:43:42 fhajny Exp $
+# $NetBSD: php_fpm.sh,v 1.2 2021/08/29 17:49:44 khorben Exp $
 #
 # PROVIDE: php_fpm
 # REQUIRE: DAEMON
 
-. /etc/rc.subr
+. @SYSCONFBASE@/rc.subr
 
 name="php_fpm"
 rcvar=${name}



Home | Main Index | Thread Index | Old Index