pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/rc.d-boot
Module Name: pkgsrc
Committed By: schmonz
Date: Wed May 10 19:22:33 UTC 2023
Modified Files:
pkgsrc/pkgtools/rc.d-boot: INSTALL Makefile
Log Message:
During install, if FileVault is enabled, warn that per-user supervision
trees won't work. Bump version.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/pkgtools/rc.d-boot/INSTALL
cvs rdiff -u -r1.14 -r1.15 pkgsrc/pkgtools/rc.d-boot/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/rc.d-boot/INSTALL
diff -u pkgsrc/pkgtools/rc.d-boot/INSTALL:1.7 pkgsrc/pkgtools/rc.d-boot/INSTALL:1.8
--- pkgsrc/pkgtools/rc.d-boot/INSTALL:1.7 Sat Dec 17 21:36:11 2022
+++ pkgsrc/pkgtools/rc.d-boot/INSTALL Wed May 10 19:22:33 2023
@@ -1,10 +1,20 @@
-# $NetBSD: INSTALL,v 1.7 2022/12/17 21:36:11 triaxx Exp $
+# $NetBSD: INSTALL,v 1.8 2023/05/10 19:22:33 schmonz Exp $
RCDBOOT_STYLE=@RCDBOOT_STYLE@
RCD_SCRIPTS_DIR=@RCD_SCRIPTS_DIR@
UNPRIVILEGED=@UNPRIVILEGED@
EGDIR=@EGDIR@
+warning_filevault() {
+ ${CAT} <<EOF
+===========================================================================
+
+WARNING: With FileVault enabled, per-user supervision trees won't work.
+
+===========================================================================
+EOF
+}
+
case "${STAGE}" in
POST-INSTALL)
@@ -17,6 +27,9 @@ POST-INSTALL)
else
launchctl load -w /Library/LaunchDaemons/org.pkgsrc.rc.d-boot.plist
fi
+ if fdesetup status | awk '{print $3}' | grep -q '^On\.$'; then
+ warning_filevault
+ fi
;;
freebsd-native)
;;
Index: pkgsrc/pkgtools/rc.d-boot/Makefile
diff -u pkgsrc/pkgtools/rc.d-boot/Makefile:1.14 pkgsrc/pkgtools/rc.d-boot/Makefile:1.15
--- pkgsrc/pkgtools/rc.d-boot/Makefile:1.14 Wed Dec 28 20:24:50 2022
+++ pkgsrc/pkgtools/rc.d-boot/Makefile Wed May 10 19:22:33 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/12/28 20:24:50 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2023/05/10 19:22:33 schmonz Exp $
#
-PKGNAME= rc.d-boot-20221225
+PKGNAME= rc.d-boot-20230510
CATEGORIES= pkgtools
MAINTAINER= schmonz%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index