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

2024-03-04 Thread Sam James
commit: fc6853db1f910a17d2293e6b9d23987bbc45d66e
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Mar  5 03:54:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 04:47:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6853db

net-analyzer/echoping: fix underlinking to libm

Caused compilation failures if LTO was used.

Closes: https://bugs.gentoo.org/861152
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../echoping/echoping-6.0.2_p434-r5.ebuild |  1 +
 .../files/0001-correctly-link-to-libm.patch| 32 ++
 2 files changed, 33 insertions(+)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
index 69a6db661c00..a1b34e731c1b 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
@@ -37,6 +37,7 @@ PATCHES=(

"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
"${FILESDIR}"/${PN}-6.0.2_p434-fno-common.patch
+   "${FILESDIR}"/0001-correctly-link-to-libm.patch
 )
 
 src_prepare() {

diff --git a/net-analyzer/echoping/files/0001-correctly-link-to-libm.patch 
b/net-analyzer/echoping/files/0001-correctly-link-to-libm.patch
new file mode 100644
index ..2bd38fea6c6e
--- /dev/null
+++ b/net-analyzer/echoping/files/0001-correctly-link-to-libm.patch
@@ -0,0 +1,32 @@
+From a951dcd0ea6cc64afbba2a438aead17706562486 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Mon, 4 Mar 2024 22:43:43 -0500
+Subject: [PATCH] correctly link to libm
+
+The program depends on math.h symbols via util.c, but blindly assumes
+that it will be available without explicitly linking to it -- a POSIX
+violation.
+
+Also an LTO violation.
+
+Signed-off-by: Eli Schwartz 
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index a586281..3f96637 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -6,7 +6,7 @@ bin_PROGRAMS = echoping
+ man_MANS = echoping.1
+ echoping_SOURCES = echoping.c error.c readline.c writen.c util.c http.c icp.c 
HTParse.c echoping.h icp.h HTParse.h smtp.c
+ pkginclude_HEADERS = echoping.h compilation.h
+-echoping_LDADD = 
++echoping_LDADD = -lm
+ echoping_LDFLAGS = -export-dynamic
+ DOCS=DETAILS PLUGINS
+ SUBDIRS=plugins
+-- 
+2.43.0
+



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

2024-03-04 Thread Sam James
commit: 6cd9b86b85a2b7130e0984fe8934499dc2833835
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Mar  5 03:34:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 04:47:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd9b86b

net-analyzer/echoping: update HOMEPAGE

The sourceforge site no longer exists at all.

For a while it was moved to https://github.com/bortzmeyer/echoping (and
this is for example the homepage recorded by Debian) but that has been
decommissioned as well, this time with a message directing you where to
go now.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild | 2 +-
 net-analyzer/echoping/metadata.xml  | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
index de26fde05061..69a6db661c00 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 inherit autotools
 
 DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
+HOMEPAGE="https://framagit.org/bortzmeyer/echoping;
 SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tar.gz;
 LICENSE="GPL-2"
 

diff --git a/net-analyzer/echoping/metadata.xml 
b/net-analyzer/echoping/metadata.xml
index 082e1799e9a2..78a65a684593 100644
--- a/net-analyzer/echoping/metadata.xml
+++ b/net-analyzer/echoping/metadata.xml
@@ -12,7 +12,4 @@
enable support for SMTP protocol.
enable support for TOS (TYpe Of 
Service).

-   
-   echoping
-   
 



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

2022-03-22 Thread Sam James
commit: d857bd6e881073e44ab59414aeff763a82ff6373
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 23 00:33:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 23 00:44:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d857bd6e

net-analyzer/echoping: add subslot dep on OpenLDAP

