summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-12-10 13:14:46 +0000
committerJeroen Roovers <jer@gentoo.org>2012-12-10 13:14:46 +0000
commit6bd16e1e5600cdd904fbcb1a5dcd0e46b1365fe8 (patch)
tree78ac12c8ca3d2410bbd5339afcb980438c5cf687 /net-analyzer
parentVersion bump. (diff)
downloadgentoo-2-6bd16e1e5600cdd904fbcb1a5dcd0e46b1365fe8.tar.gz
gentoo-2-6bd16e1e5600cdd904fbcb1a5dcd0e46b1365fe8.tar.bz2
gentoo-2-6bd16e1e5600cdd904fbcb1a5dcd0e46b1365fe8.zip
Version bump.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/httping/ChangeLog8
-rw-r--r--net-analyzer/httping/files/httping-1.5.6-help.patch11
-rw-r--r--net-analyzer/httping/httping-1.5.6.ebuild43
3 files changed, 61 insertions, 1 deletions
diff --git a/net-analyzer/httping/ChangeLog b/net-analyzer/httping/ChangeLog
index 5a9eb2c92f84..bfb0872e3de0 100644
--- a/net-analyzer/httping/ChangeLog
+++ b/net-analyzer/httping/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/httping
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/ChangeLog,v 1.88 2012/11/19 14:12:27 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/ChangeLog,v 1.89 2012/12/10 13:14:46 jer Exp $
+
+*httping-1.5.6 (10 Dec 2012)
+
+ 10 Dec 2012; Jeroen Roovers <jer@gentoo.org> +httping-1.5.6.ebuild,
+ +files/httping-1.5.6-help.patch:
+ Version bump.
19 Nov 2012; Agostino Sarubbo <ago@gentoo.org> httping-1.5.5.ebuild:
Stable for x86, wrt bug #439390
diff --git a/net-analyzer/httping/files/httping-1.5.6-help.patch b/net-analyzer/httping/files/httping-1.5.6-help.patch
new file mode 100644
index 000000000000..2c45343eda8b
--- /dev/null
+++ b/net-analyzer/httping/files/httping-1.5.6-help.patch
@@ -0,0 +1,11 @@
+--- a/main.c
++++ b/main.c
+@@ -149,7 +149,7 @@
+ fprintf(stderr, "--no-cache -Z\n");
+ fprintf(stderr, "--tcp-fast-open -F\n");
+ fprintf(stderr, "--version -V\n");
+- fprintf(stderr, "--help -h\n");
++ fprintf(stderr, "--help -H\n");
+ }
+
+ void emit_error()
diff --git a/net-analyzer/httping/httping-1.5.6.ebuild b/net-analyzer/httping/httping-1.5.6.ebuild
new file mode 100644
index 000000000000..8f4d1ff9c0a9
--- /dev/null
+++ b/net-analyzer/httping/httping-1.5.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/httping-1.5.6.ebuild,v 1.1 2012/12/10 13:14:46 jer Exp $
+
+EAPI=4
+inherit eutils flag-o-matic 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 ssl"
+
+RDEPEND="
+ >=sys-libs/ncurses-5
+ ssl? ( dev-libs/openssl )
+"
+DEPEND="${RDEPEND}"
+
+# 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}-1.5.6-help.patch
+ sed -i "/^OFLAGS/d" Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ SSL=$(usex ssl) \
+ DEBUG=$(usex debug)
+}
+
+src_install() {
+ dobin httping
+ doman httping.1
+ dodoc readme.txt
+}