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-python/pypcap |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pypcap')
-rw-r--r-- | dev-python/pypcap/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch | 19 | ||||
-rw-r--r-- | dev-python/pypcap/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/pypcap/pypcap-1.1.5.ebuild | 26 | ||||
-rw-r--r-- | dev-python/pypcap/pypcap-1.1.6.ebuild | 31 |
5 files changed, 101 insertions, 0 deletions
diff --git a/dev-python/pypcap/Manifest b/dev-python/pypcap/Manifest new file mode 100644 index 000000000000..737c6341b546 --- /dev/null +++ b/dev-python/pypcap/Manifest @@ -0,0 +1,8 @@ +AUX pypcap-1.1.6-mktemp.patch 380 SHA256 a44faa23da05683b9ac7968545b3f0a9eb220fda09e3b7c0ec6c52413a633877 SHA512 50a0697847af441ec896409c6526f20635d7e47652d49750305102bd01590d0992ab81461abfa091040662a2393ce7db974c21e2a4952d9067ce5e8d12ddce19 WHIRLPOOL dfc3f398e698ebd3fd46fced0ca5afe36c1978d67804d68552c59c12ef1a0fb51a969eb015a7c36b0082da33763d3e191c0e96194a08d5d432bfcf88801da87a +DIST pypcap-1.1.5.tar.gz 47978 SHA256 04f289783f4920baab4a2144821d0be7e8a2bde7259284dd4a7e775d0016ced0 SHA512 15df8f966abb6e29f3dfbd0c7f39bb2c3616b4352667e62dc08da287c427e611ec32ac543103d0e5864e5beb86bb9353bf1417bc6680a46e79e06496d4bba353 WHIRLPOOL 4d3473ef08faa9a5e4e53e8518187071fc4b4be4a51cf1fe7ddab871501d03c44d7e88b7c21a80cbf9b4dfb653225b600b0c1651ba6a83d92a2970bc59513934 +DIST pypcap-1.1.6.tar.gz 57984 SHA256 c81a16091191c0931a9a39125d7f2cc5c0ebbf04745d970fbafc7d70c9c1dd61 SHA512 3d81364202256b19300b45b570537eead9835d8d58f54f51ed8ae43df1a270c0753c16b2050a999fa0f281e46ac66f71b96b6b4c910f2c18a5efae29a3b4e854 WHIRLPOOL d3d559de1ceb4fd14ef2aea040d4c37de07b2e1d385f992f6d5ac2e277994ded95caaef0bbcc9dfec6eb2c915915ff521f8b770200c4e26d03b1c76936796418 +EBUILD pypcap-1.1.5.ebuild 666 SHA256 657e58b70968c5476a7f63d11b4dc2974694db90bd3e435431c78dad89382893 SHA512 bca226e2aa27d4af6ce40d925b9f87d126be10ad87d7bf75a6910c679fde7161945fb4da0e13bd65dbb6ffecdfc457920c891d1acf28e0969063695d3ee8cae6 WHIRLPOOL a0a02b05be3e8bfb5ba8b3426d79071a1c6e0300e0096a331e49dc7b180b780264b3b0d57651b764ab890eb53c9cbc5ad01aa3dcfe14ab643e6d468b0b174c80 +EBUILD pypcap-1.1.6.ebuild 719 SHA256 02d16c7c814dbb6b1054ebf56dfd5831804dd5a7e4317f8477932f2b06c21813 SHA512 29170c048428d0403bb936e90bd79baa4b96981c8a6c6c336544cd87badfee23def22accba43a210ea8c65f399bf071e4b7f42b8563a2036fbe4f872e41b0a01 WHIRLPOOL 0c8c36a47a90037c5f865f5dcb61b63d3b928ca19a04a76db6d596da9397b19745def50ac43be46ba0791c0e7f2344df49ccef195a4b1ac7743817fbecaaefe3 +MISC ChangeLog 2979 SHA256 59f853029ae66a8b502e4ea232810ae31a7e51562dbfbf1b777e19ab0d3687a3 SHA512 f848f19010e0d14a6db7a63de27b8c7b5a0db516dc92adf97375685398f5759848b99335c1eef46e158406c94fd6441444f586fbb74918c5b0840dd02a69d2bd WHIRLPOOL c26fb372050f4a5c40a778bf1028619706a29a639b90818b015e82ad237f8d108f79acd14fa6a97a98095f83b0425d0d49219e7c346a82cef08a44d61e3d6011 +MISC ChangeLog-2015 2497 SHA256 6f416885eb90e651af2dcfff122ba59b6ee1df55eca4b17937ab35fd8b5c6483 SHA512 4ac60775b8525d81baf397da808b6cfb92aae49d209a6dbbffdfda6df3f56b24aff57f121b950c158dbdc495d55d5034be9f50461654bad44c730a9b96cc614a WHIRLPOOL da764591b429c0c485a3c866e5002cd45210a0c50623f81d45fa559701a4f27bcf315bd800c63c6a733168c3dc0912d514e6add2a0f5c0f140bb809929f131b6 +MISC metadata.xml 577 SHA256 c5eb3ae706c9269da42cdf7b7299aaafbc584bc9bdb3e7c747b23548919c2d46 SHA512 f50b1b47d18538d5a9ef3888eba98cca67fa919a5f3315fda54d098cfea595edbeefb62038035b07bc1b74cad3fdb56399c136512d6cb5b71ddf240594261c98 WHIRLPOOL 0865e11fdf9c642c00284b4d5236248c2591017a1a3b83188a50ef74c171940e6462f9947b9847f2a5465fc6e6e6debd44b66af35529b0b3dfff451c506c9336 diff --git a/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch b/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch new file mode 100644 index 000000000000..9bc3f3639c9f --- /dev/null +++ b/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch @@ -0,0 +1,19 @@ +--- a/pcap_ex.c ++++ b/pcap_ex.c +@@ -11,6 +11,7 @@ + # include <string.h> + # include <signal.h> + # include <unistd.h> ++# include <stdlib.h> + #endif + + #include <pcap.h> +@@ -290,7 +291,7 @@ + char ebuf[PCAP_ERRBUF_SIZE]; + int ret = -1; + +- mktemp(path); ++ mkstemp(path); + if ((f = fopen(path, "w")) != NULL) { + hdr.magic = 0xa1b2c3d4; + hdr.version_major = PCAP_VERSION_MAJOR; diff --git a/dev-python/pypcap/metadata.xml b/dev-python/pypcap/metadata.xml new file mode 100644 index 000000000000..dcb1e52969b7 --- /dev/null +++ b/dev-python/pypcap/metadata.xml @@ -0,0 +1,17 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>netmon@gentoo.org</email> + <name>Gentoo network monitoring and analysis project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="google-code">pypcap</remote-id> + <remote-id type="pypi">pypcap</remote-id> + <remote-id type="github">pynetwork/pypcap</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pypcap/pypcap-1.1.5.ebuild b/dev-python/pypcap/pypcap-1.1.5.ebuild new file mode 100644 index 000000000000..580c5f244113 --- /dev/null +++ b/dev-python/pypcap/pypcap-1.1.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Simplified object-oriented Python extension module for libpcap" +HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.python.org/pypi/pypcap" +SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" + +RDEPEND="net-libs/libpcap" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +python_compile() { + local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} diff --git a/dev-python/pypcap/pypcap-1.1.6.ebuild b/dev-python/pypcap/pypcap-1.1.6.ebuild new file mode 100644 index 000000000000..66b6ff129a7a --- /dev/null +++ b/dev-python/pypcap/pypcap-1.1.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Simplified object-oriented Python extension module for libpcap" +HOMEPAGE="https://github.com/pynetwork/pypcap https://pypi.python.org/pypi/pypcap" +SRC_URI="https://github.com/pynetwork/pypcap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" + +RDEPEND=" + net-libs/libpcap +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" +PATCHES=( + "${FILESDIR}"/${PN}-1.1.6-mktemp.patch +) + +python_compile() { + local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} |