public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/blktrace/
Date: Sat, 12 Jun 2021 18:04:33 +0000 (UTC)	[thread overview]
Message-ID: <1623521053.d67d725f6bbb13cf73ff577df38e36bd08544d78.robbat2@gentoo> (raw)

commit:     d67d725f6bbb13cf73ff577df38e36bd08544d78
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 12 18:01:43 2021 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 18:04:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67d725f

sys-block/blktrace: bump using snapshot

Reference: CVE-2018-10689
Bug: https://bugs.gentoo.org/655146
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 sys-block/blktrace/Manifest                        |  1 +
 .../blktrace/blktrace-1.2.0_p20210419122502.ebuild | 61 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sys-block/blktrace/Manifest b/sys-block/blktrace/Manifest
index 5f5984d3f9b..a468e89de08 100644
--- a/sys-block/blktrace/Manifest
+++ b/sys-block/blktrace/Manifest
@@ -1 +1,2 @@
 DIST blktrace-1.2.0.tar.bz2 395193 BLAKE2B 8f8505f27985f0451f75ced0e438a88758482227e83ba8de235986ab3f116cf38d5aec340d1e7ce3dc3aa5a97c0bd4c46265687976e7326a54ea2e7cce4afc82 SHA512 ce82c8010ca5c2868746d8eb7c6a107fc7382c05df949eeff79e612f5b1a98301a5aa5ab39de0766ea1c074f95e378ba985401cbeba9a296e3182da7d7a23b86
+DIST blktrace-git-20210419122502.tar.gz 2207917 BLAKE2B 27851953e857af6362604b91740f9df2e59ec79b6c192a3bf85e1ab8f9a4307f3220ec73283b73d121d0846fdf3d00a6fa5761959590ea2daa0c27192637a9f5 SHA512 a459273579480288a354e214795a2c09831b23216f407b30d21ad950d7bb88138aad4e2d5612566f359ae7111a200ca28d19d3a1a6ffcdf446cb07c59feec6fc

diff --git a/sys-block/blktrace/blktrace-1.2.0_p20210419122502.ebuild b/sys-block/blktrace/blktrace-1.2.0_p20210419122502.ebuild
new file mode 100644
index 00000000000..4cf61b2d4ce
--- /dev/null
+++ b/sys-block/blktrace/blktrace-1.2.0_p20210419122502.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs flag-o-matic linux-info
+
+MY_PN="blktrace"
+if [[ ${PV} =~ _p20 ]]; then
+	#https://brick.kernel.dk/snaps/blktrace-git-20210419122502.tar.gz
+	MY_P="${MY_PN}-git-${PV/*_p}"
+	EXT='tar.gz'
+	S="${WORKDIR}/${PN}"
+else
+	MY_P="${MY_PN}-${PV}"
+	EXT='tar.bz2'
+	S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="show detailed info about what is happening on a block device io queue"
+HOMEPAGE="https://git.kernel.dk/cgit/blktrace/"
+SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.${EXT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND="dev-libs/libaio"
+# This is a Linux specific app!
+DEPEND="${RDEPEND}
+	sys-kernel/linux-headers
+	doc? (
+		virtual/latex-base
+		>=app-text/texlive-core-2014
+	)
+"
+
+CONFIG_CHECK="~BLK_DEV_IO_TRACE"
+WARNING_BLK_DEV_IO_TRACE="you need to enable BLK_DEV_IO_TRACE kernel option if you want to gather traces from this machine"
+
+PATCHES=(
+	#"${FILESDIR}"/${P}-overlapping-io-stats.patch
+	#"${FILESDIR}"/${PN}-1.2.0-ldflags.patch #335741
+	#"${FILESDIR}"/${PN}-1.2.0-parallel-build.patch #335741
+)
+
+src_compile() {
+	append-cppflags -DLVM_REMAP_WORKAROUND -W -I"${S}"
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
+	if use doc; then
+		export VARTEXFONTS="${T}/fonts"
+		emake docs
+	fi
+}
+
+src_install() {
+	emake install CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man"
+	einstalldocs
+	use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf
+}


             reply	other threads:[~2021-06-12 18:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 18:04 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 14:55 [gentoo-commits] repo/gentoo:master commit in: sys-block/blktrace/ Arthur Zamarin
2024-05-13 14:54 Arthur Zamarin
2024-05-13 13:56 Arthur Zamarin
2024-05-13 13:56 Arthur Zamarin
2024-04-21 15:09 Robin H. Johnson
2024-04-21 15:09 Robin H. Johnson
2024-04-20 19:05 Arthur Zamarin
2021-06-20 17:16 Robin H. Johnson
2021-06-14  9:15 Agostino Sarubbo
2021-06-13  6:32 Agostino Sarubbo
2021-06-13  6:28 Agostino Sarubbo
2020-06-04  9:06 David Seifert
2020-05-24 22:17 Sergei Trofimovich
2018-08-26 20:35 Michał Górny
2018-05-29 13:18 Aaron Bauman
2018-05-17 21:18 Sergei Trofimovich
2017-12-25 23:07 Andreas Hüttel
2016-12-12  2:37 Robin H. Johnson

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=1623521053.d67d725f6bbb13cf73ff577df38e36bd08544d78.robbat2@gentoo \
    --to=robbat2@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