pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap-server openldap-server: let the RC ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d33166dfdb5b
branches:  trunk
changeset: 457602:d33166dfdb5b
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Aug 30 09:36:31 2021 +0000

description:
openldap-server: let the RC script work unprivileged

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

ok adam@

Bumps PKGREVISION.

diffstat:

 databases/openldap-server/Makefile       |  3 ++-
 databases/openldap-server/files/slapd.sh |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 267b8791d14a -r d33166dfdb5b databases/openldap-server/Makefile
--- a/databases/openldap-server/Makefile        Mon Aug 30 09:33:48 2021 +0000
+++ b/databases/openldap-server/Makefile        Mon Aug 30 09:36:31 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2021/08/23 09:58:59 adam Exp $
+# $NetBSD: Makefile,v 1.60 2021/08/30 09:36:31 khorben Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
+PKGREVISION=   1
 COMMENT=       Lightweight Directory Access Protocol server suite
 
 CONFLICTS+=    openldap<2.3.23nb1
diff -r 267b8791d14a -r d33166dfdb5b databases/openldap-server/files/slapd.sh
--- a/databases/openldap-server/files/slapd.sh  Mon Aug 30 09:33:48 2021 +0000
+++ b/databases/openldap-server/files/slapd.sh  Mon Aug 30 09:36:31 2021 +0000
@@ -1,13 +1,13 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: slapd.sh,v 1.1 2016/06/17 13:56:53 jperkin Exp $
+# $NetBSD: slapd.sh,v 1.2 2021/08/30 09:36:31 khorben Exp $
 #
 # OpenLDAP standalone LDAP daemon
 #
 # PROVIDE: slapd
 # REQUIRE: DAEMON
 
-. /etc/rc.subr
+. @SYSCONFBASE@/rc.subr
 
 name="slapd"
 rcvar=${name}



Home | Main Index | Thread Index | Old Index