summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2014-07-31 21:53:25 +0000
committerYixun Lan <dlan@gentoo.org>2014-07-31 21:53:25 +0000
commit17eaab2df285083186c647044ef8458de9a5cf84 (patch)
tree66b671dc4575353e46b17c6726715a93dd42d8f5 /dev-util/lttng-modules
parentOur depend on glib or gdbus-codegen failed to require USE=utils for the glib ... (diff)
downloadgentoo-2-17eaab2df285083186c647044ef8458de9a5cf84.tar.gz
gentoo-2-17eaab2df285083186c647044ef8458de9a5cf84.tar.bz2
gentoo-2-17eaab2df285083186c647044ef8458de9a5cf84.zip
version bump, also drop old
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'dev-util/lttng-modules')
-rw-r--r--dev-util/lttng-modules/ChangeLog9
-rw-r--r--dev-util/lttng-modules/lttng-modules-2.4.2.ebuild (renamed from dev-util/lttng-modules/lttng-modules-2.4.0.ebuild)2
-rw-r--r--dev-util/lttng-modules/lttng-modules-2.5.0.ebuild44
3 files changed, 53 insertions, 2 deletions
diff --git a/dev-util/lttng-modules/ChangeLog b/dev-util/lttng-modules/ChangeLog
index 30a19e9bf5be..9277a9d42731 100644
--- a/dev-util/lttng-modules/ChangeLog
+++ b/dev-util/lttng-modules/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/lttng-modules
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/ChangeLog,v 1.2 2014/05/16 08:08:59 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/ChangeLog,v 1.3 2014/07/31 21:53:25 dlan Exp $
+
+*lttng-modules-2.5.0 (31 Jul 2014)
+*lttng-modules-2.4.2 (31 Jul 2014)
+
+ 31 Jul 2014; Yixun Lan <dlan@gentoo.org> -lttng-modules-2.4.0.ebuild,
+ +lttng-modules-2.4.2.ebuild, +lttng-modules-2.5.0.ebuild:
+ version bump, also drop old
*lttng-modules-2.4.1 (16 May 2014)
diff --git a/dev-util/lttng-modules/lttng-modules-2.4.0.ebuild b/dev-util/lttng-modules/lttng-modules-2.4.2.ebuild
index d7cb2baa9889..d212a95f90b2 100644
--- a/dev-util/lttng-modules/lttng-modules-2.4.0.ebuild
+++ b/dev-util/lttng-modules/lttng-modules-2.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/lttng-modules-2.4.0.ebuild,v 1.1 2014/03/04 06:48:20 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/lttng-modules-2.4.2.ebuild,v 1.1 2014/07/31 21:53:25 dlan Exp $
EAPI=5
diff --git a/dev-util/lttng-modules/lttng-modules-2.5.0.ebuild b/dev-util/lttng-modules/lttng-modules-2.5.0.ebuild
new file mode 100644
index 000000000000..876545f722ba
--- /dev/null
+++ b/dev-util/lttng-modules/lttng-modules-2.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/lttng-modules-2.5.0.ebuild,v 1.1 2014/07/31 21:53:25 dlan Exp $
+
+EAPI=5
+
+inherit linux-mod
+
+MY_P="${P/_rc/-rc}"
+DESCRIPTION="LTTng Kernel Tracer Modules"
+HOMEPAGE="http://lttng.org"
+SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BUILD_TARGETS="default"
+
+CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS
+ ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES"
+
+MODULE_NAMES="true"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+ if kernel_is lt 2 6 27; then
+ eerror "${PN} require Linux kernel >= 2.6.27"
+ die "Please update your kernel!"
+ fi
+}
+
+src_install() {
+ for i in $(find "${S}" -name "*.ko" -print); do
+ local val=${i##${S}/}
+ local modules+="${val%%.ko}(misc:) "
+ done
+ MODULE_NAMES=${modules}
+
+ linux-mod_src_install
+ dodoc ChangeLog README TODO
+}