2aaa1724aa
somehow missed by dougb - still, thanks for doing it :) However, drop the -f option to daemon - with both readproctitle and multilog, we definitely do *not* want to lose svscan's output. While I'm here, restore the spirit of the STARTUP_SCRIPT functionality removed in pgollucci's rc.subr change by introducing the S_NORMAL and S_EARLY option knobs and modifying the startup script's REQUIRE and BEFORE settings accordingly. Add short descriptive headers to the patches and bump PORTREVISION for the real changes. Reported by: Valentin Zahariev <curly@e-card.bg> (the daemon part)
31 lines
757 B
Text
31 lines
757 B
Text
Description: Do not use the "home" file, FreeBSD has a different mechanism.
|
|
Forwarded: not-needed
|
|
Author: Peter Pentchev <roam@FreeBSD.org>
|
|
Last-Update: 2010-01-06
|
|
|
|
--- Makefile.orig
|
|
+++ Makefile
|
|
@@ -82,10 +82,9 @@
|
|
chkshsgr.o: chkshsgr.c compile
|
|
./compile chkshsgr.c
|
|
|
|
-choose: choose.sh home warn-auto.sh
|
|
+choose: choose.sh warn-auto.sh
|
|
rm -f choose
|
|
cat warn-auto.sh choose.sh \
|
|
- | sed s}HOME}"`head -1 home`"}g \
|
|
> choose
|
|
chmod 555 choose
|
|
|
|
@@ -387,10 +386,9 @@
|
|
pathexec.h str.h strerr.h svscan.c wait.h
|
|
./compile svscan.c
|
|
|
|
-svscanboot: home svscanboot.sh warn-auto.sh
|
|
+svscanboot: svscanboot.sh warn-auto.sh
|
|
rm -f svscanboot
|
|
cat warn-auto.sh svscanboot.sh \
|
|
- | sed s}HOME}"`head -1 home`"}g \
|
|
> svscanboot
|
|
chmod 555 svscanboot
|
|
|