diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/pchar | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/pchar')
-rw-r--r-- | net-analyzer/pchar/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/pchar/files/pchar-1.5-snmp.patch | 24 | ||||
-rw-r--r-- | net-analyzer/pchar/metadata.xml | 18 | ||||
-rw-r--r-- | net-analyzer/pchar/pchar-1.5-r1.ebuild | 43 |
4 files changed, 86 insertions, 0 deletions
diff --git a/net-analyzer/pchar/Manifest b/net-analyzer/pchar/Manifest new file mode 100644 index 000000000000..267285de3267 --- /dev/null +++ b/net-analyzer/pchar/Manifest @@ -0,0 +1 @@ +DIST pchar-1.5.tar.gz 117678 SHA256 7019297084f1000557a019501532ecae67772851717329cc02227f5c17e36d27 SHA512 56784589a16638a12230a11a177b8dd97a7abac927624beaaea89e0169423f7242c2b434a36aad1a07d977e6b006fd71eb9132aecb1d35e3e3363eb2d1549d84 WHIRLPOOL 952ed4b9497da6b1e9ab8748d76e447b411e020baf0cebfb73e17e761b54de3c874707eebf6940510c0a1443823613021e1abac296bba9792680c6409c2a9f08 diff --git a/net-analyzer/pchar/files/pchar-1.5-snmp.patch b/net-analyzer/pchar/files/pchar-1.5-snmp.patch new file mode 100644 index 000000000000..9ebfbad39eb0 --- /dev/null +++ b/net-analyzer/pchar/files/pchar-1.5-snmp.patch @@ -0,0 +1,24 @@ +--- GetIfInfo.h.old 2005-02-12 21:32:18.000000000 +0100 ++++ GetIfInfo.h 2006-09-22 11:08:44.000000000 +0200 +@@ -17,7 +17,7 @@ + bool IsValid(void); + + const char * GetDescription(void) const; +- const char * GetIfInfo::GetName(void) const; ++ const char * GetName(void) const; + const char * GetContact(void) const; + const char * GetLocation(void) const; + const char * GetIfDescription(void) const; +--- configure.in.old 2005-02-12 21:32:18.000000000 +0100 ++++ configure.in 2006-10-24 23:08:38.000000000 +0200 +@@ -128,8 +128,8 @@ + LDFLAGS="-L$with_snmp/lib $LDFLAGS" + CPPFLAGS="-I$with_snmp/include $CPPFLAGS" + fi +- AC_CHECK_LIB(crypto, des_cbc_encrypt) +- AC_CHECK_LIB(snmp, snmp_sess_init,,,-lcrypto) ++ AC_CHECK_LIB(crypto, DES_cbc_encrypt) ++ AC_CHECK_LIB(snmp, snmp_sess_init) + fi + + dnl pcap support if desired. If the user enabled --with-pcap, diff --git a/net-analyzer/pchar/metadata.xml b/net-analyzer/pchar/metadata.xml new file mode 100644 index 000000000000..1c7ac553fb89 --- /dev/null +++ b/net-analyzer/pchar/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> +</maintainer> +<longdescription lang="en"> +pchar is a reimplementation of the pathchar utility, written by Van +Jacobson. Both programs attempt to characterize the bandwidth, +latency, and loss of links along an end-to-end path through the +Internet. pchar works in both IPv4 and IPv6 networks. +</longdescription> +<use> + <flag name='pcap'>Use the <pkg>net-libs/libpcap</pkg> library</flag> +</use> +</pkgmetadata> + diff --git a/net-analyzer/pchar/pchar-1.5-r1.ebuild b/net-analyzer/pchar/pchar-1.5-r1.ebuild new file mode 100644 index 000000000000..ef41a88924f5 --- /dev/null +++ b/net-analyzer/pchar/pchar-1.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +WANT_AUTOCONF=2.1 +WANT_AUTOMAKE=none + +inherit eutils autotools toolchain-funcs + +DESCRIPTION="Internet bandwidth, latency, and loss of links analyzer" +HOMEPAGE="http://www.kitchenlab.org/www/bmah/Software/pchar/" +SRC_URI="http://www.kitchenlab.org/www/bmah/Software/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="ipv6 pcap snmp" + +DEPEND=">=dev-libs/openssl-0.9.7 + snmp? ( net-analyzer/net-snmp[ucd-compat(+)] ) + pcap? ( net-libs/libpcap )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-snmp.patch + + eautoreconf +} + +src_configure() { + tc-export CC CXX + + econf --without-suid \ + $(use_with ipv6) \ + $(use_with snmp snmp /usr/lib) \ + $(use_with pcap) +} + +src_install() { + einstall + dodoc FAQ CHANGES README +} |