From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-891869-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DC81138306 for <garchives@archives.gentoo.org>; Wed, 13 Jul 2016 17:25:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81C5721C247; Wed, 13 Jul 2016 17:25:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1338421C245 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2016 17:25:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D66C1340B6E for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2016 17:25:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5A8B244F for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2016 17:25:44 +0000 (UTC) From: "Anthony G. Basile" <blueness@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" <blueness@gentoo.org> Message-ID: <1468430957.3d5bad07e9483bdceda834e3e10088d49a6a553c.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/httping/httping-2.4-r1.ebuild X-VCS-Directories: net-analyzer/httping/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 3d5bad07e9483bdceda834e3e10088d49a6a553c X-VCS-Branch: master Date: Wed, 13 Jul 2016 17:25:44 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 56dc6645-5492-4b9d-9368-2dfb3add2d60 X-Archives-Hash: a89e83c382ca1915106e6125ab5578c2 commit: 3d5bad07e9483bdceda834e3e10088d49a6a553c Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Wed Jul 13 17:28:59 2016 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Wed Jul 13 17:29:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5bad07 net-analyzer/httping: add libressl support Package-Manager: portage-2.2.28 net-analyzer/httping/httping-2.4-r1.ebuild | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/net-analyzer/httping/httping-2.4-r1.ebuild b/net-analyzer/httping/httping-2.4-r1.ebuild new file mode 100644 index 0000000..e787b8d --- /dev/null +++ b/net-analyzer/httping/httping-2.4-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 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 libressl linguas_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" + +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 +}