Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 14:08:45 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351851 - in head: libexec/rc libexec/rc/rc.d release/packages sbin/rcorder
Message-ID:  <201909051408.x85E8j8N091773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Sep  5 14:08:45 2019
New Revision: 351851
URL: https://svnweb.freebsd.org/changeset/base/351851

Log:
  pkgbase: Move rc scripts and related files to their own packages
  
  It doesn't need to be in runtime and might help people who want to
  experiment with other rc system or don't use one (like in small
  embedded mfsroot).
  
  Reviewed by:	bapt, gjb
  Differential Revision:	https://reviews.freebsd.org/D21499

Modified:
  head/libexec/rc/Makefile
  head/libexec/rc/rc.d/Makefile
  head/release/packages/Makefile.package
  head/sbin/rcorder/Makefile

Modified: head/libexec/rc/Makefile
==============================================================================
--- head/libexec/rc/Makefile	Thu Sep  5 14:07:49 2019	(r351850)
+++ head/libexec/rc/Makefile	Thu Sep  5 14:08:45 2019	(r351851)
@@ -5,6 +5,8 @@
 CONFGROUPS=	CONFETC CONFETCEXEC CONFETCDEFAULTS
 CONFETCDIR=	/etc
 CONFETC=	network.subr rc rc.initdiskless rc.subr rc.shutdown rc.bsdextended
+CONFETCPACKAGE=	rc
+
 .if ${MK_IPFW} != "no"
 CONFETC+=	rc.firewall
 .endif
@@ -15,9 +17,10 @@ CONFETCMODE=	644
 CONFETCEXEC=	netstart pccard_ether rc.resume rc.suspend
 CONFETCEXECDIR=	/etc
 CONFETCEXECMODE=	755
+CONFETCEXECPACKAGE=	rc
 CONFETCDEFAULTSDIR=	/etc/defaults
 CONFETCDEFAULTS=	rc.conf
-#PACKAGE=rc
+CONFETCDEFAULTSPACKAGE=	rc
 
 SUBDIR+=	rc.d
 

Modified: head/libexec/rc/rc.d/Makefile
==============================================================================
--- head/libexec/rc/rc.d/Makefile	Thu Sep  5 14:07:49 2019	(r351850)
+++ head/libexec/rc/rc.d/Makefile	Thu Sep  5 14:08:45 2019	(r351851)
@@ -4,7 +4,7 @@
 
 CONFDIR=	/etc/rc.d
 CONFGROUPS=	CONFS
-#PACKAGE=rc
+CONFSPACKAGE=	rc
 
 CONFS=	DAEMON \
 	FILESYSTEMS \
@@ -324,7 +324,6 @@ ZFS+=		zfs
 ZFS+=		zfsbe
 ZFS+=		zfsd
 ZFS+=		zvol
-ZFSPACKAGE=	zfs
 .endif
 
 .for fg in ${CONFGROUPS}

Modified: head/release/packages/Makefile.package
==============================================================================
--- head/release/packages/Makefile.package	Thu Sep  5 14:07:49 2019	(r351850)
+++ head/release/packages/Makefile.package	Thu Sep  5 14:08:45 2019	(r351851)
@@ -57,6 +57,8 @@ kernel_COMMENT= 	FreeBSD Kernel
 kernel_DESC= 		FreeBSD Kernel
 manuals_COMMENT= 	Manual Pages
 manuals_DESC= 		Manual Pages
+rc_COMMENT= 		RC Scripts
+rc_DESC= 		RC Scripts
 rcmds_COMMENT= 		Remote Command Utilities
 rcmds_DESC= 		Remote Command Utilities
 rescue_COMMENT= 	Rescue Utilities

Modified: head/sbin/rcorder/Makefile
==============================================================================
--- head/sbin/rcorder/Makefile	Thu Sep  5 14:07:49 2019	(r351850)
+++ head/sbin/rcorder/Makefile	Thu Sep  5 14:08:45 2019	(r351851)
@@ -1,7 +1,7 @@
 #       $NetBSD: Makefile,v 1.1 1999/11/23 05:28:20 mrg Exp $
 # $FreeBSD$
 
-PACKAGE=runtime
+PACKAGE=rc
 PROG=   rcorder
 SRCS=   ealloc.c hash.c rcorder.c
 MAN=	rcorder.8



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