Сравнение numad-0.5-r4 с numad-0.5_p20180531-r2
| /usr/portage/sys-process/numad/numad-0.5_p20180531-r2.ebuild 2026-05-27 19:17:04.755634940 +0300 | ||
|---|---|---|
| 9 | 9 |
EGIT_REPO_URI="https://pagure.io/numad.git" |
| 10 | 10 |
inherit git-r3 |
| 11 | 11 |
else |
| 12 |
EGIT_COMMIT="334278ff3d774d105939743436d7378a189e8693" |
|
| 13 |
SRC_URI="mirror://gentoo/numad-${PV}-${EGIT_COMMIT:0:7}.tar.bz2"
|
|
| 14 |
KEYWORDS="~amd64 -arm ~arm64 ~ppc64 ~s390 ~x86" |
|
| 15 |
S="${WORKDIR}/${PN}-${EGIT_COMMIT:0:7}"
|
|
| 12 |
# sync with fedora (as numad upstream) and add couple of commis. |
|
| 13 |
# at time of writing f37 uses 20150602 |
|
| 14 |
# git archive --format=tar.gz --prefix="${P}/" -o ${P}.tar.gz ${EGIT_COMMIT}
|
|
| 15 |
EGIT_COMMIT="d696d6c413c5b47b4bbae79e29ea132e52095af3" |
|
| 16 |
SRC_URI="https://dev.gentoo.org/~gyakovlev/distfiles/${P}.tar.gz"
|
|
| 17 |
KEYWORDS="amd64 -arm arm64 ppc64 ~s390 x86" |
|
| 16 | 18 |
fi |
| 17 | 19 | |
| 18 | 20 |
DESCRIPTION="The NUMA daemon that manages application locality" |
| ... | ... | |
| 27 | 29 |
CONFIG_CHECK="~NUMA ~CPUSETS" |
| 28 | 30 | |
| 29 | 31 |
PATCHES=( |
| 30 |
"${FILESDIR}/0001-Fix-man-page-directory-creation.patch"
|
|
| 31 |
"${FILESDIR}/${PN}-0.5-ldlibs.patch"
|
|
| 32 |
"${FILESDIR}/${PN}-0.5-wformat-security.patch"
|
|
| 32 |
# https://pagure.io/numad/pull-request/3 |
|
| 33 |
"${FILESDIR}/${PN}-0.5-fix-sparse-node-ids.patch"
|
|
| 34 | ||
| 35 |
# from debian/ubuntu: https://sources.debian.org/patches/numad |
|
| 36 |
"${FILESDIR}/${PN}-0.5-fix-build-for-no-NR-migrate-pages.patch"
|
|
| 37 | ||
| 38 |
# from fedora: https://src.fedoraproject.org/rpms/numad/c/b9fdb5b1b09611ba164c04cd994e5e9ddf7fb8f4 |
|
| 39 |
"${FILESDIR}/0001-numad_log-fix-buffer-overflow.patch"
|
|
| 33 | 40 |
) |
| 34 | 41 | |
| 35 |
src_prepare() {
|
|
| 36 |
default |
|
| 37 |
tc-export CC |
|
| 42 |
src_configure() {
|
|
| 43 |
tc-export AR CC RANLIB |
|
| 38 | 44 |
} |
| 39 | 45 | |
| 40 | 46 |
src_compile() {
|
| 41 |
emake CFLAGS="${CFLAGS} -std=gnu99"
|
|
| 47 |
emake OPT_CFLAGS="${CFLAGS}"
|
|
| 42 | 48 |
} |
| 43 | 49 | |
| 44 | 50 |
src_install() {
|
| ... | ... | |
| 50 | 56 |
insinto /etc/logrotate.d |
| 51 | 57 |
newins "${FILESDIR}"/numad.logrotated numad
|
| 52 | 58 | |
| 53 |
insinto /etc |
|
| 54 |
doins numad.conf |
|
| 55 | 59 |
systemd_dounit numad.service |
| 56 | 60 |
} |