svn commit: r454618 - head/sysutils/daemontools-encore

Steve Wills swills at FreeBSD.org
Tue Nov 21 16:56:25 UTC 2017


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 at 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=	\


More information about the svn-ports-head mailing list