[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/, net-analyzer/httping/files/

2023-12-16 Thread Sam James
commit: 6a59a245e266dfcb2dff105f96913bfd94e3264d
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 16 10:51:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 16 10:51:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a59a245

net-analyzer/httping: fix modern C issue

Closes: https://bugs.gentoo.org/920107
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/files/httping-2.9-c99.patch   | 35 ++
 .../{httping-2.9.ebuild => httping-2.9-r1.ebuild}  |  5 ++--
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/httping/files/httping-2.9-c99.patch 
b/net-analyzer/httping/files/httping-2.9-c99.patch
new file mode 100644
index ..48e07219d4e8
--- /dev/null
+++ b/net-analyzer/httping/files/httping-2.9-c99.patch
@@ -0,0 +1,35 @@
+https://github.com/folkertvanheusden/HTTPing/pull/12
+
+From 684a6e255ea2f5b11a0548e5d99c2678be7563d9 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sat, 16 Dec 2023 10:48:17 +
+Subject: [PATCH] http.c: add  for malloc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+GCC 14 makes implicit function declarations an error by default:
+```
+http.c: In function ‘get_HTTP_headers’:
+http.c:21:32: error: implicit declaration of function ‘malloc’ 
[-Wimplicit-function-declaration]
+   21 | char *buffer = (char *)malloc(len + 1);
+  |^~
+http.c:16:1: note: include ‘’ or provide a declaration of ‘malloc’
+   15 | #include "utils.h"
+  +++ |+#include 
+   16 |
+[...]
+```
+
+Bug: https://bugs.gentoo.org/920107
+Signed-off-by: Sam James 
+--- a/http.c
 b/http.c
+@@ -2,6 +2,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #ifndef NO_SSL

diff --git a/net-analyzer/httping/httping-2.9.ebuild 
b/net-analyzer/httping/httping-2.9-r1.ebuild
similarity index 94%
rename from net-analyzer/httping/httping-2.9.ebuild
rename to net-analyzer/httping/httping-2.9-r1.ebuild
index 9bfb0a57e5f1..a9db3b0d13f7 100644
--- a/net-analyzer/httping/httping-2.9.ebuild
+++ b/net-analyzer/httping/httping-2.9-r1.ebuild
@@ -17,8 +17,8 @@ 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= )
+   ncurses? ( sys-libs/ncurses:= )
+   ssl? ( dev-libs/openssl:= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="ncurses? ( virtual/pkgconfig )"
@@ -29,6 +29,7 @@ RESTRICT="test"
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.2.1-flags.patch
+   "${FILESDIR}"/${PN}-2.9-c99.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2023-11-04 Thread Sam James
commit: 2253d7878b9903b55cfc0290aacc1ebd829ab2c6
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  4 13:34:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  4 13:34:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2253d787

net-analyzer/httping: Stabilize 2.9 ppc64, #916847

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/httping/httping-2.9.ebuild 
b/net-analyzer/httping/httping-2.9.ebuild
index 085cc718fa8f..880cfd5fc6aa 100644
--- a/net-analyzer/httping/httping-2.9.ebuild
+++ b/net-analyzer/httping/httping-2.9.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/HTTPing-${PV}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="debug fftw l10n_nl ncurses ssl +tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2023-11-04 Thread Sam James
commit: 5ba14479455fef093247bba2dddbdb5aa0dd2381
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  4 13:34:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  4 13:34:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba14479

net-analyzer/httping: Stabilize 2.9 amd64, #916847

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/httping/httping-2.9.ebuild 
b/net-analyzer/httping/httping-2.9.ebuild
index 880cfd5fc6aa..9bfb0a57e5f1 100644
--- a/net-analyzer/httping/httping-2.9.ebuild
+++ b/net-analyzer/httping/httping-2.9.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/HTTPing-${PV}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="debug fftw l10n_nl ncurses ssl +tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2023-11-04 Thread Sam James
commit: 23bc2d968cb95166c543fb5cc4923152b324de51
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  4 12:23:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  4 12:23:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23bc2d96

net-analyzer/httping: Stabilize 2.9 x86, #916847

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/httping/httping-2.9.ebuild 
b/net-analyzer/httping/httping-2.9.ebuild
index e44e4a03bcc7..085cc718fa8f 100644
--- a/net-analyzer/httping/httping-2.9.ebuild
+++ b/net-analyzer/httping/httping-2.9.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/HTTPing-${PV}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="debug fftw l10n_nl ncurses ssl +tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2023-10-04 Thread Sam James
commit: 650a8732378431afd6d66c131f7962ac9b5a0743
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  4 16:15:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  4 16:47:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650a8732

net-analyzer/httping: add 2.9

Closes: https://bugs.gentoo.org/895528
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/Manifest   |  1 +
 net-analyzer/httping/httping-2.9.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest
index 50d7e99a616d..c94047bd1d9c 100644
--- a/net-analyzer/httping/Manifest
+++ b/net-analyzer/httping/Manifest
@@ -1 +1,2 @@
 DIST httping-2.5.tgz 71400 BLAKE2B 
da261827a4e2276816dbb2f9a6bac989f4ec0e7fc4b7686d51e57f8d4078ec3f94acef032b7042774e9cff57c8158696026e45d44ae1fbb00e52175c9c08b9a5
 SHA512 
397ce2eac91c9aede0eb19823bfca4e7f98c263937f5954c8a48d5248a251d2030e31f18decb7f7f8b0118ec0e16ec0a84ea4c943ccde7056b80de162954c355
+DIST httping-2.9.tar.gz 83674 BLAKE2B 
aa1e2b74756ebf62896ad2a4b89e68eff61f73f98ff881bba2fe4e14d2ed2a63af84a2780122ad845d1057ece3f37d567b7bf5d5b62a4b8487c58f1442a90fdf
 SHA512 
74d4a98590b6862a2f15fffdf3bc58e3226a94c7aebbe60135695397b20e6cb71fe8c2af75b8525724f2f9ce6530d1f8eecd3193bc50f31d254bbb9903615019

diff --git a/net-analyzer/httping/httping-2.9.ebuild 
b/net-analyzer/httping/httping-2.9.ebuild
new file mode 100644
index ..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
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2023-10-04 Thread Sam James
commit: fde46ad6fe6f3a79c9cdb10b2420a51a7897ddea
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  4 16:09:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  4 16:47:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde46ad6

net-analyzer/httping: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

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 @@

Enable support for TCP Fast Open

+   
+   folkertvanheusden/HTTPing
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2022-06-16 Thread Sam James
commit: 93370b9dfa60df402db1cca61679a3467eb00f06
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 16 22:00:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 16 22:09:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93370b9d

net-analyzer/httping: drop 999

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-999.ebuild | 72 -
 net-analyzer/httping/metadata.xml   |  3 --
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/httping/httping-999.ebuild 
b/net-analyzer/httping/httping-999.ebuild
deleted file mode 100644
index c3e262a43ac8..
--- a/net-analyzer/httping/httping-999.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit git-r3 toolchain-funcs flag-o-matic
-
-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"
-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
-
-   # 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-ldflags "${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 a52f62aaf559..5d57b334f6c7 100644
--- a/net-analyzer/httping/metadata.xml
+++ b/net-analyzer/httping/metadata.xml
@@ -8,7 +8,4 @@

Enable support for TCP Fast Open

-   
-   flok99/httping
-   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-22 Thread Sam James
commit: c373f923729cd1ab62d5e369b2d86afa1a3cf41b
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 08:10:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 08:10:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c373f923

net-analyzer/httping: fix WhitespaceFound

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/httping/httping-999.ebuild 
b/net-analyzer/httping/httping-999.ebuild
index 15f79d85a73..c3e262a43ac 100644
--- a/net-analyzer/httping/httping-999.ebuild
+++ b/net-analyzer/httping/httping-999.ebuild
@@ -51,7 +51,7 @@ src_configure() {
# bug #731950
sed -i -e "s/-lncursesw/${ncurses_flags}/" Makefile || die
append-ldflags "${ncurses_flags}"
-fi
+   fi
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-22 Thread Sam James
commit: 151346a744047d05793ddf43ce0d8e6c68f5bfb1
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 08:08:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 08:09:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151346a7

net-analyzer/httping: drop USE=libressl support

It's not supported in Gentoo any more.

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild | 7 ++-
 net-analyzer/httping/httping-999.ebuild | 7 ++-
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index bef7c95c9fd..b454614720f 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -12,15 +12,12 @@ SRC_URI="https://www.vanheusden.com/${PN}/${P}.tgz;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~hppa ~mips ~ppc ppc64 ~sparc x86"
-IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
+IUSE="debug fftw 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= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="ncurses? ( virtual/pkgconfig )"

diff --git a/net-analyzer/httping/httping-999.ebuild 
b/net-analyzer/httping/httping-999.ebuild
index b9faaaf1fed..15f79d85a73 100644
--- a/net-analyzer/httping/httping-999.ebuild
+++ b/net-analyzer/httping/httping-999.ebuild
@@ -11,15 +11,12 @@ EGIT_REPO_URI="https://github.com/flok99/httping;
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
+IUSE="debug fftw 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= )
-   )
+   ssl? ( dev-libs/openssl:0= )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="ncurses? ( virtual/pkgconfig )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-22 Thread Sam James
commit: ddb406bc27e8fb61b4a9b3047036762fafc59639
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 08:05:30 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 08:09:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb406bc

net-analyzer/httping: port to EAPI 7

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index 5a90ceb7910..70c43b0cd87 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -1,12 +1,13 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils toolchain-funcs flag-o-matic
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="http protocol ping-like program"
-HOMEPAGE="http://www.vanheusden.com/httping/;
-SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz;
+HOMEPAGE="https://www.vanheusden.com/httping/;
+SRC_URI="https://www.vanheusden.com/${PN}/${P}.tgz;
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -21,10 +22,8 @@ RDEPEND="
libressl? ( dev-libs/libressl:0= )
)
 "
