summaryrefslogtreecommitdiff
path: root/net-analyzer/httping
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/httping
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/httping')
-rw-r--r--net-analyzer/httping/Manifest6
-rw-r--r--net-analyzer/httping/files/httping-2.2.1-flags.patch12
-rw-r--r--net-analyzer/httping/httping-2.5.ebuild70
-rw-r--r--net-analyzer/httping/metadata.xml11
4 files changed, 99 insertions, 0 deletions
diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest
new file mode 100644
index 000000000000..e388de36b4cd
--- /dev/null
+++ b/net-analyzer/httping/Manifest
@@ -0,0 +1,6 @@
+AUX httping-2.2.1-flags.patch 161 SHA256 de8e10b5a001ae56bdaeb9137d45bf963346e6de564cfc32eb88022a4b45d845 SHA512 037f53e3f23247ddc5f33ef846bafe32e3f818242b92375d7145fa244c9a8aeeac2d3b1138cbffa792a9564a5e4e96274ff457a13be0c4b228033d47b21748d6 WHIRLPOOL 51224ecbe3f1e7c55ab89d0a4973270bb97dd51ad816156c084ddb8bfdb1dd2f61f96b9830d61f7150a47854eb30ce695d7ef24ad781e01301172bd44b148128
+DIST httping-2.5.tgz 71400 SHA256 3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8 SHA512 397ce2eac91c9aede0eb19823bfca4e7f98c263937f5954c8a48d5248a251d2030e31f18decb7f7f8b0118ec0e16ec0a84ea4c943ccde7056b80de162954c355 WHIRLPOOL e392fbbedd7a55ebc76aca562471e3a8b1cbbcacaf5773558ef12767425e9ed95b59835539cf1142b675a683ff11646526a90556e737cf410ab0c750f5d3a841
+EBUILD httping-2.5.ebuild 1422 SHA256 fed61d02c24cd15b9953c3e98ae59604dba6c5cf05b3dfcf0869f7cbed1822a2 SHA512 b4f488d91476fd1c5f82816918855260fe3532e714dec974eea28279e984074327fbbe6d1f371a36284c68113f952901263020b22e9b1ec05d4de2322f190cbc WHIRLPOOL 97099496486148389aeaa97e4eb67aa2c484c3a9612412eae8cfd3b7db7d52487324d8af35a1663803b9237c1e77ab46785740bf984aa7e10cc2042814d8c48f
+MISC ChangeLog 3494 SHA256 f2e07c50ad4932e085ea308cb40565bdbdfc568a4d55a6fda5b4cd7b624a3035 SHA512 9ac9a7fe83edb54c82bf7dee257c0ebd95d1ccc4cfaded2b92a56ae5ea6ef2499f70f6c65c2e27a202d1180245347b6649a5df7ec82e18e43926c25f92dfa1e7 WHIRLPOOL 3462560900d3af71ecd04ee8a10bb3e275e61d8ac6ca7aa954c2dc072abcf9208bedb96f1031e3b59d519181d2b094184fe17ff4ad8b4c833c7e45c9b57c6c11
+MISC ChangeLog-2015 15854 SHA256 bf982debdac75f8673e4042d2bfa6be1382ec4270f5a230ba3686d5d92008a88 SHA512 8da2662b0eaca14347956031ceec97a27ca77825926801c4c8ed2ac9fff79cd60c997d563ccd92971829aecf96ff364ff5bb64303d38fece4d296a5000c12f2f WHIRLPOOL 8bd0dd82f57e30a73817221c2061c01b59b716e52b3ac5e04ece50348799b66481f15288118b09d656c99f3dfb35d666b85a889ea206ba3da42433a209e66c81
+MISC metadata.xml 344 SHA256 28d70331f93653ef4c0778dcc4a600fc7526fecf000131ec96844c9afdabaaf7 SHA512 3a2c114ecfba2e62b28c1a2ddb96bf57d73dda9c9dc50070c07beabbee711b37a560a71230b5a3ec8726b4d394674dcbb5943b33a62daed0c267e774b5ccbce7 WHIRLPOOL caf376482bcefe747b4977c59cb93261cbe3af37bdea8273cebc2f791a41afe33d86d2602140e4aac2d386d613a348e07aff41c59de9c782f1ae6ac0a1eb0d00
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.5.ebuild b/net-analyzer/httping/httping-2.5.ebuild
new file mode 100644
index 000000000000..646d60b84450
--- /dev/null
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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 libressl l10n_nl ncurses ssl tfo"
+
+RDEPEND="
+ fftw? ( sci-libs/fftw:3.0 )
+ ncurses? ( sys-libs/ncurses:0= )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+"
+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"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2.1-flags.patch
+)
+
+src_prepare() {
+ default
+
+ # doman does not get PN-LANG.CAT so we move things around and then point at
+ # it later
+ if use l10n_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 l10n_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..b3a969016433
--- /dev/null
+++ b/net-analyzer/httping/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>
+<use>
+<flag name="tfo">Enable support for TCP Fast Open</flag>
+</use>
+</pkgmetadata>