Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 16:56:24 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454618 - head/sysutils/daemontools-encore
Message-ID:  <201711211656.vALGuOLp066876@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Nov 21 16:56:24 2017
New Revision: 454618
URL: https://svnweb.freebsd.org/changeset/ports/454618

Log:
  sysutils/daemontools-encore: Fix RC script
  
  PR:		211961
  Submitted by:	Christian Ullrich <chris@chrullrich.net>

Modified:
  head/sysutils/daemontools-encore/Makefile

Modified: head/sysutils/daemontools-encore/Makefile
==============================================================================
--- head/sysutils/daemontools-encore/Makefile	Tue Nov 21 16:12:20 2017	(r454617)
+++ head/sysutils/daemontools-encore/Makefile	Tue Nov 21 16:56:24 2017	(r454618)
@@ -18,6 +18,28 @@ CONFLICTS=	daemontools-[0-9]* freedt-[0-9]* serialmail
 
 ALL_TARGET=	default
 
+S_EARLY_DESC=	Start early, before the normal daemons
+S_NORMAL_DESC=	Start normally in the usual boot sequence
+
+OPTIONS_SINGLE=	SEQ
+OPTIONS_SINGLE_SEQ=	S_EARLY S_NORMAL
+
+OPTIONS_DEFAULT=	S_NORMAL
+
+.include <bsd.port.options.mk>
+
+. if ${PORT_OPTIONS:MS_EARLY}
+SVSCAN_REQUIRE?=	SERVERS
+SVSCAN_BEFORE?=		DAEMON
+. endif
+
+. if ${PORT_OPTIONS:MS_NORMAL}
+SVSCAN_REQUIRE?=	LOGIN
+SVSCAN_BEFORE?=
+. endif
+
+SUB_LIST+=	SVSCAN_REQUIRE=${SVSCAN_REQUIRE} SVSCAN_BEFORE=${SVSCAN_BEFORE}
+
 USE_RC_SUBR=	svscan
 
 MANFILES=	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711211656.vALGuOLp066876>