New OpenLDAP breaks ABI (changes SONAME)

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

 ...{echoping-6.0.2_p434-r4.ebuild => echoping-6.0.2_p434-r5.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
similarity index 93%
rename from net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
rename to net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
index c623eb8d0390..d5d48472542e 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,8 +15,8 @@ IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
 RESTRICT="test"
 
 RDEPEND="
-   idn? ( net-dns/libidn )
-   ldap? ( net-nds/openldap )
+   idn? ( net-dns/libidn:= )
+   ldap? ( net-nds/openldap:= )
postgres? ( dev-db/postgresql:* )
ssl? (
gnutls? ( >=net-libs/gnutls-3.3:= )



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

2021-10-19 Thread Jakov Smolić
commit: a8e683d8509f43d3d54056fb07614295dcf67c67
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Oct 19 19:01:34 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Oct 19 19:08:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e683d8

net-analyzer/echoping: Update SRC_URI

jer@ is retired and I've archived the distfiles in my devspace

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
index d71c50abb9f..c623eb8d039 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
@@ -6,7 +6,7 @@ inherit autotools
 
 DESCRIPTION="Small program to test performances of remote servers"
 HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
+SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"



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

2021-04-30 Thread Mikle Kolyada
commit: c08cedb936e88fc90b3a353705000d3c6b6ecf1f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 18:37:35 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 18:37:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08cedb9

net-analyzer/echoping: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
index 3557e9a751a..d71c50abb9f 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ LICENSE="GPL-2"
 
 SLOT="0"
 KEYWORDS="amd64 ~hppa x86"
-IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
+IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
 RESTRICT="test"
 
 RDEPEND="
@@ -21,8 +21,7 @@ RDEPEND="
ssl? (
gnutls? ( >=net-libs/gnutls-3.3:= )
!gnutls? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)
)
 "



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

2020-11-27 Thread Aaron Bauman
commit: 908a357e5abdf47ccdae80cda830235d636b4407
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 27 14:36:01 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 27 14:36:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908a357e

net-analyzer/echoping: drop old

Signed-off-by: Aaron Bauman  gentoo.org>

 .../echoping/echoping-6.0.2_p434-r2.ebuild | 56 
 .../echoping/echoping-6.0.2_p434-r3.ebuild | 59 --
 2 files changed, 115 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild
deleted file mode 100644
index 3ef54165ba6..000
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils ltprune
-
-DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
-IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
-RESTRICT="test"
-
-RDEPEND="idn? ( net-dns/libidn )
-   postgres? ( dev-db/postgresql:* )
-   ldap? ( net-nds/openldap )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-3.3:= )
-   !gnutls? ( >=dev-libs/openssl-0.9.7d:= )
-   )"
-DEPEND="${RDEPEND}
-   >=sys-devel/libtool-2"
-
-REQUIRED_USE="gnutls? ( ssl )"
-
-DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
-   epatch 
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable http)  \
-   $(use_enable icp) \
-   $(use_enable priority) \
-   $(use_enable smtp) \
-   $(use_enable tos) \
-   $(use_with idn libidn) \
-   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
-   --config-cache \
-   --disable-static \
-   --disable-ttcp
-}
-
-src_install() {
-   default
-   prune_libtool_files
-}

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild
deleted file mode 100644
index ea9b234861e..000
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils ltprune
-
-DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
-RESTRICT="test"
-
-RDEPEND="idn? ( net-dns/libidn )
-   postgres? ( dev-db/postgresql:* )
-   ldap? ( net-nds/openldap )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-3.3:= )
-   !gnutls? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   )"
-DEPEND="${RDEPEND}
-   >=sys-devel/libtool-2"
-
-REQUIRED_USE="gnutls? ( ssl )"
-
-DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
-   epatch 
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable http)  \
-   $(use_enable icp) \
-   $(use_enable priority) \
-   $(use_enable smtp) \
-   $(use_enable tos) \
-   $(use_with idn libidn) \
-   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
-   --config-cache \
-   --disable-static \
-   --disable-ttcp
-}
-
-src_install() {
-   default
-   prune_libtool_files
-}



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

2020-11-27 Thread Agostino Sarubbo
commit: 326e0214b4118a95b0b9fee16c5b13260cc01142
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Nov 27 08:38:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Nov 27 08:38:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326e0214

net-analyzer/echoping: amd64 stable wrt bug #756973

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
index fc63929f5c4..3557e9a751a 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~hppa x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
 RESTRICT="test"
 



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

2020-11-26 Thread Thomas Deutschmann
commit: a51bf2c701ad1072d5191edc32a65c7f1ff4c68b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 27 00:04:40 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 27 00:04:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51bf2c7

