From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/sysdig: sysdig-0.1.98.ebuild ChangeLog |
Date: | Wed, 04 Mar 2015 09:14:31 |
Message-Id: | 20150304091427.123D21302E@oystercatcher.gentoo.org |
1 | mgorny 15/03/04 09:14:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sysdig-0.1.98.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 | |
10 | Revision Changes Path |
11 | 1.3 dev-util/sysdig/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/ChangeLog?rev=1.3&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/ChangeLog?rev=1.3&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/ChangeLog?r1=1.2&r2=1.3 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-util/sysdig/ChangeLog,v |
20 | retrieving revision 1.2 |
21 | retrieving revision 1.3 |
22 | diff -u -r1.2 -r1.3 |
23 | --- ChangeLog 22 Nov 2014 10:36:18 -0000 1.2 |
24 | +++ ChangeLog 4 Mar 2015 09:14:27 -0000 1.3 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-util/sysdig |
27 | -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/sysdig/ChangeLog,v 1.2 2014/11/22 10:36:18 mgorny Exp $ |
29 | +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/sysdig/ChangeLog,v 1.3 2015/03/04 09:14:27 mgorny Exp $ |
31 | + |
32 | +*sysdig-0.1.98 (04 Mar 2015) |
33 | + |
34 | + 04 Mar 2015; Michał Górny <mgorny@g.o> +sysdig-0.1.98.ebuild: |
35 | + Version bump. |
36 | |
37 | 22 Nov 2014; Michał Górny <mgorny@g.o> metadata.xml, |
38 | sysdig-0.1.92.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-util/sysdig/sysdig-0.1.98.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/sysdig-0.1.98.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/sysdig/sysdig-0.1.98.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: sysdig-0.1.98.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-util/sysdig/sysdig-0.1.98.ebuild,v 1.1 2015/03/04 09:14:27 mgorny Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit linux-mod bash-completion-r1 cmake-utils |
56 | |
57 | DESCRIPTION="A system exploration and troubleshooting tool" |
58 | HOMEPAGE="http://www.sysdig.org/" |
59 | # mirrored from https://github.com/draios/sysdig/archive/${PV}.tar.gz |
60 | SRC_URI="http://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="+modules" |
66 | |
67 | RDEPEND="dev-lang/luajit:2= |
68 | dev-libs/jsoncpp:0= |
69 | sys-libs/zlib:0=" |
70 | DEPEND="${RDEPEND} |
71 | app-arch/xz-utils |
72 | virtual/os-headers" |
73 | |
74 | # needed for the kernel module |
75 | CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS TRACEPOINTS" |
76 | |
77 | pkg_pretend() { |
78 | use modules && linux-mod_pkg_setup |
79 | } |
80 | |
81 | pkg_setup() { |
82 | use modules && linux-mod_pkg_setup |
83 | } |
84 | |
85 | src_prepare() { |
86 | sed -i -e 's:-ggdb::' CMakeLists.txt || die |
87 | |
88 | cmake-utils_src_prepare |
89 | } |
90 | |
91 | src_configure() { |
92 | local mycmakeargs=( |
93 | # we will use linux-mod for that |
94 | -DBUILD_DRIVER=OFF |
95 | # libscap examples are not installed or really useful |
96 | -DBUILD_LIBSCAP_EXAMPLES=OFF |
97 | |
98 | # unbundle the deps |
99 | -DUSE_BUNDLED_LUAJIT=OFF |
100 | -DLUAJIT_PREFIX="${EPREFIX}"/usr |
101 | -DLUAJIT_INCLUDE="${EPREFIX}"/usr/include/luajit-2.0 |
102 | -DUSE_BUNDLED_JSONCPP=OFF |
103 | -DJSONCPP_PREFIX="${EPREFIX}"/usr |
104 | -DJSONCPP_INCLUDE="${EPREFIX}"/usr/include/jsoncpp |
105 | -DUSE_BUNDLED_ZLIB=OFF |
106 | -DZLIB_PREFIX="${EPREFIX}"/usr |
107 | ) |
108 | |
109 | cmake-utils_src_configure |
110 | |
111 | # setup linux-mod ugliness |
112 | MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver:)" |
113 | BUILD_TARGETS="driver" |
114 | } |
115 | |
116 | src_compile() { |
117 | cmake-utils_src_compile |
118 | |
119 | use modules && linux-mod_src_compile |
120 | } |
121 | |
122 | src_install() { |
123 | cmake-utils_src_install |
124 | |
125 | use modules && linux-mod_src_install |
126 | |
127 | # remove sources |
128 | rm -r "${ED%/}"/usr/src || die |
129 | |
130 | # move bashcomp to the proper location |
131 | dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die |
132 | rm -r "${ED%/}"/usr/etc || die |
133 | } |