summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2014-03-05 20:45:53 +0000
committerSven Wegener <swegener@gentoo.org>2014-03-05 20:45:53 +0000
commit0b30b6962ac8d66be0546a58024343be55ae871e (patch)
treef745e4d6ab2562fc797aa2e2cdd82311c82ba855 /dev-util/systemtap
parentRemoved e-mail address from commit message that was an accident by a similar ... (diff)
downloadhistorical-0b30b6962ac8d66be0546a58024343be55ae871e.tar.gz
historical-0b30b6962ac8d66be0546a58024343be55ae871e.tar.bz2
historical-0b30b6962ac8d66be0546a58024343be55ae871e.zip
Convert ebuild to python-single-r1, bug #459984.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x64D4CF24
Diffstat (limited to 'dev-util/systemtap')
-rw-r--r--dev-util/systemtap/ChangeLog7
-rw-r--r--dev-util/systemtap/Manifest21
-rw-r--r--dev-util/systemtap/systemtap-2.4-r1.ebuild70
3 files changed, 81 insertions, 17 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog
index 30f611638c26..15399a1c1e0f 100644
--- a/dev-util/systemtap/ChangeLog
+++ b/dev-util/systemtap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/systemtap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.113 2014/03/04 00:13:59 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.114 2014/03/05 20:45:52 swegener Exp $
+
+*systemtap-2.4-r1 (05 Mar 2014)
+
+ 05 Mar 2014; Sven Wegener <swegener@gentoo.org> +systemtap-2.4-r1.ebuild:
+ Convert ebuild to python-single-r1, bug #459984.
04 Mar 2014; Andreas K. Huettel <dilfridge@gentoo.org> -systemtap-1.6.ebuild,
-systemtap-1.7.ebuild, -systemtap-2.0.ebuild,
diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest
index c0e004621fec..44fed3bc21b5 100644
--- a/dev-util/systemtap/Manifest
+++ b/dev-util/systemtap/Manifest
@@ -2,25 +2,14 @@
Hash: SHA256
DIST systemtap-2.4.tar.gz 2664988 SHA256 fdcee37c4db188819a69f67a72ad1977251e80673cebf729a443b6c00be779f4 SHA512 40c30942eb50948f11f06f9f37c76d96f5ebc8eb6d164c9af5d54845b3f43f38594ddebf5f0d42ac4704b0a2563cd23edf818c196ee1330db00011a85ae11b0c WHIRLPOOL 7441504b167b9f90da52abb7f0c934263c9ce984de4caedc43f3694c7a1c492fe7c5bdd56357d7eebc8d306aea6873cdf8c0dadb0fafcc4f0bb192d5e9cfb9d3
+EBUILD systemtap-2.4-r1.ebuild 2125 SHA256 ed9e709b05563fc9102f7e71263d8e50c1c50a364f57a7e687802c1e32a8d7f9 SHA512 297f28ff8f683e68cdf988af4ca7bcbd6c077badbdae43643c3be7671c40a42c03eee250437ba0582989244956b1d820e1140f3a60bbd4e9b4caf3a28bc0b470 WHIRLPOOL d0330caf39e0861976c9f1fa46ef9272f7bb1f69a336430e7d7e6badd2b1d490b89e29a9178b31f9ac62086d85f96677b0c368a3184b40af78a0223561c259fd
EBUILD systemtap-2.4.ebuild 2116 SHA256 763b744944d39bd0ef443a949bc5a558d76ae66abb4a5ee83c119d57180c3ee5 SHA512 a399ecab55f89ec9de014883811aa9093ff52146c7db7c6507dc33de0c84d800797e6630807aa0868d173b5af98844ed06110b933cd8ba4e7c66225a98a2ebfa WHIRLPOOL a9324d1744abb11a0d96d0a500470731ee1939d2cf9bf92cb3e8b8926a8a6712af505e6d25da3ed2b4a6c5f37b1eb6de8604a4e845bcd35bd9c79fc27ab1effc
-MISC ChangeLog 19117 SHA256 85df00b13df4c15c1cc73354b75fd4eb45e6d393e54eeec24402503d00e03c0b SHA512 7c3e729e3cd9620f119cc8544cebe49c78f483e5a876c481f7edec3c8bfdaa0ddcf9489696eb9cee28d137b90b91a7745a196e800851ed4b8f7260a3c9a3af5a WHIRLPOOL a3bb6448707a1d7b3bdabb7cc199e1e3218f3cb7203973c3a5030e346e419d73deab256ae32bd286b2dc315308a3927e5cc79398d6b216b07c50c9a2d7338fe9
+MISC ChangeLog 19277 SHA256 1d74e55572d5639bfaf25375d0886b6d504199f42b61863c7db76597aa8a2b80 SHA512 7bff400a9c15180982aa122428c6f62f8cde3bb2ba34f1bd1352c91cb7c44b7eee31e64c2f4f23b14f46d4905cc4d56a5c82c373b2697dd30ca625fe357e1886 WHIRLPOOL 4fda7642819e23c92c946371ef1fe9228c0b826fba7895e62a50931afc0afeb2b599fb73123845d9e6a4146bd218cddf9a88d70a346021f454e266e78396da1a
MISC metadata.xml 203 SHA256 2c3148e7687e70b2a6b31de8ac0f93eeab5ee357df8573ff7c039f7363b1edfe SHA512 2cdc771c8c898fa6586aabeff892395307084e3bc71913e8e76d25f61979a1224c229c7ce0c00c32015668206ee392fe3a6dfc423a744eb0d7bdcf8b6ecd53cf WHIRLPOOL 6b1279933cabcdbdde4de929c6bf215d90af1cbda191a454a9be50f96c7e16c7d61e3b56f6661cd467f11623eb11fec039b817effa1770974967dff3869cdd6f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQJ8BAEBCABmBQJTFRrQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
-QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcb78P/2BY6OV0b9kgMrNbzq1KLxK2
-NObV2rYYo58hQWGPjvjGDqH4OBfmFUXB4lGUyx3fRvGOkHoFn+hCwWdHb6kMNChn
-xAOnSzMvQbKBRy6B/+LLYSfDipFOSr4kTc1yGd9AjEKxFysZVLuvFso/ziatJsEj
-4rF5m/mhuGpmoFWKnR4lE7zyJQbnlR0zLhpxIR8LVzkSYkKvT2hIvKgMBZn7TIpb
-x7qez8n/ZzIZyusbm+9ipU4JT1IY4iMTWXoLaKNuZVzeCWg7ihudlWVGG3POolKO
-WiaUJzvHPymiKms6YokaKDEJLX461xgIPNIiy8X882fjhewfRupsbALKpZ64Q993
-+YdPvQhLRYAG9ow33KDYa81OqYorFiJcBQYBBqAu8ORn9XgDWhyFyNB8CgW42opj
-Efvyk8zxjws7LvMADeZpKVM5kw44WCGCwCGZRH14Yx0nLEhMcRP0zY+Ar5BiYiAR
-O2SXFJWoJP0cWRhpDxbHl32RWVU3ABaIVmGeP5oA/gk+gvzbyMdNStVORmVBbwZJ
-jn+dch777uVnSV7rGMeJMp7907OKOOauBRYlsfBhTlFr1mV1rh2T9kedbr84Arq9
-5cHQaw+t5ewFgXc/6A+/tdbC1ZkIfNmkJ6casp/hA0cRIOH9YKtKWmQ6AH1dA5Qh
-b5GMJfWdovpmEgQDm/ND
-=Pjih
+iEYEAREIAAYFAlMXjQEACgkQI1lqEGTUzyRXmgCfTV9kEaqAp6vQutjNSrJ92AKS
+5EAAnj4aMWl5B/3O6HvkifrJbaODSLJ8
+=ub3g
-----END PGP SIGNATURE-----
diff --git a/dev-util/systemtap/systemtap-2.4-r1.ebuild b/dev-util/systemtap/systemtap-2.4-r1.ebuild
new file mode 100644
index 000000000000..f43320baf4e5
--- /dev/null
+++ b/dev-util/systemtap/systemtap-2.4-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-2.4-r1.ebuild,v 1.1 2014/03/05 20:45:52 swegener Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit linux-info autotools eutils python-single-r1
+
+DESCRIPTION="A linux trace/probe tool"
+HOMEPAGE="http://www.sourceware.org/systemtap/"
+SRC_URI="http://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="sqlite"
+
+DEPEND=">=dev-libs/elfutils-0.142
+ sys-libs/libcap
+ ${PYTHON_DEPS}
+ sqlite? ( dev-db/sqlite:3 )"
+RDEPEND="${DEPEND}
+ virtual/linux-sources"
+DEPEND="${DEPEND}
+ >=sys-devel/gettext-0.18.2"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+
+ sed -i \
+ -e 's:-Werror::g' \
+ configure.ac \
+ Makefile.am \
+ staprun/Makefile.am \
+ stapdyn/Makefile.am \
+ buildrun.cxx \
+ testsuite/systemtap.unprivileged/unprivileged_probes.exp \
+ testsuite/systemtap.unprivileged/unprivileged_myproc.exp \
+ testsuite/systemtap.base/stmt_rel_user.exp \
+ testsuite/systemtap.base/sdt_va_args.exp \
+ testsuite/systemtap.base/sdt_misc.exp \
+ testsuite/systemtap.base/sdt.exp \
+ scripts/kprobes_test/gen_code.py \
+ || die "Failed to clean up sources"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --without-rpm \
+ --disable-server \
+ --disable-docs \
+ --disable-refdocs \
+ --disable-grapher \
+ $(use_enable sqlite)
+}