update to echoping-6.0.2, started by kn@, finished by me

This commit is contained in:
sthen 2021-02-01 18:10:44 +00:00
parent 35c3ef834d
commit dba403dc2a
7 changed files with 59 additions and 47 deletions

View File

@ -1,29 +1,43 @@
# $OpenBSD: Makefile,v 1.13 2019/07/17 14:46:33 danj Exp $
# $OpenBSD: Makefile,v 1.14 2021/02/01 18:10:44 sthen Exp $
COMMENT= test performance of a remote TCP service
VERSION= 5.2.0
REVISION= 3
DISTNAME= echoping-${VERSION}
VER= 6_0_2
DISTNAME= echoping-RELEASE_${VER}
PKGNAME= echoping-${VER:S/_/./g}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=echoping/}
MASTER_SITES= https://framagit.org/bortzmeyer/echoping/-/archive/RELEASE_${VER}/
HOMEPAGE= https://github.com/bortzmeyer/echoping
# GPL
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB= c crypto m ssl
WANTLIB += c crypto iconv intl popt ssl
NO_TEST= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-http \
CONFIGURE_STYLE= autoreconf
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.15
AUTORECONF= ${WRKSRC}/recreate-autofiles
BUILD_DEPENDS= devel/libtool
LIB_DEPENDS= devel/popt
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS+= --enable-plugin="dns random whois" \
--with-popt=${LOCALBASE} \
--with-ssl=/usr \
--enable-http \
--enable-icp \
--enable-smtp \
--enable-tos \
--without-libidn \
--with-ssl=/usr
--without-libidn
WRKDIST= ${WRKDIR}/${DISTNAME}/SRC
post-extract:
ln -s ${LOCALBASE}/share/libtool/config/ltmain.sh ${WRKSRC}/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (echoping-5.2.0.tar.gz) = t8lCifhgcW6P64pTRI1NOnwZcoQAdV28WE5zGQSsa78=
SIZE (echoping-5.2.0.tar.gz) = 120911
SHA256 (echoping-RELEASE_6_0_2.tar.gz) = LwOSnCcB01ywR4AMIm+aToN7EZT/ixLDCeJ/KZ9v7cA=
SIZE (echoping-RELEASE_6_0_2.tar.gz) = 77792

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-configure,v 1.1 2018/04/28 20:50:52 jca Exp $
Index: configure
--- configure.orig
+++ configure
@@ -4432,9 +4432,8 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-pow(a,b)
+return pow(a,b)
;
- return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-recreate-autofiles,v 1.1 2021/02/01 18:10:44 sthen Exp $
Index: recreate-autofiles
--- recreate-autofiles.orig
+++ recreate-autofiles
@@ -10,7 +10,7 @@ autoheader
libtoolize --force
automake --add-missing
autoconf
-pushd plugins
+cd plugins
aclocal
automake --foreign --add-missing
autoconf

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-util_c,v 1.1 2018/04/28 20:33:55 tb Exp $
Index: util.c
--- util.c.orig
+++ util.c
@@ -13,7 +13,7 @@ random_string (unsigned length)
{
char *state = (char *) malloc (sizeof (char) * STATES);
- char *result = (char *) malloc (length);
+ char *result = (char *) malloc (length + 1);
int i, number;
unsigned seed = (unsigned) time ((time_t *) NULL);

View File

@ -1,2 +1,3 @@
"echoping" is a small program to test (approximatively) performances of a
remote host by sending it TCP "echo" (or other protocol) packets.
"echoping" is a small program to test (approximately) performance of a
remote host by sending it packets using various protocols (TCP/UDP echo,
HTTP/HTTPS and some others).

View File

@ -1,3 +1,16 @@
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:17:39 espie Exp $
bin/echoping
@comment $OpenBSD: PLIST,v 1.3 2021/02/01 18:10:44 sthen Exp $
@bin bin/echoping
include/echoping/
include/echoping/compilation.h
include/echoping/echoping.h
lib/echoping/
lib/echoping/dns.la
lib/echoping/dns.so.0.0
lib/echoping/random.la
lib/echoping/random.so.0.0
lib/echoping/whois.la
lib/echoping/whois.so.0.0
@man man/man1/echoping.1
@man man/man1/echoping_dns.1
@man man/man1/echoping_random.1
@man man/man1/echoping_whois.1