Portage is a package management system used by Gentoo Linux
# ChangeLog for app-benchmarks/bootchart
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/ChangeLog,v 1.7 2008/07/23 21:44:45 cardoe Exp $
23 Jul 2008; Doug Goldstein
add GLEP 56 USE flag desc from use.local.desc
25 Dec 2007; Christian Heim
Removing uberlord from metadata.xml as per #199318.
*bootchart-0.9-r2 (10 Aug 2007)
10 Aug 2007; Roy Marples
+files/bootchart-0.9-sh.patch, +bootchart-0.9-r2.ebuild:
Remove a bashism from bootchartd as it uses /bin/sh.
Don't install baselayout-1 hooks if we have baselayout-2 installed
and give different installation instructions #188278.
28 Mar 2007; Mike Frysinger
Fix install path for rcscript addon #172391 by Georgi Georgiev.
23 Jan 2007; Marius Mauch
bootchart-0.9-r1.ebuild:
Replacing einfo with elog
*bootchart-0.9-r1 (19 Jan 2007)
19 Jan 2007; Petteri Räty
+bootchart-0.9-r1.ebuild:
Port to generation 2 and add the source use flag. Now has java as the herd
so we can touch this freely in the future.
*bootchart-0.9 (15 Aug 2006)
15 Aug 2006; Roy Marples
+files/bootchart-0.9-gentoo.patch, +files/bootchart,
+files/profiling-functions.sh, +metadata.xml, +bootchart-0.9.ebuild:
Initial import, #74425 thanks to Paul Pacheco.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX bootchart 158 RMD160 5729364e885d6f77ef67071edf24d23fc00ac9c0 SHA1 00c2bce14f62613e94ada34fc6df673a6457c748 SHA256 1e6dacfd95dc35808bce726a2a8517650095b4a6e7026d75de9a9eb3a2d7f898
AUX bootchart-0.9-gentoo.patch 1409 RMD160 521904d9bdc04be31236bc27496d1ca55420f576 SHA1 4f9e4d38a4f9e96a609d386111e33ff07913b3fe SHA256 f629a2607763dc9a0b0c9238814d58c9f4359bde6477dedb198652bbd814cd71
AUX bootchart-0.9-sh.patch 388 RMD160 dc99dca5e64adb27cbc1b1eb871a7393ac5708d9 SHA1 e80c6073d4e33e43a702500831c56f22ed174ef8 SHA256 a1b0b6154760c0cce10fde3a13e5a089bab0526a7aac3ed52ccbb09c4ad66dbf
AUX profiling-functions.sh 1834 RMD160 d1b0b3c695b0f0aa8882af834d7703eb54cdfc15 SHA1 d81a72e9979a232a8d3bae81072575804f4ca39e SHA256 399f831b6fb0421c8e9f3f8fcbf2e240281145e6c061a84031a6f073a06dd7e8
DIST bootchart-0.9.tar.bz2 222558 RMD160 c271bf634117c9bcd530055927abffead134b73a SHA1 3e74e4844e0616c5c6514f8152262638f36d72ac SHA256 7738399ecfcfb2242e9f99a316b13a5f59e89052de05074dbf705ccf4edc327d
EBUILD bootchart-0.9-r1.ebuild 3008 RMD160 4833330d41f6308ea01693b67a6969eb76003c2c SHA1 781dc5a3f8220a4715c02d2fc1cdee90d6ff73e7 SHA256 f3b98836845aa4fa513d9ed1ef44c67dd73511324da6cbad11d6f9b5dd296e59
EBUILD bootchart-0.9-r2.ebuild 3316 RMD160 86d47c7faf05ad17e49a1d974744849fe3aa3194 SHA1 1f83cd46e2fb95ccf6fadaa022e8d42b511b6a8a SHA256 20f9db8265722280ff86bcc9bf4af862faa8e3ad23519838c6440a201707745c
MISC ChangeLog 1549 RMD160 64fab98f1b4826f566a566e4e45ddfdda3887d16 SHA1 79545216806177fdcc2eb92e3f2f4fbfa3f949d4 SHA256 a51785133c2fdead6af3b9430e093e10e1ee0b57b78fb99d50c4024b3f974517
MISC metadata.xml 344 RMD160 59d9e188e23c88dd49c8e8c0c3b668014f0e2737 SHA1 e16bd56f387a7a5d78dc4247aae0cd2f1f7c8993 SHA256 153f74bdfe02fdd580fa2ef431ba7393e3ff71c1184d7da16b56aa4ecc73295c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkiHplIACgkQoeSe8B0zEfy1kQCdF1BcGrIx8QVHlWZWv0p2jlI2
EAgAn2xQDmHLLSs3+M4pInWBomLuj+q+
=RDkf
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/bootchart-0.9-r1.ebuild,v 1.3 2007/03/28 06:10:41 vapier Exp $
inherit multilib eutils java-pkg-opt-2 java-ant-2
DESCRIPTION="Performance analysis and visualization of the system boot process"
HOMEPAGE="http://www.bootchart.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="acct debug doc java source"
DEPEND="
java? (
>=virtual/jdk-1.4
>=dev-java/ant-core-1.4
dev-java/commons-cli
source? ( app-arch/zip )
)
"
RDEPEND="
java? (
>=virtual/jdk-1.4
dev-java/commons-cli
)
acct? ( sys-process/acct )
"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9-gentoo.patch
# delete the included commons-cli and use gentoo's instead
# The rest of lib is also bundled but a bit problematic to
# package https://bugs.gentoo.org/show_bug.cgi?id=162788
rm -rf lib/org/apache/commons/cli lib/org/apache/commons/lang
if use java ; then
java-ant_rewrite-classpath
sed -i -e 's,AUTO_RENDER="no",AUTO_RENDER="yes",g' \
script/bootchartd.conf
fi
if use acct ; then
sed -i -e 's,PROCESS_ACCOUNTING="no",PROCESS_ACCOUNTING="yes",g' \
script/bootchartd.conf
fi
}
src_compile() {
if use java ; then
local antflags="jar -Dcompiler.nowarn=true $(use_doc)"
use debug || antflags="${antflags} -Dbuild.debug=false"
eant ${antflags} \
-Dgentoo.classpath="$(java-pkg_getjars commons-cli-1):./build"
fi
}
src_install() {
dodoc README README.logger ChangeLog COPYING TODO
insinto /$(get_libdir)/rcscripts/addons
doins "${FILESDIR}"/profiling-functions.sh
into /
newsbin script/bootchartd bootchartd
into /usr
# This dir is normally empty, but is used to bind to the
# temporary dir bootchart normally makes. We do this so
# that our profiling script can write to a fixed location.
keepdir /lib/bootchart
insinto /etc
doins script/bootchartd.conf
if use java ; then
java-pkg_dojar "${PN}.jar"
use doc && java-pkg_dojavadoc javadoc/api
use source && java-pkg_dosrc src/org
java-pkg_dolauncher ${PN} \
--main org.bootchart.Main \
--java_args "-Djava.awt.headless=true"
fi
}
pkg_postinst() {
elog "To generate the chart, set RC_USE_BOOTCHART=\"yes\""
elog "in /etc/conf.d/rc and reboot"
elog
if use java; then
elog "The chart will be saved as /var/log/bootchart.png"
else
elog "Post the file /var/log/bootchart.tgz here:"
elog " http://www.bootchart.org/download.html"
elog "to render the chart"
fi
elog
elog "For best results: "
elog " Enable BSD process accounting v3 in the kernel"
elog " This will produce more accurate process trees"
elog " Set AUTO_RENDER_FORMAT to svg in /etc/bootchartd.conf"
elog " and view /var/log/bootchart.svgz with batik or"
elog " Adobe SVG viewer. This will give you additional"
elog " information about the processes in tooltips"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/bootchart-0.9-r2.ebuild,v 1.1 2007/08/10 11:13:32 uberlord Exp $
inherit multilib eutils java-pkg-opt-2 java-ant-2
DESCRIPTION="Performance analysis and visualization of the system boot process"
HOMEPAGE="http://www.bootchart.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="acct debug doc java source"
DEPEND="
java? (
>=virtual/jdk-1.4
>=dev-java/ant-core-1.4
dev-java/commons-cli
source? ( app-arch/zip )
)
"
RDEPEND="
java? (
>=virtual/jdk-1.4
dev-java/commons-cli
)
acct? ( sys-process/acct )
"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}"-gentoo.patch
epatch "${FILESDIR}/${P}"-sh.patch
# delete the included commons-cli and use gentoo's instead
# The rest of lib is also bundled but a bit problematic to
# package https://bugs.gentoo.org/show_bug.cgi?id=162788
rm -rf lib/org/apache/commons/cli lib/org/apache/commons/lang
if use java ; then
java-ant_rewrite-classpath
sed -i -e 's,AUTO_RENDER="no",AUTO_RENDER="yes",g' \
script/bootchartd.conf
fi
if use acct ; then
sed -i -e 's,PROCESS_ACCOUNTING="no",PROCESS_ACCOUNTING="yes",g' \
script/bootchartd.conf
fi
}
src_compile() {
if use java ; then
local antflags="jar -Dcompiler.nowarn=true $(use_doc)"
use debug || antflags="${antflags} -Dbuild.debug=false"
eant ${antflags} \
-Dgentoo.classpath="$(java-pkg_getjars commons-cli-1):./build"
fi
}
src_install() {
dodoc README README.logger ChangeLog COPYING TODO
# No need for this with baselayout-2
if has_version "
doins "${FILESDIR}"/profiling-functions.sh
fi
into /
newsbin script/bootchartd bootchartd
into /usr
# This dir is normally empty, but is used to bind to the
# temporary dir bootchart normally makes. We do this so
# that our profiling script can write to a fixed location.
keepdir /lib/bootchart
insinto /etc
doins script/bootchartd.conf
if use java ; then
java-pkg_dojar "${PN}.jar"
use doc && java-pkg_dojavadoc javadoc/api
use source && java-pkg_dosrc src/org
java-pkg_dolauncher ${PN} \
--main org.bootchart.Main \
--java_args "-Djava.awt.headless=true"
fi
}
pkg_postinst() {
if has_version "
elog "in /etc/conf.d/rc and reboot"
else
elog "To generate the chart, append this to your kernel commandline"
elog " init=/sbin/bootchartd"
elog "and reboot"
fi
elog
if use java; then
elog "The chart will be saved as /var/log/bootchart.png"
else
elog "Post the file /var/log/bootchart.tgz here:"
elog " http://www.bootchart.org/download.html"
elog "to render the chart"
fi
elog
elog "For best results: "
elog " Enable BSD process accounting v3 in the kernel"
elog " This will produce more accurate process trees"
elog " Set AUTO_RENDER_FORMAT to svg in /etc/bootchartd.conf"
elog " and view /var/log/bootchart.svgz with batik or"
elog " Adobe SVG viewer. This will give you additional"
elog " information about the processes in tooltips"
}
Performance analysis and visualization of the system boot process.