summaryrefslogtreecommitdiff
path: root/net-analyzer/httping
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-04 23:52:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-04 23:52:39 +0100
commit1b2c0d19f75523db182b267901484f87abf732cf (patch)
tree3c4832e97c3846189d07c64c2eba333bf33b8ab2 /net-analyzer/httping
parentdd851ab76c56a249df7a0ec052acd90940bc014f (diff)
gentoo auto-resync : 04:10:2023 - 23:52:39
Diffstat (limited to 'net-analyzer/httping')
-rw-r--r--net-analyzer/httping/Manifest4
-rw-r--r--net-analyzer/httping/httping-2.9.ebuild78
-rw-r--r--net-analyzer/httping/metadata.xml3
3 files changed, 84 insertions, 1 deletions
diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest
index 72c67583a301..6e730e3a733b 100644
--- a/net-analyzer/httping/Manifest
+++ b/net-analyzer/httping/Manifest
@@ -1,4 +1,6 @@
AUX httping-2.2.1-flags.patch 161 BLAKE2B be0f5f8df2fd89f46f15b3ef6c0c06e9f04573a822a6ce6e559471e3db586d69de0e440e3b9c4f401f30ab741d9eb85077ead8d3f9d4c026e7398609602f7c2e SHA512 037f53e3f23247ddc5f33ef846bafe32e3f818242b92375d7145fa244c9a8aeeac2d3b1138cbffa792a9564a5e4e96274ff457a13be0c4b228033d47b21748d6
DIST httping-2.5.tgz 71400 BLAKE2B da261827a4e2276816dbb2f9a6bac989f4ec0e7fc4b7686d51e57f8d4078ec3f94acef032b7042774e9cff57c8158696026e45d44ae1fbb00e52175c9c08b9a5 SHA512 397ce2eac91c9aede0eb19823bfca4e7f98c263937f5954c8a48d5248a251d2030e31f18decb7f7f8b0118ec0e16ec0a84ea4c943ccde7056b80de162954c355
+DIST httping-2.9.tar.gz 83674 BLAKE2B aa1e2b74756ebf62896ad2a4b89e68eff61f73f98ff881bba2fe4e14d2ed2a63af84a2780122ad845d1057ece3f37d567b7bf5d5b62a4b8487c58f1442a90fdf SHA512 74d4a98590b6862a2f15fffdf3bc58e3226a94c7aebbe60135695397b20e6cb71fe8c2af75b8525724f2f9ce6530d1f8eecd3193bc50f31d254bbb9903615019
EBUILD httping-2.5.ebuild 1567 BLAKE2B 34e9626ad8c7c558d07d3607fcf9d94510a302087cb58a52bac83bfbf94e4af4b85cb0c0d97d651e658596aecd891fcf03363348eef6c4de59df3d7acee03b8f SHA512 9c52120be63efbf5e708ddf3e049175cc032811973376f64e555f4281d85bb89f57e31995e2851e35268024c34eb786087602c10a358503962bfd2e3b057b3a2
-MISC metadata.xml 355 BLAKE2B 82571fb9512a52997803490157f8d2d18152f14f58d62a6dc75f883b93f616ce92d35360ae8c74f79cb0a36e040f28e48f261d92586e96458fef5d81c2bdaeb5 SHA512 a9c7e6a5fcf65fc19c4ec6869667b09d26d053d24205c5b7a5eeba58301a0346225744a52d89a477dbc2a4daaa83f96afa2ab493af9a40261c16e65ad30ea6b0
+EBUILD httping-2.9.ebuild 1736 BLAKE2B f72ab411c379daf659ec1ef8313b302e785fc7cecb4fc6bf6756472d4397ada0e4c4b22b4040e38e84b27d17a6902d8b9728bedcaf2ae239c647b21f57517b6e SHA512 d7357fab59f48e397e4f5412e5714797ee9f44bcae9b8f9077ae12c205e81ec752010ab8c13a66b1979324e5465a1ee3c57849c889db8851b677e0f0731702c5
+MISC metadata.xml 445 BLAKE2B 0ebe975f648b094ebe02e8cb5f478972c6aa5ba6ca3125b14e07948ff7bc260e09711af5e8864eeb252ab81464d65ac53639745153014ad9eba0174f504a3503 SHA512 1673292f25011cc116a415286dfe92bfc07dc2a23d174d1081513c226b2f3fdcaf75b965fa10eb4c75f6fe1bf3fdaf0fa1b97e21ccebe60375e82fb55745fccd
diff --git a/net-analyzer/httping/httping-2.9.ebuild b/net-analyzer/httping/httping-2.9.ebuild
new file mode 100644
index 000000000000..e44e4a03bcc7
--- /dev/null
+++ b/net-analyzer/httping/httping-2.9.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="http protocol ping-like program"
+HOMEPAGE="https://www.vanheusden.com/httping/"
+SRC_URI="https://github.com/folkertvanheusden/HTTPing/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/HTTPing-${PV}
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug fftw l10n_nl ncurses ssl +tfo"
+
+RDEPEND="
+ fftw? ( sci-libs/fftw:3.0 )
+ ncurses? ( sys-libs/ncurses:0= )
+ ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="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
+
+ # Don't clobber toolchain defaults
+ sed -i -e 's:-D_FORTIFY_SOURCE=2::' Makefile || die
+
+ # 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
+
+ if use ncurses ; then
+ local ncurses_flags="$($(tc-getPKG_CONFIG) --libs ncurses)"
+
+ # Don't require ncurses with unicode support
+ # bug #731950
+ sed -i -e "s/-lncursesw/${ncurses_flags}/" Makefile || die
+ append-libs "${ncurses_flags}"
+ fi
+}
+
+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
index 5d57b334f6c7..73888334196d 100644
--- a/net-analyzer/httping/metadata.xml
+++ b/net-analyzer/httping/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="tfo">Enable support for TCP Fast Open</flag>
</use>
+ <upstream>
+ <remote-id type="github">folkertvanheusden/HTTPing</remote-id>
+ </upstream>
</pkgmetadata>