pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/nginx
Module Name: pkgsrc
Committed By: khorben
Date: Mon Nov 8 01:02:01 UTC 2021
Modified Files:
pkgsrc/www/nginx: Makefile
pkgsrc/www/nginx/files: nginx.sh
Log Message:
nginx: let the RC script work unprivileged
This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.
Bumps PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 pkgsrc/www/nginx/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/nginx/files/nginx.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/nginx/Makefile
diff -u pkgsrc/www/nginx/Makefile:1.102 pkgsrc/www/nginx/Makefile:1.103
--- pkgsrc/www/nginx/Makefile:1.102 Wed Sep 15 12:37:05 2021
+++ pkgsrc/www/nginx/Makefile Mon Nov 8 01:02:01 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.102 2021/09/15 12:37:05 adam Exp $
+# $NetBSD: Makefile,v 1.103 2021/11/08 01:02:01 khorben Exp $
DISTNAME= nginx-1.20.1
-PKGREVISION= 1
+PKGREVISION= 2
MAINTAINER= joerg%NetBSD.org@localhost
Index: pkgsrc/www/nginx/files/nginx.sh
diff -u pkgsrc/www/nginx/files/nginx.sh:1.3 pkgsrc/www/nginx/files/nginx.sh:1.4
--- pkgsrc/www/nginx/files/nginx.sh:1.3 Sun Apr 27 11:05:45 2014
+++ pkgsrc/www/nginx/files/nginx.sh Mon Nov 8 01:02:01 2021
@@ -1,11 +1,15 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: nginx.sh,v 1.3 2014/04/27 11:05:45 rodent Exp $
+# $NetBSD: nginx.sh,v 1.4 2021/11/08 01:02:01 khorben Exp $
#
# PROVIDE: nginx
# REQUIRE: DAEMON
+#
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start nginx:
+#
+# nginx=YES
-. /etc/rc.subr
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
name="nginx"
rcvar=${name}
Home |
Main Index |
Thread Index |
Old Index