-DEPEND="
-   ${RDEPEND}
-   ncurses? ( virtual/pkgconfig )
-"
+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



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-22 Thread Sam James
commit: 9cff4f503b6275ac1d3cd5298a71aa39ae965419
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 08:03:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 08:09:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cff4f50

net-analyzer/httping: don't assume ncurses is built with unicode support

A fun variant/difference from the usual tinfo bugs.

Closes: https://bugs.gentoo.org/731950
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index b4f856e559b..5a90ceb7910 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs flag-o-matic
 
 DESCRIPTION="http protocol ping-like program"
 HOMEPAGE="http://www.vanheusden.com/httping/;
@@ -43,13 +43,19 @@ src_prepare() {
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 )"
+   if use ncurses ; then
+   local ncurses_flags="$($(tc-getPKG_CONFIG) --libs ncurses)"
+
+   sed -i -e "s/-lncursesw/${ncurses_flags}/" Makefile || die
+   append-ldflags "${ncurses_flags}"
+   fi
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-22 Thread Sam James
commit: 510474327c2ab9b61ddf6b6946caa40dabb2f52c
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 08:06:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 22 08:09:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51047432

net-analyzer/httping: sync live

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild |  2 ++
 net-analyzer/httping/httping-999.ebuild | 21 +
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index 70c43b0cd87..bef7c95c9fd 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -52,6 +52,8 @@ src_configure() {
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-ldflags "${ncurses_flags}"
fi

diff --git a/net-analyzer/httping/httping-999.ebuild 
b/net-analyzer/httping/httping-999.ebuild
index 32a92c0aead..b9faaaf1fed 100644
--- a/net-analyzer/httping/httping-999.ebuild
+++ b/net-analyzer/httping/httping-999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit git-r3 toolchain-funcs
+
+inherit git-r3 toolchain-funcs flag-o-matic
 
 DESCRIPTION="like ping but for HTTP requests"
 HOMEPAGE="https://www.vanheusden.com/httping/;
@@ -10,7 +11,6 @@ EGIT_REPO_URI="https://github.com/flok99/httping;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
 
 RDEPEND="
@@ -21,10 +21,8 @@ RDEPEND="
libressl? ( dev-libs/libressl:0= )
)
 "
