Diff freeipmi-1.6.10-r1 with a freeipmi-1.6.11
/usr/portage/sys-libs/freeipmi/freeipmi-1.6.11.ebuild 2023-10-09 14:52:35.544368503 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
AT_M4DIR="config" |
|
7 |
inherit autotools toolchain-funcs |
|
6 |
inherit toolchain-funcs |
|
8 | 7 | |
8 |
MY_P="${P/_/.}" |
|
9 | 9 |
DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" |
10 | 10 |
HOMEPAGE="https://www.gnu.org/software/freeipmi/" |
11 | ||
12 |
MY_P="${P/_/.}" |
|
13 |
[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha" |
|
14 |
SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz" |
|
11 |
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" |
|
15 | 12 |
S="${WORKDIR}/${MY_P}" |
16 | 13 | |
17 | 14 |
LICENSE="GPL-3" |
18 | 15 |
SLOT="0" |
19 | 16 |
KEYWORDS="amd64 hppa ~ppc64 x86" |
20 |
IUSE="debug nagios without-root" |
|
17 |
IUSE="debug doc nagios without-root" |
|
21 | 18 | |
22 |
RDEPEND="dev-libs/libgcrypt:0=" |
|
23 |
DEPEND="${RDEPEND} |
|
24 |
virtual/os-headers" |
|
25 |
RDEPEND="${RDEPEND} |
|
19 |
RDEPEND="dev-libs/libgcrypt:=" |
|
20 |
DEPEND=" |
|
21 |
${RDEPEND} |
|
22 |
virtual/os-headers |
|
23 |
" |
|
24 |
RDEPEND=" |
|
25 |
${RDEPEND} |
|
26 | 26 |
nagios? ( |
27 | 27 |
|| ( net-analyzer/icinga net-analyzer/nagios ) |
28 | 28 |
dev-lang/perl |
... | ... | |
30 | 30 |
" |
31 | 31 | |
32 | 32 |
PATCHES=( |
33 |
"${FILESDIR}"/${PN}-1.6.10-0001-configure.ac-Fix-Wimplicit-function-declaration-for-.patch |
|
34 |
"${FILESDIR}"/${PN}-1.6.10-0002-configure.ac-Fix-detecting-sighandler_t-on-glibc.patch |
|
35 |
"${FILESDIR}"/${PN}-1.6.10-0003-configure.ac-Use-AC_USE_SYSTEM_EXTENSIONS-instead-of.patch |
|
36 |
"${FILESDIR}"/${P}-header-fixes.patch |
|
33 |
"${FILESDIR}"/${PN}-1.6.10-header-fixes.patch |
|
37 | 34 |
) |
38 | 35 | |
39 |
src_prepare() { |
|
40 |
default |
|
41 | ||
42 |
# Needed for configure.ac patches, drop if/when merged |
|
43 |
eautoreconf |
|
44 |
} |
|
45 | ||
46 | 36 |
src_configure() { |
47 | 37 |
local myeconfargs=( |
48 | 38 |
$(use_enable debug) |
49 |
$(usex without-root --with-dont-check-for-root "") |
|
39 |
$(use_enable doc) |
|
40 |
$(usev without-root --with-dont-check-for-root) |
|
50 | 41 |
--disable-static |
51 | 42 |
--disable-init-scripts |
52 | 43 |
--localstatedir="${EPREFIX}"/var |