summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-03 22:22:04 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-03 22:22:04 +0000
commita014d38337126fcf1afef0b20ff77a5266ea3da1 (patch)
treef3993d63f98eb977112c98fd5932df3c9994ca4d /net-libs/libtrace
parentStable ppc, bug #433780 (diff)
downloadgentoo-2-a014d38337126fcf1afef0b20ff77a5266ea3da1.tar.gz
gentoo-2-a014d38337126fcf1afef0b20ff77a5266ea3da1.tar.bz2
gentoo-2-a014d38337126fcf1afef0b20ff77a5266ea3da1.zip
Initial import, ebuild by me (bug #404099).
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libtrace')
-rw-r--r--net-libs/libtrace/ChangeLog10
-rw-r--r--net-libs/libtrace/Manifest5
-rw-r--r--net-libs/libtrace/files/libtrace-3.0.14-no-doxygen.patch23
-rw-r--r--net-libs/libtrace/libtrace-3.0.14.ebuild50
-rw-r--r--net-libs/libtrace/metadata.xml5
5 files changed, 93 insertions, 0 deletions
diff --git a/net-libs/libtrace/ChangeLog b/net-libs/libtrace/ChangeLog
new file mode 100644
index 000000000000..e22c23f5f068
--- /dev/null
+++ b/net-libs/libtrace/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-libs/libtrace
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtrace/ChangeLog,v 1.1 2012/09/03 22:22:03 radhermit Exp $
+
+*libtrace-3.0.14 (03 Sep 2012)
+
+ 03 Sep 2012; Tim Harder <radhermit@gentoo.org> +libtrace-3.0.14.ebuild,
+ +files/libtrace-3.0.14-no-doxygen.patch, +metadata.xml:
+ Initial import, ebuild by me (bug #404099).
+
diff --git a/net-libs/libtrace/Manifest b/net-libs/libtrace/Manifest
new file mode 100644
index 000000000000..236ef0375d15
--- /dev/null
+++ b/net-libs/libtrace/Manifest
@@ -0,0 +1,5 @@
+AUX libtrace-3.0.14-no-doxygen.patch 573 SHA256 75e5ccacaa49218f17d0bfd59b23ed2a788d5aea116c25e8e65ca038aea58ab9 SHA512 67f4c44bbdce991840bb6aaab978b5b3b7b0c16537733d5c1c3300d2deb331bc904b12d162d210b91f2f62fd0051bfc29a588efabb996401ee4afbf8cd679ebf WHIRLPOOL 26da9bdc01d2d8dfa2eaa5ea187b3a935f012182acecf9b65ca806724ebc96af86c9e70a148544780d0472af8788b374677b5b209d04564fd449b65c58b7a30d
+DIST libtrace-3.0.14.tar.bz2 1092191 SHA256 7c9c0889e8bf06fd7203631cbf82d1845abbf41c9f4257dc3d785718948d9066 SHA512 154822de3e79cfe60fbe010645ce869515b1b49f3ca71e4d6b9caf04222051cc71a7249b0b5fe3aaeda347b0ab639432ffc1e1d5b0e83b358546e8a46c5bfadb WHIRLPOOL 4e8c41728267fa16fdee395ad3b24a4157cc2655221fd68c295e76a6c898424bbaf022677fa74f7376b7f67a20e3aa120ec8c632ae03221b6c16f73d61e0e68f
+EBUILD libtrace-3.0.14.ebuild 1064 SHA256 e609b7bf861cdb3bf7499cf8f8030834dfc5a3cfdb6bb8dffcaa8e9be8f27a67 SHA512 717ab9697a86e7e6ca5a71bdd69566bf872c8a6e4dab0c8ec2f600446e466cc14fb7727f2c8b1955bf78e2d4ab656a153f484dc80a0ec67e3edb31fa1496aca5 WHIRLPOOL f82ecc881a45ce04bcef89db0c32cad1e493a1c17d419c1f5f0538e3ad9ad3695b0719b9c976c0c4b313f7ecdc405d821e8b182bc3fa9ce04603085c4778b7ce
+MISC ChangeLog 329 SHA256 31dee00e36bbbe054a5efefe31bf3d33bd25afec2d5fb09b3798df703a4ad6d4 SHA512 6a124d658280ca106f64fc34c8c9fd21e2a24c23bab1d3a4e34849c118d53974adf7a9822219fe8d6d91c177826763739bbb9abb52913709645ee6e4f0d910cf WHIRLPOOL 946f6fafd44ac7ca0f68125a940949fe7dc67005e80e8cf088bd0268c649aca50f123cae96fca23a0f8fb0d7cf4ff48bd224f06fbe340525c35bfe8e86b1d580
+MISC metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 SHA512 2c104d2a804da0a38770b6f1ec26cd5b0a49e30392177d5794734a3f4129e82fd0971e5a8a1e48913bfaf1bab57e7bac1fe5ce4f5c618ce057aa5aaf9e59113b WHIRLPOOL 044dec64f8899582332d7fbd7612d2a7c5c7234c44bb9fc51a56f7d6400cd3066a154c3c49dd3f4b468f11e029aa24ff0097ab1387b9f322d57f1d9876afd601
diff --git a/net-libs/libtrace/files/libtrace-3.0.14-no-doxygen.patch b/net-libs/libtrace/files/libtrace-3.0.14-no-doxygen.patch
new file mode 100644
index 000000000000..d107cfc30df9
--- /dev/null
+++ b/net-libs/libtrace/files/libtrace-3.0.14-no-doxygen.patch
@@ -0,0 +1,23 @@
+--- libtrace-3.0.14/Makefile.am
++++ libtrace-3.0.14/Makefile.am
+@@ -5,9 +5,7 @@
+ ACLOCAL_AMFLAGS = -I m4
+ AUTOMAKE_OPTIONS = 1.9 foreign
+
+-if HAS_DOXYGEN
+ man_MANS = docs/doxygen/man/man3/trace*.3 docs/doxygen/man/man3/libtrace*.3
+-endif
+ EXTRA_DIST=libtrace.sln libtrace.vcproj test-convert.vcproj \
+ test-format.vcproj test-pcap-bpf.vcproj
+
+@@ -26,10 +24,6 @@
+ sed -i "s/SVN_REVISION.*/SVN_REVISION $$r/" $(distdir)/lib/libtrace.h.in; \
+ fi
+
+-if HAS_DOXYGEN
+-docs/doxygen/man/man3/*.3: docs
+-else
+ docs/doxygen/man/man3/*.3:
+-endif
+
+ install-man-hook: docs
diff --git a/net-libs/libtrace/libtrace-3.0.14.ebuild b/net-libs/libtrace/libtrace-3.0.14.ebuild
new file mode 100644
index 000000000000..7c5b7adc0f1d
--- /dev/null
+++ b/net-libs/libtrace/libtrace-3.0.14.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libtrace/libtrace-3.0.14.ebuild,v 1.1 2012/09/03 22:22:03 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A library and tools for trace processing"
+HOMEPAGE="http://research.wand.net.nz/software/libtrace.php"
+SRC_URI="http://research.wand.net.nz/software/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 doc lzo ncurses static-libs zlib"
+
+RDEPEND=">=net-libs/libpcap-0.8
+ ncurses? ( sys-libs/ncurses )
+ bzip2? ( app-arch/bzip2 )
+ zlib? ( sys-libs/zlib )
+ lzo? ( dev-libs/lzo )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/yacc"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-doxygen.patch
+
+ # don't build examples
+ sed -i "/^SUBDIRS/s/examples//" Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-man \
+ $(use_enable static-libs static) \
+ $(use_with ncurses) \
+ $(use_with bzip2) \
+ $(use_with zlib) \
+ $(use_with lzo)
+}
+
+src_install() {
+ default
+ use doc && dohtml docs/doxygen/html/*
+ use static-libs || find "${ED}" -name "*.la" -delete
+}
diff --git a/net-libs/libtrace/metadata.xml b/net-libs/libtrace/metadata.xml
new file mode 100644
index 000000000000..03aa50bab7e3
--- /dev/null
+++ b/net-libs/libtrace/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+</pkgmetadata>