Diff numad-0.5-r3 with a numad-0.5-r4
/usr/portage/sys-process/numad/numad-0.5-r4.ebuild 2023-10-09 14:52:35.584368504 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit linux-info systemd toolchain-funcs |
7 | 7 | |
8 |
if [[ ${PV} == "9999" ]]; then |
|
8 |
if [[ ${PV} == 9999 ]]; then |
|
9 | 9 |
EGIT_REPO_URI="https://pagure.io/numad.git" |
10 | 10 |
inherit git-r3 |
11 | 11 |
else |
12 | 12 |
EGIT_COMMIT="334278ff3d774d105939743436d7378a189e8693" |
13 | 13 |
SRC_URI="mirror://gentoo/numad-${PV}-${EGIT_COMMIT:0:7}.tar.bz2" |
14 |
KEYWORDS="amd64 -arm arm64 ~ppc64 ~s390 x86" |
|
14 |
KEYWORDS="~amd64 -arm ~arm64 ~ppc64 ~s390 ~x86" |
|
15 | 15 |
S="${WORKDIR}/${PN}-${EGIT_COMMIT:0:7}" |
16 | 16 |
fi |
17 | 17 | |
... | ... | |
20 | 20 | |
21 | 21 |
LICENSE="LGPL-2.1" |
22 | 22 |
SLOT="0" |
23 |
IUSE="" |
|
24 | 23 | |
25 | 24 |
CONFIG_CHECK="~NUMA ~CPUSETS" |
26 | 25 | |
27 | 26 |
PATCHES=( |
28 | 27 |
"${FILESDIR}/0001-Fix-man-page-directory-creation.patch" |
29 | 28 |
"${FILESDIR}/${PN}-0.5-ldlibs.patch" |
29 |
"${FILESDIR}/${PN}-0.5-wformat-security.patch" |
|
30 | 30 |
) |
31 | 31 | |
32 | 32 |
src_prepare() { |
... | ... | |
39 | 39 |
} |
40 | 40 | |
41 | 41 |
src_install() { |
42 |
emake prefix="${ED}/usr" install |
|
42 |
emake prefix="${ED}"/usr install |
|
43 | 43 | |
44 |
newinitd "${FILESDIR}/numad.initd" numad |
|
45 |
newconfd "${FILESDIR}/numad.confd" numad |
|
44 |
newinitd "${FILESDIR}"/numad.initd numad |
|
45 |
newconfd "${FILESDIR}"/numad.confd numad |
|
46 | 46 | |
47 | 47 |
insinto /etc/logrotate.d |
48 |
newins "${FILESDIR}/numad.logrotated" numad |
|
48 |
newins "${FILESDIR}"/numad.logrotated numad |
|
49 | 49 | |
50 | 50 |
insinto /etc |
51 | 51 |
doins numad.conf |