net-analyzer/echoping: x86 stable (bug #756973)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
index 17e0727353a..fc63929f5c4 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
 LICENSE="GPL-2"
 
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa x86"
 IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
 RESTRICT="test"
 



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

2020-01-31 Thread Jeroen Roovers
commit: 998f0b24fde487bbc25b69222dc9b3d65cc9fdca
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan 31 16:56:51 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan 31 16:57:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998f0b24

net-analyzer/echoping: Fix CFLAGS=-fno-common

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=707400
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../echoping/echoping-6.0.2_p434-r4.ebuild |  65 
 .../files/echoping-6.0.2_p434-fno-common.patch | 111 +
 2 files changed, 176 insertions(+)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
new file mode 100644
index 000..17e0727353a
--- /dev/null
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Small program to test performances of remote servers"
+HOMEPAGE="http://echoping.sourceforge.net/;
+SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
+RESTRICT="test"
+
+RDEPEND="
+   idn? ( net-dns/libidn )
+   ldap? ( net-nds/openldap )
+   postgres? ( dev-db/postgresql:* )
+   ssl? (
+   gnutls? ( >=net-libs/gnutls-3.3:= )
+   !gnutls? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   >=sys-devel/libtool-2
+"
+
+REQUIRED_USE="gnutls? ( ssl )"
+DOCS=( AUTHORS ChangeLog DETAILS NEWS README TODO )
+PATCHES=(
+   "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
+   
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
+   "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
+   "${FILESDIR}"/${PN}-6.0.2_p434-fno-common.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable http)  \
+   $(use_enable icp) \
+   $(use_enable priority) \
+   $(use_enable smtp) \
+   $(use_enable tos) \
+   $(use_with idn libidn) \
+   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
+   --config-cache \
+   --disable-static \
+   --disable-ttcp
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-fno-common.patch 
b/net-analyzer/echoping/files/echoping-6.0.2_p434-fno-common.patch
new file mode 100644
index 000..5eafb8a401d
--- /dev/null
+++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-fno-common.patch
@@ -0,0 +1,111 @@
+--- a/echoping.c
 b/echoping.c
+@@ -38,6 +38,25 @@
+ struct timeval  good_results[MAX_ITERATIONS];
+ extern int  tvcmp();
+ 
++char   *server;
++#ifdef LIBIDN
++char   *locale_server, *ace_server, *utf8_server;
++#endif
++
++#ifndef IN_PLUGIN
++init_f  plugin_init;
++start_f plugin_start;
++start_raw_f plugin_raw_start;
++execute_f   plugin_execute;
++terminate_f plugin_terminate;
++#endif
++
++struct timeval  null_timeval;
++struct timeval  max_timeval;
++
++boolean  timeout_flag;
++char big_recvline[MAXTOREAD];
++
+ int
+ main(argc, argv)
+ int argc;
+--- a/echoping.h
 b/echoping.h
+@@ -118,7 +118,6 @@
+ struct timeval  timevalue;
+ };
+ 
+-boolean timeout_flag;
+ struct echoping_struct {
+ boolean udp;/* Use the UDP protocol (TCP is the default) 
*/
+ boolean ttcp;
+@@ -132,21 +131,21 @@
+ /* Initializes the plugin with its arguments. Returns the port name or number 
or NULL if the plugin wants to use the raw interface. */
+ typedef char   *(*init_f) (const int argc, const char **argv,
+const echoping_options global_options);
+-init_f  plugin_init;
++extern init_f  plugin_init;
+ typedef void(*start_f) (struct addrinfo *);
+-start_f plugin_start;
++extern start_f plugin_start;
+ typedef void(*start_raw_f) ();
+-start_raw_f plugin_raw_start;
++extern start_raw_f plugin_raw_start;
+ typedef int (*execute_f) ();
+-execute_f   plugin_execute;
++extern execute_f   plugin_execute;
+ typedef void(*terminate_f) ();
+-terminate_f plugin_terminate;
++extern terminate_f plugin_terminate;
+ #endif
+ 
+ #endif
+ 
+-struct timeval  null_timeval;
+-struct timeval  max_timeval;
++extern struct timeval  null_timeval;
++extern struct timeval  max_timeval;
+ 
+ #define   ECHO_TCP_PORT   

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

2016-07-13 Thread Anthony G. Basile
commit: 24fd1deb6d47c3230b6ce1aa748c2ddd59d972c5
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jul 13 15:49:54 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jul 13 15:50:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24fd1deb

net-analyzer/echoping: add libressl support

Package-Manager: portage-2.2.28

 .../echoping/echoping-6.0.2_p434-r3.ebuild | 60 ++
 1 file changed, 60 insertions(+)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild
new file mode 100644
index 000..cfb0b92
--- /dev/null
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Small program to test performances of remote servers"
+HOMEPAGE="http://echoping.sourceforge.net/;
+SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="libressl gnutls http icp idn priority smtp ssl tos postgres ldap"
+RESTRICT="test"
+
+RDEPEND="idn? ( net-dns/libidn )
+   postgres? ( dev-db/postgresql:* )
+   ldap? ( net-nds/openldap )
+   ssl? (
+   gnutls? ( >=net-libs/gnutls-3.3:= )
+   !gnutls? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   )"
+DEPEND="${RDEPEND}
+   >=sys-devel/libtool-2"
+
+REQUIRED_USE="gnutls? ( ssl )"
+
+DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
+   epatch 
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
+   epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable http)  \
+   $(use_enable icp) \
+   $(use_enable priority) \
+   $(use_enable smtp) \
+   $(use_enable tos) \
+   $(use_with idn libidn) \
+   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
+   --config-cache \
+   --disable-static \
+   --disable-ttcp
+}
+
+src_install() {
+   default
+   prune_libtool_files
+}



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

