git: 8bf853564dc6 - stable/15 - packages: Add a dependency from -rc to -runtime

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Thu, 25 Sep 2025 01:01:39 UTC
The branch stable/15 has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=8bf853564dc6e9b175ed0110e3252d82518399f6

commit 8bf853564dc6e9b175ed0110e3252d82518399f6
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-23 21:57:46 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-25 01:00:41 +0000

    packages: Add a dependency from -rc to -runtime
    
    rc(8), as well as rc scripts themselves, require /bin/sh and basic
    shell utilities to work.  Currently -rc has an implicit dependency
    on -runtime because of libutil, but this might change in the future
    if libutil were moved to a different package.  Add an explicit dep
    to ensure -runtime is installed.
    
    MFC after:      1 day
    Differential Revision:  https://reviews.freebsd.org/D52654
    
    (cherry picked from commit 9f8114a6d8cb781f155273ef173c29648a1013e6)
---
 release/packages/ucl/rc.ucl | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/release/packages/ucl/rc.ucl b/release/packages/ucl/rc.ucl
new file mode 100644
index 000000000000..1a734aaa187c
--- /dev/null
+++ b/release/packages/ucl/rc.ucl
@@ -0,0 +1,25 @@
+/*
+ * SPDX-License-Identifier: ISC
+ *
+ * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+deps {
+	"runtime": {
+		version = "${VERSION}"
+		origin = "base"
+	}
+}
+