From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3880113881E for ; Mon, 28 Sep 2015 11:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32B78E085C; Mon, 28 Sep 2015 11:10:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF578E085C for ; Mon, 28 Sep 2015 11:10:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C2C93408FF for ; Mon, 28 Sep 2015 11:10:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5AB31FB for ; Mon, 28 Sep 2015 11:10:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1443255915.eaea9055c8b569896a92655199287e70ad3baa10.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sysdig/Manifest dev-util/sysdig/sysdig-0.1.104.ebuild X-VCS-Directories: dev-util/sysdig/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: eaea9055c8b569896a92655199287e70ad3baa10 X-VCS-Branch: master Date: Mon, 28 Sep 2015 11:10:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: eff60f87-366e-4744-b130-9214e7eb5c21 X-Archives-Hash: c92b0535d4130a0a000cdd89f96bc75b commit: eaea9055c8b569896a92655199287e70ad3baa10 Author: Gregory M. Turner be-evil net> AuthorDate: Sun Sep 20 22:59:11 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 26 08:25:15 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaea9055 dev-util/sysdig: Version bump: 0.1.104 Update to latest upstream release. Fix SRC_URI to reference auto-generated github "tag" tarball. Fixes: #559218 Signed-off-by: Gregory M. Turner be-evil.net> dev-util/sysdig/Manifest | 1 + dev-util/sysdig/sysdig-0.1.104.ebuild | 84 +++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest index b042b53..c16e1c5 100644 --- a/dev-util/sysdig/Manifest +++ b/dev-util/sysdig/Manifest @@ -1,2 +1,3 @@ +DIST sysdig-0.1.104.tar.gz 459784 SHA256 05a7ed95a1b73053cae0a77de199e84d7c9804014166527e3b211ed637c3fbab SHA512 5b2a3daeee5ce1860c3feb0e21796157f7228286df86432ec201d3ff6568458f2c2d77010b72de2f6c9cea0e7eb53ea112e988c9e83eb4df084754e0cd91b126 WHIRLPOOL b873e977403d9c36a10e77b85cbdb1bf72a70bd03b846a82c844964a57d8e84fded357e7ef7ec0ffff33c2724810eca8e19ba4c4265405f6ead446d09e41d409 DIST sysdig-0.1.92.tar.xz 244728 SHA256 794ae6cef6ab8dae029979f5985b72c15f209e927518a3881e8a7624d77d5132 SHA512 661af8eece353ba0b0ea518496da89f4525f767c2797ff9f9e5caf670b6b3e7fa0c5cb14c3852971f563b665b42105a143d458a041b270d7107a403b2ec98b11 WHIRLPOOL bb47d717bcb3c5c948f4344a56e45996cfe275a48ea19f0fa12c2fce91f81fad317c9b5c05812e9c2aaf02240b597fb85f60a5ad3ee391a1a825de62a7eab57c DIST sysdig-0.1.98.tar.xz 263328 SHA256 5d60896ad2997f3dcf5d7252a53f5f7808ded11bd7c63f3a8c2aaaa1421f018f SHA512 8e4ab622fd0d69567e63054df256bfddda5765e2cf4d89490cd871625e4bb16d3d25ecbf0965f00e312d03ef3044615a7fd94d2f704b1a833ae1da9e2f66f33a WHIRLPOOL a96f8e8635d03351e4f42e8b3959c890a63a1232df5c9cc03f9359e18a926e23561e4f4fb10986285ff757e3ee47305a7fde01905541984e5582ba740962db70 diff --git a/dev-util/sysdig/sysdig-0.1.104.ebuild b/dev-util/sysdig/sysdig-0.1.104.ebuild new file mode 100644 index 0000000..5ada6f7 --- /dev/null +++ b/dev-util/sysdig/sysdig-0.1.104.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-mod bash-completion-r1 cmake-utils + +DESCRIPTION="A system exploration and troubleshooting tool" +HOMEPAGE="http://www.sysdig.org/" +SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+modules" + +RDEPEND="dev-lang/luajit:2= + >=dev-libs/jsoncpp-0.6_pre:0= + sys-libs/zlib:0=" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/os-headers" + +# needed for the kernel module +CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS TRACEPOINTS" + +pkg_pretend() { + use modules && linux-mod_pkg_setup +} + +pkg_setup() { + use modules && linux-mod_pkg_setup +} + +src_prepare() { + sed -i -e 's:-ggdb::' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + # we will use linux-mod for that + -DBUILD_DRIVER=OFF + # libscap examples are not installed or really useful + -DBUILD_LIBSCAP_EXAMPLES=OFF + + # unbundle the deps + -DUSE_BUNDLED_LUAJIT=OFF + -DLUAJIT_PREFIX="${EPREFIX}"/usr + -DLUAJIT_INCLUDE="${EPREFIX}"/usr/include/luajit-2.0 + -DUSE_BUNDLED_JSONCPP=OFF + -DJSONCPP_PREFIX="${EPREFIX}"/usr + -DJSONCPP_INCLUDE="${EPREFIX}"/usr/include/jsoncpp + -DUSE_BUNDLED_ZLIB=OFF + -DZLIB_PREFIX="${EPREFIX}"/usr + ) + + cmake-utils_src_configure + + # setup linux-mod ugliness + MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver:)" + BUILD_TARGETS="driver" +} + +src_compile() { + cmake-utils_src_compile + + use modules && linux-mod_src_compile +} + +src_install() { + cmake-utils_src_install + + use modules && linux-mod_src_install + + # remove sources + rm -r "${ED%/}"/usr/src || die + + # move bashcomp to the proper location + dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die + rm -r "${ED%/}"/usr/etc || die +}