pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr rc.subr: Fix SERVERS rc.d script to n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32e2dadab405
branches:  trunk
changeset: 370816:32e2dadab405
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Oct 24 14:07:59 2017 +0000

description:
rc.subr: Fix SERVERS rc.d script to not REQUIRE mountcritremote.

The distributed rc.d scripts are "barrier" scripts that are used
by other rc.d scripts to hook into different points of the startup
process by either using REQUIRE or BEFORE.  The barrier scripts
should not depend on other, non-barrier scripts.  This change makes
the distributed scripts usable by a simple "rcorder /etc/rc.d/*",
whereas it was failing before due to lack of "mountcritremote".

Bump the package version to 20171024.

diffstat:

 pkgtools/rc.subr/Makefile           |  4 ++--
 pkgtools/rc.subr/files/rc.d/SERVERS |  3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 8bb60ae3169a -r 32e2dadab405 pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Tue Oct 24 12:25:43 2017 +0000
+++ b/pkgtools/rc.subr/Makefile Tue Oct 24 14:07:59 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2016/10/17 01:11:30 dholland Exp $
+# $NetBSD: Makefile,v 1.31 2017/10/24 14:07:59 jlam Exp $
 #
 
-PKGNAME=               rc.subr-20161016
+PKGNAME=               rc.subr-20171024
 CATEGORIES=            pkgtools
 
 MAINTAINER=            sbd%NetBSD.org@localhost
diff -r 8bb60ae3169a -r 32e2dadab405 pkgtools/rc.subr/files/rc.d/SERVERS
--- a/pkgtools/rc.subr/files/rc.d/SERVERS       Tue Oct 24 12:25:43 2017 +0000
+++ b/pkgtools/rc.subr/files/rc.d/SERVERS       Tue Oct 24 14:07:59 2017 +0000
@@ -1,10 +1,9 @@
 #!/bin/sh
 #
-# $NetBSD: SERVERS,v 1.1.1.1 2003/06/19 16:07:12 grant Exp $
+# $NetBSD: SERVERS,v 1.2 2017/10/24 14:07:59 jlam Exp $
 #
 
 # PROVIDE: SERVERS
-# REQUIRE: mountcritremote
 
 #      This is a dummy dependency, for early-start servers relying on
 #      some basic configuration.



Home | Main Index | Thread Index | Old Index