fdcd21c7e4
---------------------------- revision 1.59 date: 2003/07/04 14:14:10; author: lukem; state: Exp; lines: +1 -7 Revert previous; the "return" if rc.subr had already loaded had issues in some circumstances where run_rc_script()'s sourcing of an rc.d file which then sourced rc.subr, the `optimisation' in rc.subr to "return as we're already loaded" would finish more than just the inner-most sourcing. I haven't tracked down the exact issue, but removing the `optimisation' fixes the problem I noticed in starting up certain rc.d scripts, and may fix [bin/22053] as well.
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2003/07/06 20:40:35 grant Exp $
|
|
#
|
|
|
|
DISTNAME= rc.subr-20030706
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= grant@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/
|
|
COMMENT= Portable NetBSD rc.subr implementation for pkgsrc
|
|
|
|
ONLY_FOR_PLATFORM= Linux-*-* SunOS-*-*
|
|
|
|
NO_BUILD= # defined
|
|
NO_CHECKSUM= # defined
|
|
NO_CONFIGURE= # defined
|
|
NO_MTREE= # defined
|
|
USE_PKGINSTALL= YES
|
|
|
|
CONF_FILES+= ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf
|
|
|
|
do-extract:
|
|
@${CP} -Rp ${FILESDIR} ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}etc/rc.d
|
|
${INSTALL_DATA} ${WRKSRC}/rc.conf.example ${PREFIX}etc/rc.conf.example
|
|
${INSTALL_DATA} ${WRKSRC}/rc.subr ${PREFIX}etc/rc.subr
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/DAEMON ${PREFIX}etc/rc.d
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/LOGIN ${PREFIX}etc/rc.d
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/NETWORKING ${PREFIX}etc/rc.d
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/SERVERS ${PREFIX}etc/rc.d
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# if you change this, be sure to include a trailing /
|
|
PREFIX:= /
|