From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C30CB59CAF for ; Sun, 10 Apr 2016 03:04:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 962F421C0C3; Sun, 10 Apr 2016 03:04:11 +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 9835621C0C3 for ; Sun, 10 Apr 2016 03:04:10 +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 35ABB340B23 for ; Sun, 10 Apr 2016 03:03:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AE3A2C9 for ; Sun, 10 Apr 2016 03:03:55 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1460257419.de8f6e9c73908ed496c6cde5041374cfe9f76dde.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ply/Manifest dev-util/ply/metadata.xml dev-util/ply/ply-0_pre20160313.ebuild X-VCS-Directories: dev-util/ply/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: de8f6e9c73908ed496c6cde5041374cfe9f76dde X-VCS-Branch: master Date: Sun, 10 Apr 2016 03:03:55 +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: ef5cea3d-009f-4ccf-8ce9-1293771be378 X-Archives-Hash: 46a80ed7f523561920928cffa17f1eea commit: de8f6e9c73908ed496c6cde5041374cfe9f76dde Author: Zac Medico gentoo org> AuthorDate: Sun Apr 10 03:03:39 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Apr 10 03:03:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8f6e9c dev-util/ply: new package Package-Manager: portage-2.2.28 dev-util/ply/Manifest | 1 + dev-util/ply/metadata.xml | 10 ++++++ dev-util/ply/ply-0_pre20160313.ebuild | 59 +++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest new file mode 100644 index 0000000..72a3be7 --- /dev/null +++ b/dev-util/ply/Manifest @@ -0,0 +1 @@ +DIST ply-0_pre20160313.tar.gz 38530 SHA256 ef2f320b84f133840c65d4cca664b5c9fe8b3d5a01743dd05f776c1b7bff65ae SHA512 2de2ca2751574fe23b48188b0e8d1b4f1afe46003cbdefa69aeadaed0442675dad42b6cbfd161ebfbe006fbb21d447be4fca0ea7350b1409207473511f685d47 WHIRLPOOL 9283887367955adb98ae067fedaf3d183195dd0cca727864afcb84ac2f59e2f6b98b4e3c5be4867a1b6095f5435d445a86fb9e18053eae7fe4adee774c7f18e6 diff --git a/dev-util/ply/metadata.xml b/dev-util/ply/metadata.xml new file mode 100644 index 0000000..0e1f3d5 --- /dev/null +++ b/dev-util/ply/metadata.xml @@ -0,0 +1,10 @@ + + + + + zmedico@gentoo.org + + + iovisor/ply + + diff --git a/dev-util/ply/ply-0_pre20160313.ebuild b/dev-util/ply/ply-0_pre20160313.ebuild new file mode 100644 index 0000000..8112b40 --- /dev/null +++ b/dev-util/ply/ply-0_pre20160313.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools linux-info + +DESCRIPTION="Dynamic instrumentation of the Linux kernel with BPF and kprobes" +HOMEPAGE="https://github.com/iovisor/ply" +EGIT_COMMIT="cfc56c789ad1eff1080ecb0dad18d009b91ae8ea" +SRC_URI="https://github.com/iovisor/ply/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +pkg_pretend() { + local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF + ~BPF_JIT ~HAVE_BPF_JIT ~BPF_EVENTS" + + check_extra_config +} + +src_prepare() { + eapply_user + eautoreconf + default +} + +src_configure() { + local econf_args=() kerneldir_orig + if [[ -d ${KERNEL_DIR} ]]; then + # Using KBUILD_OUTPUT can fail, depending on the source tree + # state (it might demand that we make mrproper). Therefore, + # create a symlink copy of the source tree so that we are free + # to clean things up as needed. + kerneldir_orig=${KERNEL_DIR} + cp -sR "${kerneldir_orig}" "${T}/kerneldir" || die + export KERNEL_DIR="${T}/kerneldir" + pushd "${KERNEL_DIR}" || die + # avoid sandbox violation for scripts/kconfig/.conf.cmd + find . -name '\.*' -delete + cp "${kerneldir_orig}/.config" ./.config || die + set_arch_to_kernel + make mrproper oldconfig prepare || die + popd || die + econf_args+=(--with-kerneldir="${KERNEL_DIR}") + fi + econf "${econf_args[@]}" +} + +src_install() { + default + rm -f "${ED}/usr/share/doc/${P}/COPYING" +}