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/httping | |
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/httping')
-rw-r--r-- | net-analyzer/httping/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/httping/files/httping-2.2.1-flags.patch | 12 | ||||
-rw-r--r-- | net-analyzer/httping/httping-2.4.ebuild | 64 | ||||
-rw-r--r-- | net-analyzer/httping/metadata.xml | 8 |
4 files changed, 85 insertions, 0 deletions
diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest new file mode 100644 index 000000000000..2c43a9f0c70d --- /dev/null +++ b/net-analyzer/httping/Manifest @@ -0,0 +1 @@ +DIST httping-2.4.tgz 54170 SHA256 dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084 SHA512 11d9e9e3b222548c9754cc0e7bf947f1a55ccc9f1a2401681f95d21b7b7a56c07665955b558a56d07a5c98497ea3644758e4f85006c42fda2134556be8d9e804 WHIRLPOOL eb1318094eb22aa2186421f04c26c4e980a41ba901a3bf80ab50e036417d3cf241bdef26a397b6e6f337cf48fdf3e19627cde82ef6b0ed4c6e3525d1c13a0cf6 diff --git a/net-analyzer/httping/files/httping-2.2.1-flags.patch b/net-analyzer/httping/files/httping-2.2.1-flags.patch new file mode 100644 index 000000000000..194eb473577c --- /dev/null +++ b/net-analyzer/httping/files/httping-2.2.1-flags.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -84,8 +84,7 @@ + endif + + ifeq ($(DEBUG),yes) +-CFLAGS+=-D_DEBUG -ggdb +-LDFLAGS+=-g ++CFLAGS+=-D_DEBUG + endif + + ifeq ($(ARM),yes) diff --git a/net-analyzer/httping/httping-2.4.ebuild b/net-analyzer/httping/httping-2.4.ebuild new file mode 100644 index 000000000000..2c8f9965c7a7 --- /dev/null +++ b/net-analyzer/httping/httping-2.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="http protocol ping-like program" +HOMEPAGE="http://www.vanheusden.com/httping/" +SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ~mips ~ppc ppc64 ~sparc x86" +IUSE="debug fftw linguas_nl ncurses ssl tfo" + +RDEPEND=" + fftw? ( sci-libs/fftw:3.0 ) + ncurses? ( >=sys-libs/ncurses-5 ) + ssl? ( dev-libs/openssl ) +" +DEPEND=" + ${RDEPEND} + ncurses? ( virtual/pkgconfig ) +" + +# This would bring in test? ( dev-util/cppcheck ) but unlike +# upstream we should only care about compile/run time testing +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.2.1-flags.patch + + # doman does not get PN-LANG.CAT so we move things around and then point at + # it later + if use linguas_nl; then + mkdir nl || die + mv httping-nl.1 nl/httping.1 || die + fi +} + +src_configure() { + # not an autotools script + echo > makefile.inc || die + + use ncurses && LDFLAGS+=" $( $( tc-getPKG_CONFIG ) --libs ncurses )" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + FW=$(usex fftw) \ + DEBUG=$(usex debug) \ + NC=$(usex ncurses) \ + SSL=$(usex ssl) \ + TFO=$(usex tfo) +} + +src_install() { + dobin httping + doman httping.1 + + use linguas_nl && doman -i18n=nl nl/httping.1 +} diff --git a/net-analyzer/httping/metadata.xml b/net-analyzer/httping/metadata.xml new file mode 100644 index 000000000000..c1f6c147e3a5 --- /dev/null +++ b/net-analyzer/httping/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> +<use> +<flag name='tfo'>Enable support for TCP Fast Open</flag> +</use> +</pkgmetadata> |