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/tcptraceroute | |
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/tcptraceroute')
5 files changed, 147 insertions, 0 deletions
diff --git a/net-analyzer/tcptraceroute/Manifest b/net-analyzer/tcptraceroute/Manifest new file mode 100644 index 000000000000..7bcda77695e2 --- /dev/null +++ b/net-analyzer/tcptraceroute/Manifest @@ -0,0 +1,2 @@ +DIST tcptraceroute-1.5_beta7.tar.gz 119059 SHA256 57fd2e444935bc5be8682c302994ba218a7c738c3a6cae00593a866cd85be8e7 SHA512 ad5588e62a56f1b5fa851b68280a88e66a900777fe4fd67587262245cd9da17b536b7dc972abe540fc124a93ac76abcabbc55bc32f9f8ee872d5df57b08f7222 WHIRLPOOL 2686f753a665e1ba704adfc778e158a0465badaa4f9b7bb26b9d58da7e892522766e8eedbc1faf868d5c7474dca84cc83b018a46e5ac704f9708ec62ca07f05c +DIST tcptraceroute-1.5beta7.tar.gz 119119 SHA256 aed5b163ed4886f04242b46005a6cb4876ef38ad72001a94facb62a99dc99c57 SHA512 bd975872e6a2132cc88bdcb3f680d30741cf4265c618a5c2dc36e356d53dd8f7ecccdf798372bacf4dc616abe6dccae910cc7398c35091243cd53ac0f29953ae WHIRLPOOL 35f04d2019eb6cea4b39d7b0dc50ebb5f4f9c8c7d2b5feeb9d69faef84e571ddd4fcc248bce820af87be52cd717abba26dbfdebc15de9a15ae664e72e8288d93 diff --git a/net-analyzer/tcptraceroute/files/tcptraceroute-1.5_beta7-cross-compile-checks.patch b/net-analyzer/tcptraceroute/files/tcptraceroute-1.5_beta7-cross-compile-checks.patch new file mode 100644 index 000000000000..469f57d4add7 --- /dev/null +++ b/net-analyzer/tcptraceroute/files/tcptraceroute-1.5_beta7-cross-compile-checks.patch @@ -0,0 +1,62 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -148,11 +148,9 @@ + + # Is this Solaris? + AC_MSG_CHECKING(for Solaris) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( [], [ +-#if defined (__SVR4) && defined (__sun) +- exit(0); +-#else +- exit(-1); ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [], [ ++#if ! ( defined (__SVR4) && defined (__sun) ) ++#error "Not Solaris" + #endif + ]) + ],[ +@@ -165,11 +163,9 @@ + + # Is this BSDI? + AC_MSG_CHECKING(for BSDI) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( [], [ +-#if defined (__bsdi__) +- exit(0); +-#else +- exit(-1); ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [], [ ++#if ! defined (__bsdi__) ++#error "Not BSDI" + #endif + ]) + ],[ +@@ -182,11 +178,9 @@ + + # Is this NetBSD? + AC_MSG_CHECKING(for NetBSD) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( [], [ +-#if defined (__NetBSD__) +- exit(0); +-#else +- exit(-1); ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [], [ ++#if ! defined (__NetBSD__) ++#error "Not NetBSD"; + #endif + ]) + ],[ +@@ -199,11 +193,9 @@ + + # Is this MacOS X? + AC_MSG_CHECKING(for MacOS X) +-AC_RUN_IFELSE([AC_LANG_PROGRAM( [], [ +-#if defined (__APPLE__) && defined (__MACH__) +- exit(0); +-#else +- exit(-1); ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [], [ ++#if ! ( defined (__APPLE__) && defined (__MACH__) ) ++#error "Not Mac OS X" + #endif + ]) + ],[ diff --git a/net-analyzer/tcptraceroute/metadata.xml b/net-analyzer/tcptraceroute/metadata.xml new file mode 100644 index 000000000000..61d0b3e9889e --- /dev/null +++ b/net-analyzer/tcptraceroute/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <upstream> + <remote-id type="github">mct/tcptraceroute</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r1.ebuild b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r1.ebuild new file mode 100644 index 000000000000..83c4e3a92642 --- /dev/null +++ b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit flag-o-matic + +MY_P=${P/_beta/beta} +MY_PV=${PV/_beta/beta} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="tcptraceroute is a traceroute implementation using TCP packets" +HOMEPAGE="http://michael.toren.net/code/tcptraceroute/" +SRC_URI="http://michael.toren.net/code/tcptraceroute/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" +IUSE="" + +DEPEND=" + net-libs/libnet + net-libs/libpcap +" +RDEPEND="${DEPEND}" + +src_install() { + dosbin tcptraceroute + fowners root:wheel /usr/sbin/tcptraceroute + fperms 4710 /usr/sbin/tcptraceroute + doman tcptraceroute.1 + dodoc examples.txt README ChangeLog + dohtml tcptraceroute.1.html +} diff --git a/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r2.ebuild b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r2.ebuild new file mode 100644 index 000000000000..a72e415d8cb6 --- /dev/null +++ b/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta7-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +MY_P=${P/_beta/beta} + +DESCRIPTION="tcptraceroute is a traceroute implementation using TCP packets" +HOMEPAGE="https://github.com/mct/tcptraceroute" +SRC_URI="https://codeload.github.com/mct/${PN}/tar.gz/${MY_P} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" + +DEPEND=" + net-libs/libnet + net-libs/libpcap +" +RDEPEND="${DEPEND}" + +# michael.toren.net is no longer available +RESTRICT="test" + +S=${WORKDIR}/${PN}-${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cross-compile-checks.patch + eautoreconf +} + +src_install() { + dosbin tcptraceroute + fowners root:wheel /usr/sbin/tcptraceroute + fperms 4710 /usr/sbin/tcptraceroute + doman tcptraceroute.1 + dodoc examples.txt README ChangeLog + dohtml tcptraceroute.1.html +} |