From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 535B6138334 for ; Fri, 3 May 2019 16:11:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36D7BE098E; Fri, 3 May 2019 16:11:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E611E098E for ; Fri, 3 May 2019 16:11:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8490A34348A for ; Fri, 3 May 2019 16:11:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1002567 for ; Fri, 3 May 2019 16:11:41 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1556899900.19a78b769eb0630d0228862b75d76e705b5305b7.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/httping/httping-9999999.ebuild X-VCS-Directories: net-analyzer/httping/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 19a78b769eb0630d0228862b75d76e705b5305b7 X-VCS-Branch: master Date: Fri, 3 May 2019 16:11:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33108b86-581b-456f-9cfb-a35c81673275 X-Archives-Hash: b86766ff25ae8a971d32fdbd37aa2d8f commit: 19a78b769eb0630d0228862b75d76e705b5305b7 Author: Jeroen Roovers gentoo org> AuthorDate: Fri May 3 16:11:28 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri May 3 16:11:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a78b76 net-analyzer/httping: Add live ebuild Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/httping/httping-9999999.ebuild | 70 +++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/net-analyzer/httping/httping-9999999.ebuild b/net-analyzer/httping/httping-9999999.ebuild new file mode 100644 index 00000000000..32a92c0aead --- /dev/null +++ b/net-analyzer/httping/httping-9999999.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit git-r3 toolchain-funcs + +DESCRIPTION="like ping but for HTTP requests" +HOMEPAGE="https://www.vanheusden.com/httping/" +EGIT_REPO_URI="https://github.com/flok99/httping" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +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 +}