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 Specify Standard{Out, Error}Path for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3298adadb69a
branches:  trunk
changeset: 409310:3298adadb69a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jan 16 16:47:32 2020 +0000

description:
Specify Standard{Out,Error}Path for macOS launchd. Bump version.

diffstat:

 pkgtools/rc.d-boot/Makefile                         |  9 +++++----
 pkgtools/rc.d-boot/files/org.pkgsrc.rc.d-boot.plist |  4 ++++
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 666d2741bbde -r 3298adadb69a pkgtools/rc.d-boot/Makefile
--- a/pkgtools/rc.d-boot/Makefile       Thu Jan 16 16:29:17 2020 +0000
+++ b/pkgtools/rc.d-boot/Makefile       Thu Jan 16 16:47:32 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2019/01/26 21:12:54 dholland Exp $
+# $NetBSD: Makefile,v 1.11 2020/01/16 16:47:32 schmonz Exp $
 #
 
-PKGNAME=               rc.d-boot-20181228
+PKGNAME=               rc.d-boot-20200116
 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 PKGNAME PREFIX RCD_SCRIPTS_DIR RCORDER
+SUBST_VARS.paths=      GREP PKGNAME PREFIX RCD_SCRIPTS_DIR RCORDER VARBASE
 
 FILES_SUBST+=          RCDBOOT_STYLE=${RCDBOOT_STYLE:Q}
 FILES_SUBST+=          RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:Q}
@@ -65,6 +65,7 @@
 
 .if ${RCDBOOT_STYLE} == "unknown"
 # Help wanted! Some known boot schemes we'd like to support:
+# - https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System
 # - https://wiki.gentoo.org/wiki/Project:OpenRC
 # - http://smarden.org/runit/
 # - https://jdebp.eu/Softwares/nosh/
@@ -72,7 +73,7 @@
 BROKEN_ON_PLATFORM+=   ${OPSYS}-*-*
 .endif
 
-BUILD_DEFS+=           RCDBOOT_STYLE RCD_SCRIPTS_DIR
+BUILD_DEFS+=           RCDBOOT_STYLE RCD_SCRIPTS_DIR VARBASE
 INSTALLATION_DIRS=     sbin ${EGDIR}
 
 do-extract:
diff -r 666d2741bbde -r 3298adadb69a pkgtools/rc.d-boot/files/org.pkgsrc.rc.d-boot.plist
--- a/pkgtools/rc.d-boot/files/org.pkgsrc.rc.d-boot.plist       Thu Jan 16 16:29:17 2020 +0000
+++ b/pkgtools/rc.d-boot/files/org.pkgsrc.rc.d-boot.plist       Thu Jan 16 16:47:32 2020 +0000
@@ -19,5 +19,9 @@
        <false/>
        <key>LaunchOnlyOnce</key>
        <true/>
+       <key>StandardOutPath</key>
+       <string>@VARBASE@/log/pkgsrc-rc.d-boot.out</string>
+       <key>StandardErrorPath</key>
+       <string>@VARBASE@/log/pkgsrc-rc.d-boot.err</string>
 </dict>
 </plist>



Home | Main Index | Thread Index | Old Index