From owner-svn-src-head@freebsd.org Thu Sep 5 14:08:46 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF820E8383; Thu, 5 Sep 2019 14:08:46 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46PMxB5mtKz3J1m; Thu, 5 Sep 2019 14:08:46 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F5CD54DC; Thu, 5 Sep 2019 14:08:46 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x85E8kxM091777; Thu, 5 Sep 2019 14:08:46 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x85E8j8N091773; Thu, 5 Sep 2019 14:08:45 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201909051408.x85E8j8N091773@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Thu, 5 Sep 2019 14:08:45 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head: libexec/rc libexec/rc/rc.d release/packages sbin/rcorder X-SVN-Commit-Revision: 351851 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2019 14:08:47 -0000 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