Diff runit-2.1.2-r6 with a runit-2.1.2-r7

/usr/portage/sys-process/runit/runit-2.1.2-r7.ebuild 2025-07-29 16:22:17.944470274 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
17 17
LICENSE="BSD"
18 18
SLOT="0"
19 19
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86"
20
IUSE="split-usr static"
21

  
22
RDEPEND="sys-apps/openrc"
20
IUSE="+scripts split-usr static"
23 21

  
24 22
src_unpack() {
25 23
	unpack ${P}.tar.gz
......
67 65
	einstalldocs
68 66
	doman ../man/*.[18]
69 67

  
70
	exeinto /etc/runit
71
	doexe "${FILESDIR}"/ctrlaltdel
72
	newexe "${FILESDIR}"/1-r1 1
73
	newexe "${FILESDIR}"/2-r1 2
74
	newexe "${FILESDIR}"/3-r1 3
68
	if use scripts ; then
69
		exeinto /etc/runit
70
		doexe "${FILESDIR}"/ctrlaltdel
71
		newexe "${FILESDIR}"/1-r2 1
72
		newexe "${FILESDIR}"/2-r1 2
73
		newexe "${FILESDIR}"/3-r2 3
74
		doexe "${FILESDIR}"/rc.sh
75
		insinto /etc/runit/rc
76
		doins "${FILESDIR}"/1.openrc.example
77
		doins "${FILESDIR}"/3.openrc.example
78
	fi
75 79

  
76 80
	dodir /etc/sv
77 81
	for tty in tty1 tty2 tty3 tty4 tty5 tty6; do
......
135 139
	ewarn "source /etc/profile"
136 140
	ewarn
137 141

  
142
	if use scripts; then
143
		ewarn "Currently, no task(s) will run in stage 1 & 3, you're on your own"
144
		ewarn "to put script(s) into /etc/runit/rc/, please see /etc/runit/rc.sh"
145
		ewarn "for name in different stages."
146
		ewarn
147
	else
148
		ewarn "This build with USE=\"-scripts\" doesn\'t include any boot scripts"
149
		ewarn "into /etc/runit, you are on your own to put the scripts."
150
		ewarn "Also, /sbin/runsvdir-start is a broken symlink to /etc/runit/2, you will"
151
		ewarn "need to create script /etc/runit/2 before use it."
152
		ewarn
153
	fi
154

  
138 155
	if [[ -L "${EROOT}"/var/service ]]; then
139 156
		ewarn "Once this version of runit is active, please remove the"
140 157
		ewarn "compatibility symbolic link at ${EROOT}/var/service"
Thank you!