Received: by mail.netbsd.org (Postfix, from userid 605) id 9C66084E55; Sun, 21 Jan 2024 09:33:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CA26684DBD for ; Sun, 21 Jan 2024 09:33:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id kJiA6HKidtSc for ; Sun, 21 Jan 2024 09:33:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1FB1884CF7 for ; Sun, 21 Jan 2024 09:33:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 11F76FA42; Sun, 21 Jan 2024 09:33:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170582961674930" MIME-Version: 1.0 Date: Sun, 21 Jan 2024 09:33:36 +0000 From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= Subject: CVS commit: pkgsrc/www/lighttpd/files To: pkgsrc-changes@NetBSD.org Reply-To: triaxx@netbsd.org X-Mailer: log_accum Message-Id: <20240121093336.11F76FA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_170582961674930 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: triaxx Date: Sun Jan 21 09:33:35 UTC 2024 Modified Files: pkgsrc/www/lighttpd/files: lighttpd.sh Log Message: lighttpd: Fix lighttpd.sh to work in unprivileged To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/lighttpd/files/lighttpd.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170582961674930 Content-Disposition: inline Content-Length: 783 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/lighttpd/files/lighttpd.sh diff -u pkgsrc/www/lighttpd/files/lighttpd.sh:1.3 pkgsrc/www/lighttpd/files/lighttpd.sh:1.4 --- pkgsrc/www/lighttpd/files/lighttpd.sh:1.3 Wed Nov 13 11:53:29 2019 +++ pkgsrc/www/lighttpd/files/lighttpd.sh Sun Jan 21 09:33:35 2024 @@ -1,12 +1,18 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: lighttpd.sh,v 1.3 2019/11/13 11:53:29 nros Exp $ +# $NetBSD: lighttpd.sh,v 1.4 2024/01/21 09:33:35 triaxx Exp $ # # PROVIDE: lighttpd # KEYWORD: chrootdir # REQUIRE: DAEMON +# +# Consider installing pkgtools/rc.subr in unprivileged. +# +# You will need to set some variables in @SYSCONFBASE@/rc.conf to start lighttpd: +# +# lighttpd=YES -. /etc/rc.subr +$_rc_subr_loaded . @SYSCONFBASE@/rc.subr name="lighttpd" rcvar=$name --_----------=_170582961674930--