diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/ply | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/ply')
-rw-r--r-- | dev-util/ply/Manifest | 3 | ||||
-rw-r--r-- | dev-util/ply/metadata.xml | 10 | ||||
-rw-r--r-- | dev-util/ply/ply-0_pre20160313.ebuild | 58 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest new file mode 100644 index 000000000000..fe560e41acde --- /dev/null +++ b/dev-util/ply/Manifest @@ -0,0 +1,3 @@ +DIST ply-0_pre20160313.tar.gz 38530 BLAKE2B 3c709e98c32cfd5dce389cf8829e135e0ecdc7907c83dcd2eed88c9c4c5f5a81093cc9ca7045b0cdb18566f0a8b49ddb4d3ba7320c7eaf56a350e45345e8d7bf SHA512 2de2ca2751574fe23b48188b0e8d1b4f1afe46003cbdefa69aeadaed0442675dad42b6cbfd161ebfbe006fbb21d447be4fca0ea7350b1409207473511f685d47 +EBUILD ply-0_pre20160313.ebuild 1539 BLAKE2B ea3962c5a222eda81b7da7d97c3e33622c9e871e3d8e9101a65f9120e611c130f8d2af87d4d30b8a1147d9ebd73abe99c716c2c7695b521200a2ce79da0115ae SHA512 76457c4d3d0b7e537fca072b4133cbeec5898a786e09e758bf5ea42c870e039c3386e4a29fe7dd5e357d04ff7d75f0ed7be6d978e3b6fd1801a55bd164d66c1a +MISC metadata.xml 302 BLAKE2B f400d60a9dad4f8afcbf107bcf139d58435e77b8dfc8b5178f4fa8cce592b62eee40f6ef5bfef0cf1793c9c5293c43df8ce701bb1243d096f1872fc701d82799 SHA512 528855426ce54aa03f915178952e3b82d98dfe1dec45ef7a5a9ddf1069bc279e5bd4c894ab9bb5e328b72a10e05a5f9d5d9b5c60650246343b832bb6381bd24c diff --git a/dev-util/ply/metadata.xml b/dev-util/ply/metadata.xml new file mode 100644 index 000000000000..0e1f3d58af2b --- /dev/null +++ b/dev-util/ply/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">iovisor/ply</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/ply/ply-0_pre20160313.ebuild b/dev-util/ply/ply-0_pre20160313.ebuild new file mode 100644 index 000000000000..46367c55cfcd --- /dev/null +++ b/dev-util/ply/ply-0_pre20160313.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 "$(realpath "${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" +} |