Сравнение runit-2.2.0-r3 с runit-2.3.1
| /usr/portage/sys-process/runit/runit-2.3.1.ebuild 2026-03-28 11:46:09.406126857 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="A UNIX init scheme with service supervision" |
| 9 | 9 |
HOMEPAGE="https://smarden.org/runit/" |
| 10 |
PATCH_VER=20250506 |
|
| 11 | 10 |
SRC_URI=" |
| 12 | 11 |
https://smarden.org/runit/${P}.tar.gz
|
| 13 |
https://github.com/clan/runit/releases/download/${PF}/${P}-patches-${PATCH_VER}.tar.xz
|
|
| 14 | 12 |
" |
| 15 |
S=${WORKDIR}/admin/${P}/src
|
|
| 13 |
S=${WORKDIR}/admin/${P}/
|
|
| 16 | 14 | |
| 17 | 15 |
LICENSE="BSD" |
| 18 | 16 |
SLOT="0" |
| ... | ... | |
| 21 | 19 | |
| 22 | 20 |
src_unpack() {
|
| 23 | 21 |
unpack ${P}.tar.gz
|
| 24 |
unpack ${P}-patches-${PATCH_VER}.tar.xz
|
|
| 25 | 22 |
} |
| 26 | 23 | |
| 27 | 24 |
src_prepare() {
|
| 28 | 25 |
default |
| 29 | 26 | |
| 30 |
cd "${S}" || die
|
|
| 27 |
S=${WORKDIR}/admin/${P}/src
|
|
| 31 | 28 | |
| 32 |
eapply -p2 "${WORKDIR}"/patches
|
|
| 29 |
cd "${S}" || die
|
|
| 33 | 30 | |
| 34 | 31 |
# We either build everything or nothing static |
| 35 | 32 |
sed -i -e 's:-static: :' Makefile || die |