mgorny      14/11/11 21:51:43

  Added:                sysdig-0.1.92.ebuild metadata.xml ChangeLog
  Log:
  Introduce initial version of sysdig, bug #510718.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.1                  dev-util/sysdig/sysdig-0.1.92.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/sysdig-0.1.92.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/sysdig-0.1.92.ebuild?rev=1.1&content-type=text/plain

Index: sysdig-0.1.92.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/sysdig/sysdig-0.1.92.ebuild,v 1.1 
2014/11/11 21:51:43 mgorny Exp $

EAPI=5

inherit linux-mod bash-completion-r1 cmake-utils

DESCRIPTION="A system exploration and troubleshooting tool"
HOMEPAGE="http://www.sysdig.org/";
# mirrored from https://github.com/draios/sysdig/archive/${PV}.tar.gz
SRC_URI="http://dev.gentoo.org/~mgorny/dist/${P}.tar.xz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="kernel_linux"

RDEPEND="dev-lang/luajit:2=
        dev-libs/jsoncpp: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_setup() {
        use kernel_linux && 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 kernel_linux && linux-mod_src_compile
}

src_install() {
        cmake-utils_src_install

        use kernel_linux && 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
}



1.1                  dev-util/sysdig/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <maintainer>
                <email>[email protected]</email>
                <name>Michał Górny</name>
        </maintainer>
</pkgmetadata>



1.1                  dev-util/sysdig/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-util/sysdig
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/sysdig/ChangeLog,v 1.1 2014/11/11 
21:51:43 mgorny Exp $

*sysdig-0.1.92 (11 Nov 2014)

  11 Nov 2014; Michał Górny <[email protected]> +metadata.xml,
  +sysdig-0.1.92.ebuild:
  Introduce initial version of sysdig, bug #510718.




Reply via email to