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 /net-libs/libpcapnav |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libpcapnav')
-rw-r--r-- | net-libs/libpcapnav/Manifest | 6 | ||||
-rw-r--r-- | net-libs/libpcapnav/files/libpcapnav-0.8-includes.patch | 20 | ||||
-rw-r--r-- | net-libs/libpcapnav/libpcapnav-0.8.ebuild | 40 | ||||
-rw-r--r-- | net-libs/libpcapnav/metadata.xml | 11 |
4 files changed, 77 insertions, 0 deletions
diff --git a/net-libs/libpcapnav/Manifest b/net-libs/libpcapnav/Manifest new file mode 100644 index 000000000000..866ee973d545 --- /dev/null +++ b/net-libs/libpcapnav/Manifest @@ -0,0 +1,6 @@ +AUX libpcapnav-0.8-includes.patch 395 SHA256 0cd3f442e2e60ad27b53b81a6321b9d5e564e63eb920ac33f7e2f4a8805c644c SHA512 04570a0f0b5c33565e79922e878171bb98640d2961cc9378c64e17a7144636960fe099bcca4c043d8a4532b98fe7960fdfa24af8145df5c8682af4dcc5d9b99c WHIRLPOOL e633519a8a65ab68a91aabd7bacd6ec33b74f14f02d99f019ea965b7dddf2b821c0b0d496546f41675fb2d086769948fd6d120d62e1e123cb91b7f248ae85c76 +DIST libpcapnav-0.8.tar.gz 387476 SHA256 11d6a4257cbc5a89aa73ce2aaa5b0fc17430f7279d0abb39ccaf3a411ba7e852 SHA512 bc0357d17228c157de5b480532df37a62459882d5a4fb8d2285fe4e86c1dca301e7cc505f2917bb3421d926bed263d93b2c587311431d9c3a5b02f04c93fdf18 WHIRLPOOL 08552c55bc6d2c80780b333e1ba0c476baa5d783c74309fe6e435cefae551b9d2a27040c66e2f27ee21a8679f48a3fe8f258a9efc64873fbda806656e339a974 +EBUILD libpcapnav-0.8.ebuild 805 SHA256 a86733dced7e3c2659f64386acecc9424bd017338d8e0a5e9c07bef9bd40977d SHA512 c84102927600a1739c0eaa741b7a49a340c71090bc4ca203e67e6bf00133044ae8cc7cb60bfce87420f3bfdd108f595f96d383bbaf4627a42ac0a5ec4945a43c WHIRLPOOL a1417611aea91ea7c2b461c859569a74a42d2e24eedbe2f76d9e3818f5415199ba65280bdb372af0c4ff7dd66ca0133cfd4c2f76e912c6d8e0d870a8c77cdd6b +MISC ChangeLog 2470 SHA256 d18e38c0d6785501371437192588a605370c7ae1e64c49cc97eb4dc0c672af51 SHA512 f56ddd205f6629313b732347df64b8618731c9a46c3589436490d3fedbf5429407e30a2e7957b571601a390c1d70db7856e257b592074309ffec3c7dc5a55723 WHIRLPOOL 8a229297578f1f89d3dfb0a1f78c5613eb4569cdb47280a1dce035ea447e7f1a27055658732b57b356ede766f3f4c0b51fc8b820c37c5ca4b542875f726bcc65 +MISC ChangeLog-2015 1850 SHA256 12c26c82b7c602ae1901ae26fe4cf8dec55dbd9f0081be562ff7c4e858a0931f SHA512 07667233267e8bbe04885d793f25047c95f53fe8bc107c7ce3022f4cdd79eca240c9ec798bb7bb6b46ac401e00a80048dd7c401136c5023f365a3eee01ec6a6c WHIRLPOOL 6e8cc25153d36e872fbbd8195e2a643a6a968f80b75b6cae01eb8d99dabca140ff16673735b8958202e678935bbfde818600ea63e8f7c6e372f4ac2a1d65f068 +MISC metadata.xml 357 SHA256 f62db9adbedae707710b3a6c405a7b5e032c3a10c86551962f0469a6a2e47ce3 SHA512 9cf449d26b416d995b8371fe2e6aed6964080b8b84bf0ceace749ceebd4ddbcc8b3d7d9c1d8c2a07a4c7cb880492ffc8b34ad31b4602a646e004f3aaf52f3ae8 WHIRLPOOL e2996e59feb79e11f44c3aab49adc38a8d9f1e3b00edc66893a9312b17d0eeb3e859668ac7799c6eb4095dee8de14c4588daf8f027db2f81bf77c721bcbb5372 diff --git a/net-libs/libpcapnav/files/libpcapnav-0.8-includes.patch b/net-libs/libpcapnav/files/libpcapnav-0.8-includes.patch new file mode 100644 index 000000000000..cb41bedf4a32 --- /dev/null +++ b/net-libs/libpcapnav/files/libpcapnav-0.8-includes.patch @@ -0,0 +1,20 @@ +--- a/test/pcapnav-test1.c ++++ b/test/pcapnav-test1.c +@@ -1,6 +1,7 @@ + #include <config.h> + #include <stdio.h> + #include <stdlib.h> ++#include <time.h> /* ctime() */ + + #include <pcapnav.h> + +--- a/test/pcapnav-jump.c ++++ b/test/pcapnav-jump.c +@@ -1,6 +1,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <pcapnav.h> ++#include <string.h> /* strcmp() */ + + int + main(int argc, char** argv) diff --git a/net-libs/libpcapnav/libpcapnav-0.8.ebuild b/net-libs/libpcapnav/libpcapnav-0.8.ebuild new file mode 100644 index 000000000000..e489ebd83f27 --- /dev/null +++ b/net-libs/libpcapnav/libpcapnav-0.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="Libpcap wrapper library to navigate to arbitrary packets in a tcpdump trace file" +HOMEPAGE="http://netdude.sourceforge.net/" +SRC_URI="mirror://sourceforge/netdude/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~sparc x86" +IUSE="doc static-libs" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +DOCS=( AUTHORS ChangeLog README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-includes.patch +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + emake SUBDIRS="src docs" +} + +src_install() { + default + rm -fr "${D}"/usr/share/gtk-doc + use doc && dohtml -r docs/*.css docs/html/*.html docs/images + prune_libtool_files +} diff --git a/net-libs/libpcapnav/metadata.xml b/net-libs/libpcapnav/metadata.xml new file mode 100644 index 000000000000..257607f181b3 --- /dev/null +++ b/net-libs/libpcapnav/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">netdude</remote-id> + </upstream> +</pkgmetadata> |