2016-06-25 Thread Jeroen Roovers
commit: b33478dcca59b26bbfb07a08fe97c9a6e5118f89
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jun 25 21:02:41 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jun 25 21:02:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33478dc

net-analyzer/echoping: Old.

Package-Manager: portage-2.3.0

 net-analyzer/echoping/echoping-6.0.2_p434.ebuild | 49 
 1 file changed, 49 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434.ebuild
deleted file mode 100644
index 4245e74..000
--- a/net-analyzer/echoping/echoping-6.0.2_p434.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils
-
-DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
-IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
-RESTRICT="test"
-
-RDEPEND="idn? ( net-dns/libidn )
-   postgres? ( dev-db/postgresql )
-   ldap? ( net-nds/openldap )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-1.0.17 )
-   !gnutls? ( >=dev-libs/openssl-0.9.7d )
-   )"
-DEPEND="${RDEPEND}
-   >=sys-devel/libtool-2"
-
-REQUIRED_USE="gnutls? ( ssl )"
-
-DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --config-cache \
-   --disable-ttcp \
-   $(use_enable http)  \
-   $(use_enable icp) \
-   $(use_with idn libidn) \
-   $(use_enable smtp) \
-   $(use_enable tos) \
-   $(use_enable priority) \
-   $(usex gnutls $(use_with gnutls) $(use_with ssl))
-}



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

2016-05-20 Thread Jeroen Roovers
commit: 75a0920dc0e864349a46cdbe470d2dd4d3b8ec0c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May 20 08:00:03 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May 20 08:00:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a0920d

net-analyzer/echoping: Old.

Package-Manager: portage-2.3.0_rc1

 .../echoping/echoping-6.0.2_p434-r1.ebuild | 55 --
 1 file changed, 55 deletions(-)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild
deleted file mode 100644
index f0c6bf4..000
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils
-
-DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
-RESTRICT="test"
-
-RDEPEND="idn? ( net-dns/libidn )
-   postgres? ( dev-db/postgresql )
-   ldap? ( net-nds/openldap )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-1.0.17 )
-   !gnutls? ( >=dev-libs/openssl-0.9.7d )
-   )"
-DEPEND="${RDEPEND}
-   >=sys-devel/libtool-2"
-
-REQUIRED_USE="gnutls? ( ssl )"
-
-DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable http)  \
-   $(use_enable icp) \
-   $(use_enable priority) \
-   $(use_enable smtp) \
-   $(use_enable tos) \
-   $(use_with idn libidn) \
-   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
-   --config-cache \
-   --disable-static \
-   --disable-ttcp
-}
-
-src_install() {
-   default
-   prune_libtool_files
-}



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

2016-05-20 Thread Jeroen Roovers
commit: 7e8dabe4cb93aacab8f043d01a289f7476a89fd5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May 20 07:58:58 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May 20 08:00:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8dabe4

