Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 388060 Details for
Bug 510718
dev-util/sysdig - System-level exploration and troubleshooting tool
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for sysdig-0.1.91
sysdig-0.1.91.ebuild (text/plain), 2.36 KB, created by
Vladimir Pavljuchenkov (SpiderX)
on 2014-11-01 19:12:07 UTC
(
hide
)
Description:
ebuild for sysdig-0.1.91
Filename:
MIME Type:
Creator:
Vladimir Pavljuchenkov (SpiderX)
Created:
2014-11-01 19:12:07 UTC
Size:
2.36 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="5" > >inherit cmake-utils linux-mod bash-completion-r1 > >DESCRIPTION="System-level exploration and troubleshooting tool" >HOMEPAGE="http://www.sysdig.org/" >SRC_URI="https://github.com/draios/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~arm" > >IUSE="bash-completion bundled-libs debug examples modules zsh-completion" > >RDEPEND="!bundled-libs? ( > dev-lang/luajit:2 > >dev-libs/jsoncpp-0.5.0-r1 > sys-libs/zlib > ) > bash-completion? ( app-shells/gentoo-bashcomp ) > zsh-completion? ( app-shells/zsh-completion ) >" >DEPEND="virtual/os-headers > ${RDEPEND}" > >REQUIRED_USE="!kernel_linux? ( !modules )" > >MODULE_NAMES="sysdig-probe(misc:${S}_build/driver)" >MODULES_OPTIONAL_USE="modules" > >pkg_setup() { > use modules && linux-mod_pkg_setup >} > >src_prepare() { > if ! use debug ; then > sed -r '/\tset\(CMAKE_C(XX)?_FLAGS\ "\$\{CMAKE_C(XX)?_FLAGS\}\ -Wall/s/ -ggdb//' \ > -i "${S}"/CMakeLists.txt || die "sed for debug on CMakeList.txt failed" > fi > # Do not install shell completions > sed '/add_subdirectory(scripts)/d' \ > -i "${S}"/CMakeLists.txt || die "sed for scripts subdirectory on CMakeList.txt failed" > cmake-utils_src_prepare > epatch_user >} > >src_configure() { > unset ARCH > local mycmakeargs=( > $(usex bundled-libs -DUSE_BUNDLED_LUAJIT=ON -DUSE_BUNDLED_LUAJIT=OFF) > $(usex bundled-libs -DUSE_BUNDLED_JSONCPP=ON -DUSE_BUNDLED_JSONCPP=OFF) > $(usex bundled-libs -DUSE_BUNDLED_ZLIB=ON -DUSE_BUNDLED_ZLIB=OFF) > $(cmake-utils_use_build modules DRIVER) > $(cmake-utils_use_build examples LIBSCAP_EXAMPLES) > ) > cmake-utils_src_configure >} > >src_compile() { > cmake-utils_src_compile >} > >src_install() { > use bash-completion && dobashcomp "${S}"/scripts/completions/bash/sysdig > > if use zsh-completion ; then > insinto /usr/share/zsh/site-functions > doins "${S}"/scripts/completions/zsh/_sysdig > fi > > cmake-utils_src_install > use modules && linux-mod_src_install >} > >pkg_preinst() { > einfo "Removing source files from installation image..." > rm -rf "${D}/usr/src" > use modules && linux-mod_pkg_preinst >} > >pkg_postinst() { > if use modules ; then > linux-mod_pkg_postinst > ewarn "This package installs kernel module ${PN}-probe.ko." > ewarn "Don't forget to load the module before running sysdig." > fi >} > >pkg_postrm() { > use modules && linux-mod_pkg_postrm >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 510718
:
377224
|
377226
|
377228
|
377404
|
379666
|
379668
|
379670
|
380462
|
380464
|
381960
|
381962
|
381964
|
381966
|
381968
|
382436
|
383260
|
385554
|
388060
|
388524