mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-benchmarks/bootchart2: drop 0.14.8-r1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST bootchart2-0.14.8.tar.gz 1175527 BLAKE2B 623ca2269420eda79b09d955ab9d4a37af004e9e97ad0e0c6014e53b4b0c63239661cb5359345306504980b060ccd11488970cb0aa3d832bfb55392724e715dd SHA512 58303db91d22ccc44c0dc765e7a6672fb277840555fd87ce64b8987cba85250cfe3db17f3ec7e0e1e726ad59166a5d3d01a7a262c07b5690c595877b46c66bd0
|
||||
DIST bootchart2-0.14.9.tar.gz 1175710 BLAKE2B af472193c7de313e770da1a88baf00e9ee38e36c0d3c900bab2657bfa5d2398dd9edc616ec770f49a6c5fa8e29f738ddf2c0951ea039a48a2a89b0ffd94759fb SHA512 7ee1220b0add027fc39f710cc01119d7aaa22fe11736497b089c26955216cef10552216ed29ca55bf08aa848f92bb11d74deeb3aa69769dfecf3a55aa988e58b
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-info systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Performance analysis and visualization of the system boot process"
|
||||
HOMEPAGE="https://github.com/mmeeks/bootchart/"
|
||||
SRC_URI="https://github.com/mmeeks/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
!app-benchmarks/bootchart
|
||||
sys-apps/lsb-release"
|
||||
|
||||
S="${WORKDIR}"/${PN%2}-${PV}
|
||||
|
||||
CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.14.7-sysmacros.patch # bug 579922
|
||||
"${FILESDIR}"/${P}-no-compressed-man.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
sed -i \
|
||||
-e "/^install/s:py-install-compile::g" \
|
||||
-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_systemunitdir):g" \
|
||||
Makefile || die
|
||||
sed -i \
|
||||
-e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \
|
||||
bootchartd.conf bootchartd.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export DOCDIR=/usr/share/doc/${PF}
|
||||
default
|
||||
|
||||
# Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't
|
||||
# just change it. Since no libraries are installed, /lib is fine.
|
||||
keepdir /lib/bootchart/tmpfs
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are using an initrd during boot"
|
||||
elog "please add the init script to your default runlevel"
|
||||
elog "rc-update add bootchart2 default"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
https://bugs.gentoo.org/579922
|
||||
https://github.com/xrmx/bootchart/commit/add58c3b57064afd6f7d2fd5f09006d28a3e770e
|
||||
|
||||
From add58c3b57064afd6f7d2fd5f09006d28a3e770e Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Thu, 21 Apr 2016 00:19:32 -0400
|
||||
Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev
|
||||
|
||||
These funcs are defined in the sys/sysmacros.h header, not sys/types.h.
|
||||
Linux C libraries are updating to drop the implicit include, so we need
|
||||
to include it explicitly.
|
||||
---
|
||||
collector/collector.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/collector/collector.c b/collector/collector.c
|
||||
index cfdcb26..2f3ce6b 100644
|
||||
--- a/collector/collector.c
|
||||
+++ b/collector/collector.c
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "common.h"
|
||||
|
||||
#include <sys/mount.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/genetlink.h>
|
||||
#include <linux/taskstats.h>
|
||||
--
|
||||
2.7.4
|
||||
|
||||
Reference in New Issue
Block a user