net-analyzer/echoping: Fix building with >net-libs/gnutls-3.3 (bug #546864).

Package-Manager: portage-2.3.0_rc1

 .../echoping/echoping-6.0.2_p434-r2.ebuild | 57 ++
 ...p434-gnutls_certificate_type_set_priority.patch | 11 +
 .../files/echoping-6.0.2_p434-gnutls_session.patch | 22 +
 3 files changed, 90 insertions(+)

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild
new file mode 100644
index 000..dc4f5d5
--- /dev/null
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Small program to test performances of remote servers"
+HOMEPAGE="http://echoping.sourceforge.net/;
+SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz;
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
+RESTRICT="test"
+
+RDEPEND="idn? ( net-dns/libidn )
+   postgres? ( dev-db/postgresql:* )
+   ldap? ( net-nds/openldap )
+   ssl? (
+   gnutls? ( >=net-libs/gnutls-3.3:= )
+   !gnutls? ( >=dev-libs/openssl-0.9.7d:= )
+   )"
+DEPEND="${RDEPEND}
+   >=sys-devel/libtool-2"
+
+REQUIRED_USE="gnutls? ( ssl )"
+
+DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
+   epatch 
"${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch
+   epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable http)  \
+   $(use_enable icp) \
+   $(use_enable priority) \
+   $(use_enable smtp) \
+   $(use_enable tos) \
+   $(use_with idn libidn) \
+   $(usex gnutls $(use_with gnutls) $(use_with ssl)) \
+   --config-cache \
+   --disable-static \
+   --disable-ttcp
+}
+
+src_install() {
+   default
+   prune_libtool_files
+}

diff --git 
a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
 
b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
new file mode 100644
index 000..0cb219f
--- /dev/null
+++ 
b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
@@ -0,0 +1,11 @@
+--- a/echoping.c
 b/echoping.c
+@@ -981,8 +981,6 @@
+ if (tls_result != 0)
+ err_sys("Cannot create a new TLS session");
+ gnutls_set_default_priority(session);
+-gnutls_certificate_type_set_priority(session,
+- cert_type_priority);
+ gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, 
xcred);
+ gnutls_transport_set_ptr(session, (gnutls_transport_ptr)
+  (long) sockfd);

diff --git 
a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch 
b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch
new file mode 100644
index 000..8b87c47
--- /dev/null
+++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch
@@ -0,0 +1,22 @@
+--- a/echoping.c
 b/echoping.c
+@@ -134,7 +134,7 @@
+ SSL*sslh = NULL;
+ #endif
+ #ifdef GNUTLS
+-gnutls_session  session;
++gnutls_session_t  session;
+ gnutls_certificate_credentials xcred;
+ int tls_result;
+ const int   cert_type_priority[3] = { GNUTLS_CRT_X509,
+--- a/echoping.h
 b/echoping.h
+@@ -103,7 +103,7 @@
+ SSL*ssl;
+ #endif
+ #ifdef GNUTLS
+-gnutls_session  tls;
++gnutls_session_t  tls;
+ #endif
+ } CHANNEL;
+ 



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

2015-10-04 Thread Jeroen Roovers
commit: 990ec09784b7ccd0015f66b9e6d9051051f97f7b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Oct  4 18:38:40 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Oct  4 18:38:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990ec097

