Сравнение mdadm-4.1 с mdadm-4.2-r2

/usr/portage/sys-fs/mdadm/mdadm-4.2-r2.ebuild 2023-10-09 14:52:35.516368502 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
inherit flag-o-matic multilib systemd toolchain-funcs udev
5

  
6
inherit flag-o-matic systemd toolchain-funcs udev
6 7

  
7 8
DESCRIPTION="Tool for running RAID systems - replacement for the raidtools"
8 9
HOMEPAGE="https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/"
9
DEB_PF="4.1-3"
10
DEB_PF="4.2~rc2-7"
10 11
SRC_URI="https://www.kernel.org/pub/linux/utils/raid/mdadm/${P/_/-}.tar.xz
11 12
		mirror://debian/pool/main/m/mdadm/${PN}_${DEB_PF}.debian.tar.xz"
12 13

  
13 14
LICENSE="GPL-2"
14 15
SLOT="0"
15 16
[[ "${PV}" = *_rc* ]] || \
16
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
17
IUSE="static"
17
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
18
IUSE="static systemd +udev"
19

  
20
REQUIRED_USE="static? ( !udev )"
18 21

  
19
BDEPEND="virtual/pkgconfig
20
	app-arch/xz-utils"
21
RDEPEND=">=sys-apps/util-linux-2.16"
22
DEPEND="${RDEPEND}"
22
BDEPEND="app-arch/xz-utils
23
	virtual/pkgconfig"
24
DEPEND="udev? ( virtual/libudev:= )"
25
RDEPEND="${DEPEND}
26
	>=sys-apps/util-linux-2.16"
23 27

  
24 28
# The tests edit values in /proc and run tests on software raid devices.
25 29
# Thus, they shouldn't be run on systems with active software RAID devices.
26 30
RESTRICT="test"
27 31

  
28 32
PATCHES=(
29
	"${FILESDIR}"/${PN}-3.4-sysmacros.patch #580188
33
	"${FILESDIR}/${PN}"-3.4-sysmacros.patch #580188
34
	"${FILESDIR}/${PN}"-4.2-in_initrd-collision.patch #830461
30 35
)
31 36

  
32 37
mdadm_emake() {
......
51 56

  
52 57
src_compile() {
53 58
	use static && append-ldflags -static
59

  
60
	# CPPFLAGS won't work for this
61
	use udev || append-cflags -DNO_LIBUDEV
62

  
54 63
	mdadm_emake all
55 64
}
56 65

  
Спасибо!