-DEPEND="
-   ${RDEPEND}
-   ncurses? ( virtual/pkgconfig )
-"
+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
@@ -49,7 +47,14 @@ src_configure() {
# not an autotools script
echo > makefile.inc || die
 
-   use ncurses && LDFLAGS+=" $( $( tc-getPKG_CONFIG ) --libs ncurses )"
+   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-ldflags "${ncurses_flags}"
+fi
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-06 Thread Sam James
commit: f792c82daafedf56e34cc5aa81adbe9629fb3af9
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  6 09:06:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  6 09:08:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f792c82d

net-analyzer/httping: add github remote-id

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-analyzer/httping/metadata.xml 
b/net-analyzer/httping/metadata.xml
index 13b4e0eed73..4c51b8cf32f 100644
--- a/net-analyzer/httping/metadata.xml
+++ b/net-analyzer/httping/metadata.xml
@@ -8,4 +8,7 @@

Enable support for TCP Fast Open

+   
+   flok99/httping
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2021-03-06 Thread Sam James
commit: 72dfe842fbcacb65cd6acb41a0ea97ea15554176
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  6 09:06:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  6 09:08:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72dfe842

net-analyzer/httping: fix metadata indentation

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/metadata.xml | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-analyzer/httping/metadata.xml 
b/net-analyzer/httping/metadata.xml
index b3a96901643..13b4e0eed73 100644
--- a/net-analyzer/httping/metadata.xml
+++ b/net-analyzer/httping/metadata.xml
@@ -1,11 +1,11 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-net...@gentoo.org
-Gentoo network monitoring and analysis project
-
-
-Enable support for TCP Fast Open
-
+   
+   net...@gentoo.org
+   Gentoo network monitoring and analysis project
+   
+   
+   Enable support for TCP Fast Open
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2020-07-20 Thread Sam James
commit: 8d9cd0848d9658c8bebb42948e07a1761f696d48
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 20 21:16:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 20 21:22:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9cd084

net-analyzer/httping: arm64 keyworded (bug #733292)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index 27dc3f021f5..4f2b970f4c7 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 hppa ~mips ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm64 hppa ~mips ~ppc ppc64 ~sparc x86"
 IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2019-05-03 Thread Jeroen Roovers
commit: 19a78b769eb0630d0228862b75d76e705b5305b7
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May  3 16:11:28 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May  3 16:11:40 2019 +
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-999.ebuild | 70 +
 1 file changed, 70 insertions(+)

diff --git a/net-analyzer/httping/httping-999.ebuild 
b/net-analyzer/httping/httping-999.ebuild
new file mode 100644
index 000..32a92c0aead
--- /dev/null
+++ b/net-analyzer/httping/httping-999.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
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2019-03-12 Thread Rick Farina
commit: 02f735332ac8ffa0b5a86319e44b270b38717a4e
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Mar 12 16:14:03 2019 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Mar 12 16:14:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f73533

net-analyzer/httping: enable tfo by default

free, no reason not to

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Rick Farina  gentoo.org>

 net-analyzer/httping/httping-2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index 646d60b8445..27dc3f021f5 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 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"
+IUSE="debug fftw libressl l10n_nl ncurses ssl +tfo"
 
 RDEPEND="
fftw? ( sci-libs/fftw:3.0 )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2017-01-14 Thread Jeroen Roovers
commit: 7fd6142cc4514575075cf83d305801a8a7ab8334
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 14 14:10:13 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 14 14:10:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd6142c

net-analyzer/httping: Stable for HPPA (bug #602888).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 net-analyzer/httping/httping-2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index a3b5b97..ec801ca 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~mips ~ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 hppa ~mips ~ppc ppc64 ~sparc x86"
 IUSE="debug fftw libressl l10n_nl ncurses ssl tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2017-01-14 Thread Jeroen Roovers
commit: c38fddd0f72ebd8d6b9a6d14e2b51e311d6c4ac8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 14 14:11:18 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 14 14:11:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38fddd0

net-analyzer/httping: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/httping/Manifest  |  1 -
 net-analyzer/httping/httping-2.4-r1.ebuild | 67 --
 net-analyzer/httping/httping-2.4.ebuild| 64 
 3 files changed, 132 deletions(-)

diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest
index 9086dd3..4c0d650 100644
--- a/net-analyzer/httping/Manifest
+++ b/net-analyzer/httping/Manifest
@@ -1,2 +1 @@
-DIST httping-2.4.tgz 54170 SHA256 
dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084 SHA512 
11d9e9e3b222548c9754cc0e7bf947f1a55ccc9f1a2401681f95d21b7b7a56c07665955b558a56d07a5c98497ea3644758e4f85006c42fda2134556be8d9e804
 WHIRLPOOL 
eb1318094eb22aa2186421f04c26c4e980a41ba901a3bf80ab50e036417d3cf241bdef26a397b6e6f337cf48fdf3e19627cde82ef6b0ed4c6e3525d1c13a0cf6
 DIST httping-2.5.tgz 71400 SHA256 
3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8 SHA512 
397ce2eac91c9aede0eb19823bfca4e7f98c263937f5954c8a48d5248a251d2030e31f18decb7f7f8b0118ec0e16ec0a84ea4c943ccde7056b80de162954c355
 WHIRLPOOL 
e392fbbedd7a55ebc76aca562471e3a8b1cbbcacaf5773558ef12767425e9ed95b59835539cf1142b675a683ff11646526a90556e737cf410ab0c750f5d3a841

diff --git a/net-analyzer/httping/httping-2.4-r1.ebuild 
b/net-analyzer/httping/httping-2.4-r1.ebuild
deleted file mode 100644
index e787b8d..
--- a/net-analyzer/httping/httping-2.4-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# 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
-}

diff --git a/net-analyzer/httping/httping-2.4.ebuild 
b/net-analyzer/httping/httping-2.4.ebuild
deleted file mode 100644
index 2c8f996..
--- a/net-analyzer/httping/httping-2.4.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2015 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 linguas_nl ncurses ssl tfo"
-
-RDEPEND="
-   fftw? ( sci-libs/fftw:3.0 )
-   ncurses? ( >=sys-libs/ncurses-5 )
-   ssl? ( dev-libs/openssl )
-"
-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 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2016-12-17 Thread Aaron Bauman
commit: ba3180a2d7e3c2fbe94a81c1376ce7b502ab6093
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Dec 17 10:32:49 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Dec 17 10:32:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3180a2

net-analyzer/httping: amd64 stable wrt bug #602888

 net-analyzer/httping/httping-2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
index 25937a3..dd97b91 100644
--- a/net-analyzer/httping/httping-2.5.ebuild
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug fftw libressl l10n_nl ncurses ssl tfo"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2016-09-14 Thread Jeroen Roovers
commit: 008b9d6bae34bcd311ba4cce6ef50a1e2526e9d4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Sep 14 13:23:33 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Sep 14 13:27:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008b9d6b

net-analyzer/httping: Version bump.

Package-Manager: portage-2.3.0

 net-analyzer/httping/Manifest   |  1 +
 net-analyzer/httping/httping-2.5.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/net-analyzer/httping/Manifest b/net-analyzer/httping/Manifest
index 2c43a9f..9086dd3 100644
--- a/net-analyzer/httping/Manifest
+++ b/net-analyzer/httping/Manifest
@@ -1 +1,2 @@
 DIST httping-2.4.tgz 54170 SHA256 
dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084 SHA512 
11d9e9e3b222548c9754cc0e7bf947f1a55ccc9f1a2401681f95d21b7b7a56c07665955b558a56d07a5c98497ea3644758e4f85006c42fda2134556be8d9e804
 WHIRLPOOL 
eb1318094eb22aa2186421f04c26c4e980a41ba901a3bf80ab50e036417d3cf241bdef26a397b6e6f337cf48fdf3e19627cde82ef6b0ed4c6e3525d1c13a0cf6
+DIST httping-2.5.tgz 71400 SHA256 
3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8 SHA512 
397ce2eac91c9aede0eb19823bfca4e7f98c263937f5954c8a48d5248a251d2030e31f18decb7f7f8b0118ec0e16ec0a84ea4c943ccde7056b80de162954c355
 WHIRLPOOL 
e392fbbedd7a55ebc76aca562471e3a8b1cbbcacaf5773558ef12767425e9ed95b59835539cf1142b675a683ff11646526a90556e737cf410ab0c750f5d3a841

diff --git a/net-analyzer/httping/httping-2.5.ebuild 
b/net-analyzer/httping/httping-2.5.ebuild
new file mode 100644
index ..25937a3
--- /dev/null
+++ b/net-analyzer/httping/httping-2.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/httping/

2016-07-13 Thread Anthony G. Basile
commit: 3d5bad07e9483bdceda834e3e10088d49a6a553c
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jul 13 17:28:59 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jul 13 17:29:17 2016 +
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 000..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
+}