From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69CFB1395E2 for ; Fri, 11 Nov 2016 09:43:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61FCBE0B1F; Fri, 11 Nov 2016 09:43:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1284AE0B1F for ; Fri, 11 Nov 2016 09:43:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1F59341375 for ; Fri, 11 Nov 2016 09:43:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D3D224A2 for ; Fri, 11 Nov 2016 09:43:22 +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: <1478857396.72213f5a068f57de96f29ae5f10fd5e822079472.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.12.1.ebuild X-VCS-Directories: dev-util/sysdig/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 72213f5a068f57de96f29ae5f10fd5e822079472 X-VCS-Branch: master Date: Fri, 11 Nov 2016 09:43:22 +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: 84054599-5e3d-446f-9fd6-a45bc3c33322 X-Archives-Hash: 40c1b03de8f87c0f30448f5e54f9f643 commit: 72213f5a068f57de96f29ae5f10fd5e822079472 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 11 09:38:04 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 11 09:43:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72213f5a dev-util/sysdig: Bump to 0.12.1 dev-util/sysdig/Manifest | 1 + dev-util/sysdig/sysdig-0.12.1.ebuild | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest index e0da8da..c9bbc42 100644 --- a/dev-util/sysdig/Manifest +++ b/dev-util/sysdig/Manifest @@ -1,5 +1,6 @@ DIST sysdig-0.10.0.tar.gz 614663 SHA256 525f96ef9022ecbb23c7420c0e68dbcff0284ae72b19c91a6eea1e997eca4043 SHA512 d79aa7072750a292045b4e63557fc1114f95f913b4625ddba967ecad78563af61589ab53db4f69fbfcac21b6271d77f1f4b7ca2d2f318b2fde49720b0cd8f87c WHIRLPOOL db80457911a0442c6a6e6ee1be8fe57da657c6a7998b950bb9d3ca919d9f0d3f6bb60449b6a6fc26488e6f4ca23406a8970a91cb86fdb497dd63ae9a3d0b8ea2 DIST sysdig-0.10.1.tar.gz 615256 SHA256 fa98d6ec98666e5e052ebebc30d6b40d2b0ca79ce22e236bab39a2cda725297f SHA512 dcd023c26589fd674e4adcde3231216db4c6e6f75e44c37bf7394afb9df318290dfd3ba6cd276ff200f773c8be8a3aca2f9b192ff77adfc0e700d26f28760ebb WHIRLPOOL da02676fbaa18894d27cf0eb18428cc3aa6c16f3c1da517fd9be16efa3dc4d6212f64d25dc32baaefdde18aa645e2760d1ddd738fcd4d98b53bd95ddb221b267 +DIST sysdig-0.12.1.tar.gz 674159 SHA256 7d4ab158ea8059b2340c4b4cc40c315d30b508cb7236d2f079d4458bc2959691 SHA512 ca83ebd5684e480417e83ac90443690d60c2b673f62059a1619cc79704a90486329c8490f139625eee3479eded3ac433db574fb3574ddc50330b174b4246479a WHIRLPOOL 6e2eaa4a438779e6e5ef8885fed3af2fabb314aac521ad9d670594b29d809b601ae97ba87217c9cafb2467e4a7ac51d6026c072cd83c3f439ddb0b13f216b0cb DIST sysdig-0.5.1.tar.gz 505015 SHA256 dad586680f1615a769143d54a9ed19753dc0a4be164c680cc14dd2910a989623 SHA512 87fd22ef8d9c54b609d6e7a01f388b677159034ed462ec62c51d11ac8af6f2af872eed7274f6a04c5a4c47f8ba88844596524762ddcd017da05943ca7d1d773f WHIRLPOOL 4679453c6e45c70a06a923f75e1093c304a3a650601e67215564b3b5c211736d6484773c2f0dad76f6d0e2dbd47d645d77adaf71a5d8f12a0ac999bf11e726bf DIST sysdig-0.6.0.tar.gz 511512 SHA256 e30da5c5385503164e2198f5a126aa9ffd212efd00e192c89aa7dd97b4ac491c SHA512 2af30c5d487d0386554e6f74c5ef66df201b4c3f0b1ce9dc0002c193213359e549ab4f216e1cec41c7f36ac3aeeefa928821795b28f012f7786d35993e09691e WHIRLPOOL b760bbd7e489e97ce67c1448ba02d0755522a25c64e32e2d12ecb3e34aa40b107bf707fff1202da4df19c7dc79dc3ff5c35b23961e6ec8d42aa5a92c115a4098 DIST sysdig-0.9.0.tar.gz 587404 SHA256 72a809b32153713e6d8697e86ee821eb969fa0ec486fa7432471374feb0f1da5 SHA512 c4a67cce52e0db74f6fc805727111132241e9da59038762a30d0792afdecddbb0c442aeda3bdee35567cafc9372b8860bc2a5c10f34f7e879d2274723a79594a WHIRLPOOL b1fb447e9f4fd96df995b7be2e0c688f201adc98b9d77ce0672d2246bf33a890e7b4896789cd7a99f67b761b692ed6619d4c951ed8fa0362ba8ed080507dba4f diff --git a/dev-util/sysdig/sysdig-0.12.1.ebuild b/dev-util/sysdig/sysdig-0.12.1.ebuild new file mode 100644 index 00000000..1a97197 --- /dev/null +++ b/dev-util/sysdig/sysdig-0.12.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# cmake generates make-specific code +#: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +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=" + app-misc/jq:0= + dev-lang/luajit:2= + >=dev-libs/jsoncpp-0.6_pre:0= + dev-libs/libb64:0= + sys-libs/ncurses:0= + sys-libs/zlib:0= + dev-libs/openssl:0= + net-misc/curl: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_DEPS=OFF + ) + + cmake-utils_src_configure + + # setup linux-mod ugliness + MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver:)" + BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' + 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 +}