public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/numad/
Date: Sun, 15 Jan 2023 22:53:14 +0000 (UTC)	[thread overview]
Message-ID: <1673823057.f78b951d85206d86bf78320efb2433d22cf70aa0.gyakovlev@gentoo> (raw)

commit:     f78b951d85206d86bf78320efb2433d22cf70aa0
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 22:49:25 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 22:50:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78b951d

sys-process/numad: sync live ebuild

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-process/numad/numad-9999.ebuild | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/sys-process/numad/numad-9999.ebuild b/sys-process/numad/numad-9999.ebuild
index 07607707eb3c..fffe3f4192c1 100644
--- a/sys-process/numad/numad-9999.ebuild
+++ b/sys-process/numad/numad-9999.ebuild
@@ -1,18 +1,20 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit linux-info systemd toolchain-funcs
+inherit flag-o-matic linux-info systemd toolchain-funcs
 
 if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://pagure.io/numad.git"
 	inherit git-r3
 else
-	EGIT_COMMIT="334278ff3d774d105939743436d7378a189e8693"
-	SRC_URI="mirror://gentoo/numad-${PV}-${EGIT_COMMIT:0:7}.tar.bz2"
+	# sync with fedora (as numad upstream) and add couple of commis.
+	# at time of writing f37 uses 20150602
+	# git archive --format=tar.gz --prefix="${P}/" -o ${P}.tar.gz ${EGIT_COMMIT}
+	EGIT_COMMIT="d696d6c413c5b47b4bbae79e29ea132e52095af3"
+	SRC_URI="https://dev.gentoo.org/~gyakovlev/distfiles/${P}.tar.gz"
 	KEYWORDS="~amd64 -arm ~arm64 ~ppc64 ~s390 ~x86"
-	S="${WORKDIR}/${PN}-${EGIT_COMMIT:0:7}"
 fi
 
 DESCRIPTION="The NUMA daemon that manages application locality"
@@ -23,13 +25,17 @@ SLOT="0"
 
 CONFIG_CHECK="~NUMA ~CPUSETS"
 
-src_prepare() {
-	default
-	tc-export CC
+src_configure() {
+	tc-export AR CC RANLIB
+
+	# FIXME: https://bugs.gentoo.org/890985
+	# temp workaround
+	filter-flags -D_FORTIFY_SOURCE=3
+	append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
 }
 
 src_compile() {
-	emake CFLAGS="${CFLAGS} -std=gnu99"
+	emake OPT_CFLAGS="${CFLAGS}"
 }
 
 src_install() {
@@ -41,7 +47,5 @@ src_install() {
 	insinto /etc/logrotate.d
 	newins "${FILESDIR}"/numad.logrotated numad
 
-	insinto /etc
-	doins numad.conf
 	systemd_dounit numad.service
 }


             reply	other threads:[~2023-01-15 22:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 22:53 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  7:18 [gentoo-commits] repo/gentoo:master commit in: sys-process/numad/ Joonas Niilola
2024-04-29  8:05 Arthur Zamarin
2024-04-29  7:51 Jakov Smolić
2024-01-03 18:52 Arthur Zamarin
2023-03-05  0:25 Sam James
2023-03-04 11:09 Arthur Zamarin
2023-03-04  6:17 Arthur Zamarin
2023-03-04  6:00 Arthur Zamarin
2022-09-30 23:24 Sam James
2022-06-20  5:04 Sam James
2020-03-21 19:06 Mikle Kolyada
2019-12-28 21:32 Georgy Yakovlev
2019-12-28 21:32 Georgy Yakovlev
2019-06-21 11:07 Agostino Sarubbo
2019-06-21  8:03 Agostino Sarubbo
2018-12-20  1:12 Georgy Yakovlev
2018-05-18 16:01 Mike Gilbert
2018-05-18 16:01 Mike Gilbert
2018-01-17 22:59 Michael Weber
2017-07-07 12:18 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673823057.f78b951d85206d86bf78320efb2433d22cf70aa0.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox