diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-08-06 05:42:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-08-06 05:42:26 +0000 |
commit | 69c530122df7163f549eb5c9d0f8808a3222ff2c (patch) | |
tree | edeffd47c4790f82cb04f882197049522031c102 /dev-util | |
parent | Add USE=udev to control automagic depend (diff) | |
download | gentoo-2-69c530122df7163f549eb5c9d0f8808a3222ff2c.tar.gz gentoo-2-69c530122df7163f549eb5c9d0f8808a3222ff2c.tar.bz2 gentoo-2-69c530122df7163f549eb5c9d0f8808a3222ff2c.zip |
Bump
(Portage version: 2.2.11-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/systemtap/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/systemtap/systemtap-2.5.ebuild | 71 |
2 files changed, 77 insertions, 1 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog index 8f2cda9b6654..b80741fc1def 100644 --- a/dev-util/systemtap/ChangeLog +++ b/dev-util/systemtap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/systemtap # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.119 2014/08/02 11:25:22 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.120 2014/08/06 05:42:26 patrick Exp $ + +*systemtap-2.5 (06 Aug 2014) + + 06 Aug 2014; Patrick Lauer <patrick@gentoo.org> +systemtap-2.5.ebuild: + Bump 02 Aug 2014; Raúl Porcel <armin76@gentoo.org> systemtap-2.4-r1.ebuild: alpha/ia64/sparc stable wrt #512328 diff --git a/dev-util/systemtap/systemtap-2.5.ebuild b/dev-util/systemtap/systemtap-2.5.ebuild new file mode 100644 index 000000000000..f9c67120120d --- /dev/null +++ b/dev-util/systemtap/systemtap-2.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-2.5.ebuild,v 1.1 2014/08/06 05:42:26 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit linux-info autotools eutils python-single-r1 + +DESCRIPTION="A linux trace/probe tool" +HOMEPAGE="http://www.sourceware.org/systemtap/" +SRC_URI="http://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="sqlite" + +RDEPEND=">=dev-libs/elfutils-0.142 + sys-libs/libcap + ${PYTHON_DEPS} + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.18.2" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS" +ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'." +ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'." +ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'." + +DOCS="AUTHORS HACKING NEWS README" + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + python_fix_shebang . + + sed -i \ + -e 's:-Werror::g' \ + configure.ac \ + Makefile.am \ + staprun/Makefile.am \ + stapdyn/Makefile.am \ + buildrun.cxx \ + testsuite/systemtap.unprivileged/unprivileged_probes.exp \ + testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ + testsuite/systemtap.base/stmt_rel_user.exp \ + testsuite/systemtap.base/sdt_va_args.exp \ + testsuite/systemtap.base/sdt_misc.exp \ + testsuite/systemtap.base/sdt.exp \ + scripts/kprobes_test/gen_code.py \ + || die "Failed to clean up sources" + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --without-rpm \ + --disable-server \ + --disable-docs \ + --disable-refdocs \ + --disable-grapher \ + $(use_enable sqlite) +} |