pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.d-boot rc.d-boot: fix references to rc.sub...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc9384f3bc04
branches:  trunk
changeset: 390758:cc9384f3bc04
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Dec 28 20:24:50 2022 +0000

description:
rc.d-boot: fix references to rc.subr in previous (it will have gotten
installed to ${SYSCONFBASE}, not necessarily the same as
${PKG_SYSCONFDIR}). UNPRIVILEGED still works, says triaxx@. Bump
version.

diffstat:

 pkgtools/rc.d-boot/Makefile        |  6 +++---
 pkgtools/rc.d-boot/files/rc.d-boot |  2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 584a34daeb46 -r cc9384f3bc04 pkgtools/rc.d-boot/Makefile
--- a/pkgtools/rc.d-boot/Makefile       Wed Dec 28 20:20:56 2022 +0000
+++ b/pkgtools/rc.d-boot/Makefile       Wed Dec 28 20:24:50 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2022/12/17 21:36:11 triaxx Exp $
+# $NetBSD: Makefile,v 1.14 2022/12/28 20:24:50 schmonz Exp $
 #
 
-PKGNAME=               rc.d-boot-20221202
+PKGNAME=               rc.d-boot-20221225
 CATEGORIES=            pkgtools
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
@@ -30,7 +30,7 @@
 SUBST_FILES.paths+=    org.pkgsrc.rc.d-boot.plist \
                        pkgsrc-rc.d-boot \
                        pkgsrc-rc.d-boot.service
-SUBST_VARS.paths=      GREP PKG_SYSCONFDIR PKGNAME PREFIX RCD_SCRIPTS_DIR RCORDER VARBASE
+SUBST_VARS.paths=      GREP SYSCONFBASE PKGNAME PREFIX RCD_SCRIPTS_DIR RCORDER VARBASE
 
 FILES_SUBST+=          RCDBOOT_STYLE=${RCDBOOT_STYLE:Q}
 FILES_SUBST+=          RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:Q}
diff -r 584a34daeb46 -r cc9384f3bc04 pkgtools/rc.d-boot/files/rc.d-boot
--- a/pkgtools/rc.d-boot/files/rc.d-boot        Wed Dec 28 20:20:56 2022 +0000
+++ b/pkgtools/rc.d-boot/files/rc.d-boot        Wed Dec 28 20:24:50 2022 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. @PKG_SYSCONFDIR@/rc.subr
+. @SYSCONFBASE@/rc.subr
 
 run_all_rcd_scripts() {
        action="$1"; shift



Home | Main Index | Thread Index | Old Index