diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/ply |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/ply')
-rw-r--r-- | dev-util/ply/Manifest | 4 | ||||
-rw-r--r-- | dev-util/ply/metadata.xml | 10 | ||||
-rw-r--r-- | dev-util/ply/ply-0_pre20160313.ebuild | 58 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/ply/Manifest b/dev-util/ply/Manifest new file mode 100644 index 000000000000..922387329c25 --- /dev/null +++ b/dev-util/ply/Manifest @@ -0,0 +1,4 @@ +DIST ply-0_pre20160313.tar.gz 38530 SHA256 ef2f320b84f133840c65d4cca664b5c9fe8b3d5a01743dd05f776c1b7bff65ae SHA512 2de2ca2751574fe23b48188b0e8d1b4f1afe46003cbdefa69aeadaed0442675dad42b6cbfd161ebfbe006fbb21d447be4fca0ea7350b1409207473511f685d47 WHIRLPOOL 9283887367955adb98ae067fedaf3d183195dd0cca727864afcb84ac2f59e2f6b98b4e3c5be4867a1b6095f5435d445a86fb9e18053eae7fe4adee774c7f18e6 +EBUILD ply-0_pre20160313.ebuild 1539 SHA256 7fff1790963e4cb0227614021b7a40f0b32aaab5fc2fec08c53b5e6e6c6eafc5 SHA512 76457c4d3d0b7e537fca072b4133cbeec5898a786e09e758bf5ea42c870e039c3386e4a29fe7dd5e357d04ff7d75f0ed7be6d978e3b6fd1801a55bd164d66c1a WHIRLPOOL ab54c4c9827f904f699bcd48b7d6ea0ee8016d5419a98577cc48ee469bae2487d2ee6504ab5f7fd87ec365720a1c745c803a0ab3b24d819a0436c90f2db55fa4 +MISC ChangeLog 453 SHA256 9d409844dc70eede394fc0a0c9c0760e3d55256e965de7932ce0c7a8caff4730 SHA512 66210253c5f5dcf0537e53c9bb59403b0c97a0eec462d600de5e9ff9a9d541d82bfd8ea3bd39761988d02aa9a4cc189cacc9833a737a403e174f33df695ae14d WHIRLPOOL f1e579f0afff3f2986da4c23523d941a521b1ebab5fc0c2eeb4aca8b36d9d1f68a4c1cefb70e58d941b824017d689e8995a45eda7c08b89c19879bdd50e5f33b +MISC metadata.xml 302 SHA256 529efeb6b7c4382a8f8f295cbf5135b295ca9f3281cd205500d05abb9ce465e6 SHA512 528855426ce54aa03f915178952e3b82d98dfe1dec45ef7a5a9ddf1069bc279e5bd4c894ab9bb5e328b72a10e05a5f9d5d9b5c60650246343b832bb6381bd24c WHIRLPOOL 5b3b66840bd5746f1d7b66daa52f4837994bd2b09e45de3c41dc0ce64102cc71779299499b2f286c87ba0a1d83d5c27fcfddafe57fd53199fc5b8a7bd86a72de 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" +} |