summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLan Yixun (dlan) <dennis.yxun@gmail.com>2012-08-16 10:08:34 +0800
committerLan Yixun (dlan) <dennis.yxun@gmail.com>2012-08-16 10:14:04 +0800
commitc95798022369a1fa351069a5eca1afc5f396a1a4 (patch)
treec6e563b996b32929b16700a888fda0ba883095df /dev-util
parentdev-util/lttng-ust: New ebuild for bug #431354, thanks floppym and Tommy[D] (diff)
downloadsunrise-reviewed-c95798022369a1fa351069a5eca1afc5f396a1a4.tar.gz
sunrise-reviewed-c95798022369a1fa351069a5eca1afc5f396a1a4.tar.bz2
sunrise-reviewed-c95798022369a1fa351069a5eca1afc5f396a1a4.zip
dev-util/lttng-tools: New ebuild for bug #431356, thanks floppym and Tommy[D]
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/lttng-tools/ChangeLog11
-rw-r--r--dev-util/lttng-tools/Manifest5
-rw-r--r--dev-util/lttng-tools/lttng-tools-2.0.4.ebuild34
-rw-r--r--dev-util/lttng-tools/lttng-tools-9999.ebuild35
-rw-r--r--dev-util/lttng-tools/metadata.xml13
5 files changed, 98 insertions, 0 deletions
diff --git a/dev-util/lttng-tools/ChangeLog b/dev-util/lttng-tools/ChangeLog
new file mode 100644
index 000000000..9bb6f6777
--- /dev/null
+++ b/dev-util/lttng-tools/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/lttng-tools
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lttng-tools-9999 (16 Aug 2012)
+*lttng-tools-2.0.4 (16 Aug 2012)
+
+ 16 Aug 2012; Lan Yixun (dlan) <dennis.yxun@gmail.com>
+ +lttng-tools-2.0.4.ebuild, +lttng-tools-9999.ebuild, +metadata.xml:
+ New ebuild for bug #431356, thanks floppym and Tommy[D]
+
diff --git a/dev-util/lttng-tools/Manifest b/dev-util/lttng-tools/Manifest
new file mode 100644
index 000000000..692e68ecb
--- /dev/null
+++ b/dev-util/lttng-tools/Manifest
@@ -0,0 +1,5 @@
+DIST lttng-tools-2.0.4.tar.bz2 451589 SHA256 cb8421a6981ac03f5d0ea66780615e0058e18ad0f4dacbc10f56ab7db01daf7f SHA512 5c6fd1c7d87d073818200127dcad71d6e0effe6a8a80556b3bfa1902317df50aa364381d9b4fc351bcfeb0c33b5ff1f45207f420788fe74db87d15965001731a WHIRLPOOL 18a60a3b8aec851a8a2c33a0fb5e0686c21bf0dd78f2a15f725b8e3658f580230bb17c3d9de2998eaf4a18e6e47c5a078d953ef7a32723b6a2325ba0131428dc
+EBUILD lttng-tools-2.0.4.ebuild 731 SHA256 8481ec6a39ef0467428e60b93cd42c3fde9d5451781eea65a3512d4eaece1584 SHA512 dee33f3af7771a6a8c3d0064388950956ad4867ef863cba2d329cea12ad0b87781ed49a7644be82cee2746bf332adfc738115416c62f189b29bbe471c249c0c5 WHIRLPOOL d912a2c1fe3633263d2228d57b5c9d3a94babf8f5e7630dcbd88a114c2ae70462d49eba84e79508f3bf28e56be62eac842082a90ddc689763188e886ce5dcfab
+EBUILD lttng-tools-9999.ebuild 756 SHA256 dc24386375edffc490511ad8e806321f44638eb52dc99fe728f6858dfb3a4efd SHA512 5c10a4d7abc9c5ef35f04a35bc8f920e2c1966150f43a373430d35cee2a2687637cfb3bbf0483cf4b19e8d4dd99d893ad5c4f6140c5b0c067191456b5c364465 WHIRLPOOL 6735a7b39e124e5fc68e2851e1864898337ca94295922c06a292899db929be284289fb41652695add56f4347c86d3c2b766d42f217148c69fb9c1fa34b57e6c9
+MISC ChangeLog 372 SHA256 873048b30ee28d7f1f0e05e5aa0c0e8b6a5130d1e7c4fe6d871bf780a6b94e22 SHA512 9f3519a27d13597373a236b5eada4cd5630fb33af7c58bd5f44b44302ec7f14388ba7100dc4bbc6fd42756f1d68fe156588629d49079ef24be00b48f207a794b WHIRLPOOL 06baa3e377042958ac0418b8e25b9c1190cae3ccbfcad08a58ef4e5727523cc476080df89db87612e53669b861fcf97460199d096a9a36afe46452bf7de52f4f
+MISC metadata.xml 466 SHA256 d496d29e44fbf5c295ad8b7b11b8334b64fb323e06b1548e0da6e277a708bacf SHA512 7961deb9b35ab5c9e28fcbb3b3e8c750d842e0f21542e5cd9c26145e50c7faa0350a221096b32bdef6a43c90a0312b2f31f55c918421d65865d144fb80c35da6 WHIRLPOOL 21b10fe5c8416b0873be1a68ea5a073fa63d6786108d2d3ceeb3fd06278e8a5b482f380647f8b813d5534ebea91483a0c638f9d144b15d0dc9a2fb7db13a6d42
diff --git a/dev-util/lttng-tools/lttng-tools-2.0.4.ebuild b/dev-util/lttng-tools/lttng-tools-2.0.4.ebuild
new file mode 100644
index 000000000..bd995d4f8
--- /dev/null
+++ b/dev-util/lttng-tools/lttng-tools-2.0.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit linux-info
+
+DESCRIPTION="Linux Trace Toolkit - next generation"
+HOMEPAGE="http://lttng.org"
+SRC_URI="http://lttng.org/files/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="+ust"
+
+DEPEND="dev-libs/userspace-rcu
+ dev-libs/popt
+ ust? ( dev-util/lttng-ust )
+"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+ if kernel_is -lt 2 6 27; then
+ ewarn "${PN} require Linux kernel >= 2.6.27"
+ ewarn " pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run"
+ ewarn " the session daemon. There were introduce in the 2.6.27"
+ fi
+}
+
+src_configure() {
+ econf $(use_enable ust lttng-ust)
+}
diff --git a/dev-util/lttng-tools/lttng-tools-9999.ebuild b/dev-util/lttng-tools/lttng-tools-9999.ebuild
new file mode 100644
index 000000000..1c6e64b95
--- /dev/null
+++ b/dev-util/lttng-tools/lttng-tools-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit git-2 linux-info
+
+DESCRIPTION="Linux Trace Toolkit - next generation"
+HOMEPAGE="http://lttng.org"
+EGIT_REPO_URI="git://git.lttng.org/${PN}.git"
+EGIT_BOOTSTRAP="eautoreconf"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+ust"
+
+DEPEND="dev-libs/userspace-rcu
+ dev-libs/popt
+ ust? ( dev-util/lttng-ust )
+"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+ if kernel_is -lt 2 6 27; then
+ ewarn "${PN} require Linux kernel >= 2.6.27"
+ ewarn " pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run"
+ ewarn " the session daemon. There were introduce in the 2.6.27"
+ fi
+}
+
+src_configure() {
+ econf $(use_enable ust lttng-ust)
+}
diff --git a/dev-util/lttng-tools/metadata.xml b/dev-util/lttng-tools/metadata.xml
new file mode 100644
index 000000000..c9fae2137
--- /dev/null
+++ b/dev-util/lttng-tools/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+ LTTng, the Linux Trace Toolkit Next Generation, is a project that aims at producing a highly efficient full system tracing solution
+ </longdescription>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='ust'>Support LTTng-UST (Userspace Tracing)</flag>
+ </use>
+</pkgmetadata>