net-analyzer/echoping: Do not copy ltmain.sh (bug #562230 by Toralf Förster).

Package-Manager: portage-2.2.22

 net-analyzer/echoping/Manifest |  1 -
 net-analyzer/echoping/echoping-6.0.2-r2.ebuild | 60 --
 .../echoping/echoping-6.0.2_p434-r1.ebuild |  1 -
 net-analyzer/echoping/echoping-6.0.2_p434.ebuild   |  1 -
 .../echoping-6.0.2-fix_implicit_declarations.patch | 20 
 .../echoping/files/echoping-6.0.2-gnutls.patch | 41 ---
 6 files changed, 124 deletions(-)

diff --git a/net-analyzer/echoping/Manifest b/net-analyzer/echoping/Manifest
index a5a95da..25fef68 100644
--- a/net-analyzer/echoping/Manifest
+++ b/net-analyzer/echoping/Manifest
@@ -1,2 +1 @@
-DIST echoping-6.0.2.tar.gz 1660983 SHA256 
1dfa4c45bf461b2379ff91773ed7136176e2abac9e85c26bc9654942b5155eac SHA512 
ca9a38c3be9da283e73a7a1b13ab003dca6a2ee317e2961325f3e6803f132ae2f5e4206d946564915c573f21f9c3e9641d61f6b3ae5806bbaa92c2f30f1e5e22
 WHIRLPOOL 
9140d20d82ed1c38df91d8905fb678c1ca717af518b374c3379db285662d55e70c8da5bb227c4f47a4c34f649c686037636c024a38d1109cd939f6974b274e15
 DIST echoping-6.0.2_p434.tar.gz 74568 SHA256 
152a4a9d2a3962fa8cb95eeb29b5d22a7039d4408f5ba22286259856f095baf7 SHA512 
1b4f5f1ea6ba000c558cab3b8e86758d6c539d8cd23762d837b468861a177ac733441c885eb8ec1c35b49baa33a82e34e3f8b14b05429a075b72233d5799
 WHIRLPOOL 
cae10459766311ded4f6459e519461fb91de7dd9429679927c3955a5a9b09b9b9a9706947b3a5c1495805367c91cf2035d3154a3ff180241782deec304eb8aaf

diff --git a/net-analyzer/echoping/echoping-6.0.2-r2.ebuild 
b/net-analyzer/echoping/echoping-6.0.2-r2.ebuild
deleted file mode 100644
index 58c1021..000
--- a/net-analyzer/echoping/echoping-6.0.2-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils autotools
-
-DESCRIPTION="Small program to test performances of remote servers"
-HOMEPAGE="http://echoping.sourceforge.net/;
-SRC_URI="mirror://sourceforge/echoping/${P}.tar.gz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
-IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap"
-RESTRICT="test"
-
-RDEPEND="idn? ( net-dns/libidn )
-   postgres? ( dev-db/postgresql )
-   ldap? ( net-nds/openldap )
-   ssl? (
-   gnutls? ( >=net-libs/gnutls-1.0.17 )
-   !gnutls? ( >=dev-libs/openssl-0.9.7d )
-   )"
-DEPEND="${RDEPEND}
-   >=sys-devel/libtool-2"
-
-REQUIRED_USE="gnutls? ( ssl )"
-
-DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
-
-src_prepare() {
-   # bug 279525:
-   epatch "${FILESDIR}/${P}-gnutls.patch"
-
-   epatch "${FILESDIR}/${P}-fix_implicit_declarations.patch"
-
-   rm -f ltmain.sh
-   cp /usr/share/libtool/config/ltmain.sh .
-   local i
-   for i in . plugins/ plugins/*/; do
-   pushd "${i}" > /dev/null
-   eautoreconf
-   popd > /dev/null
-   done
-}
-
-src_configure() {
-   econf \
-   --config-cache \
-   --disable-ttcp \
-   $(use_enable http)  \
-   $(use_enable icp) \
-   $(use_with idn libidn) \
-   $(use_enable smtp) \
-   $(use_enable tos) \
-   $(use_enable priority) \
-   $(usex gnutls $(use_with gnutls) $(use_with ssl))
-}

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild
index f96eb28..f0c6bf4 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434-r1.ebuild
@@ -32,7 +32,6 @@ DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
 src_prepare() {
epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
 
-   cp /usr/share/libtool/config/ltmain.sh .
eautoreconf
 }
 

diff --git a/net-analyzer/echoping/echoping-6.0.2_p434.ebuild 
b/net-analyzer/echoping/echoping-6.0.2_p434.ebuild
index 5a5cb1b..4245e74 100644
--- a/net-analyzer/echoping/echoping-6.0.2_p434.ebuild
+++ b/net-analyzer/echoping/echoping-6.0.2_p434.ebuild
@@ -32,7 +32,6 @@ DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO )
 src_prepare() {
epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch
 
-   cp /usr/share/libtool/config/ltmain.sh .
eautoreconf
 }
 

diff --git 
a/net-analyzer/echoping/files/echoping-6.0.2-fix_implicit_declarations.patch 
b/net-analyzer/echoping/files/echoping-6.0.2-fix_implicit_declarations.patch
deleted file mode 100644
index 1b0bce8..000
---