summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--net/Makefile1
-rw-r--r--net/echoping/Makefile54
-rw-r--r--net/echoping/distinfo3
-rw-r--r--net/echoping/files/patch-echoping.c25
-rw-r--r--net/echoping/files/patch-echoping.h53
-rw-r--r--net/echoping/files/patch-http.c20
-rw-r--r--net/echoping/files/patch-smtp.c11
-rw-r--r--net/echoping/pkg-descr9
-rw-r--r--net/echoping/pkg-plist29
10 files changed, 1 insertions, 205 deletions
diff --git a/MOVED b/MOVED
index 304d84bcf3de..5f1367432419 100644
--- a/MOVED
+++ b/MOVED
@@ -4383,3 +4383,4 @@ net-p2p/p5-Net-BitTorrent-File||2025-05-04|Has expired: Deprecated, no active de
net-p2p/libswift||2025-05-04|Has expired: Upstream archived repo on Feb 19, 2024 and no active development in several years
net-p2p/phex|net-p2p/gtk-gnutella|2025-05-04|Has expired: Abandonware, last update upstream in 2009. Consider using net-p2p/gtk-gnutella
net-p2p/shx||2025-05-04|Has expired: Obsolete protocol that has been superseded by many others
+net/echoping||2025-05-04|Has expired: Unmaintained upstream as of 2015 and depends on deprecated libidn
diff --git a/net/Makefile b/net/Makefile
index 999d6f218069..190dcedc96cb 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -140,7 +140,6 @@
SUBDIR += dual-dhclient-daemon
SUBDIR += dumbpipe
SUBDIR += ecal
- SUBDIR += echoping
SUBDIR += empty
SUBDIR += endlessh
SUBDIR += enet
diff --git a/net/echoping/Makefile b/net/echoping/Makefile
deleted file mode 100644
index 865bfbd5fda5..000000000000
--- a/net/echoping/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-PORTNAME= echoping
-PORTVERSION= 6.0.2
-PORTREVISION= 12
-CATEGORIES= net
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Ping-like program that uses TCP and/or HTTP
-WWW= https://framagit.org/bortzmeyer/echoping
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-DEPRECATED= Unmaintained upstream as of 2015 and depends on deprecated libidn
-EXPIRATION_DATE=2025-04-30
-
-LIB_DEPENDS= libpopt.so:devel/popt \
- libidn.so:dns/libidn
-
-USES= autoreconf cpe libtool pkgconfig ssl
-
-CPE_VENDOR= echoping_project
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
- --enable-ttcp --enable-tos --with-libidn=${LOCALBASE} \
- --enable-plugin="${PING_PLUGINS}"
-INSTALL_TARGET= install-strip
-
-PING_PLUGINS= dns random whois
-
-USE_GITLAB= yes
-GL_SITE= https://framagit.org
-GL_ACCOUNT= bortzmeyer
-GL_TAGNAME= ccf3c95d9249d3065db3853486f41c852d20101e
-WRKSRC_SUBDIR= SRC
-
-OPTIONS_DEFINE= LDAP PGSQL
-OPTIONS_DEFAULT=LDAP
-OPTIONS_SUB= yes
-
-LDAP_USES= ldap
-LDAP_VARS= PING_PLUGINS+=ldap
-
-PGSQL_USES= pgsql
-PGSQL_VARS= PING_PLUGINS+=postgresql
-
-pre-configure:
- ${FIND} ${WRKSRC} -name configure.ac -execdir ${SH} -c '\
- ${CAT} ${WRKSRC}/configure-common.ac > configure.ac.tmp && \
- ${SED} '/configure-common\.ac/d' configure.ac >> configure.ac.tmp && \
- ${MV} configure.ac.tmp configure.ac' \;
- ${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.am
-
-.include <bsd.port.mk>
diff --git a/net/echoping/distinfo b/net/echoping/distinfo
deleted file mode 100644
index a7ec8338ca70..000000000000
--- a/net/echoping/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1617891826
-SHA256 (bortzmeyer-echoping-ccf3c95d9249d3065db3853486f41c852d20101e_GL0.tar.gz) = 8cd106ff7ec16f9786fa53668c998e8ebd2d684a38a2a834b803634030715aa3
-SIZE (bortzmeyer-echoping-ccf3c95d9249d3065db3853486f41c852d20101e_GL0.tar.gz) = 130732
diff --git a/net/echoping/files/patch-echoping.c b/net/echoping/files/patch-echoping.c
deleted file mode 100644
index d2b246599a41..000000000000
--- a/net/echoping/files/patch-echoping.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- echoping.c.orig 2020-08-20 15:47:00 UTC
-+++ echoping.c
-@@ -38,6 +38,22 @@ struct result results[MAX_ITERATIONS];
- struct timeval good_results[MAX_ITERATIONS];
- extern int tvcmp();
-
-+boolean timeout_flag;
-+static char *server;
-+#ifdef LIBIDN
-+static char *locale_server, *ace_server, *utf8_server;
-+#endif
-+
-+static init_f plugin_init;
-+static start_f plugin_start;
-+static start_raw_f plugin_raw_start;
-+static execute_f plugin_execute;
-+static execute_f plugin_execute;
-+static terminate_f plugin_terminate;
-+
-+struct timeval null_timeval;
-+static struct timeval max_timeval;
-+
- int
- main(argc, argv)
- int argc;
diff --git a/net/echoping/files/patch-echoping.h b/net/echoping/files/patch-echoping.h
deleted file mode 100644
index f411f7383f8e..000000000000
--- a/net/echoping/files/patch-echoping.h
+++ /dev/null
@@ -1,53 +0,0 @@
---- echoping.h.orig 2020-08-20 15:39:43 UTC
-+++ echoping.h
-@@ -121,7 +121,6 @@ struct result
- struct timeval timevalue;
- };
-
--boolean timeout_flag;
- struct echoping_struct
- {
- boolean udp; /* Use the UDP protocol (TCP is the default) */
-@@ -136,21 +135,15 @@ typedef struct echoping_struct echoping_options;
- /* 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;
- typedef void (*start_f) (struct addrinfo *);
--start_f plugin_start;
- typedef void (*start_raw_f) ();
--start_raw_f plugin_raw_start;
- typedef int (*execute_f) ();
--execute_f plugin_execute;
- typedef void (*terminate_f) ();
--terminate_f plugin_terminate;
- #endif
-
- #endif
-
--struct timeval null_timeval;
--struct timeval max_timeval;
-+extern struct timeval null_timeval;
-
- #define ECHO_TCP_PORT "echo"
- #define DISCARD_TCP_PORT "discard"
-@@ -172,11 +165,6 @@ struct timeval max_timeval;
- #define USE_SMTP 6
-
- #define CHARGENERATED " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefg";
--
--char *server;
--#ifdef LIBIDN
--char *locale_server, *ace_server, *utf8_server;
--#endif
-
- /* My functions */
-
-@@ -198,6 +186,7 @@ int TLS_readline ();
- #endif
- /* util.c */
- char *random_string ();
-+char *to_upper(char *);
- void tvsub ();
- void tvadd ();
- void tvavg ();
diff --git a/net/echoping/files/patch-http.c b/net/echoping/files/patch-http.c
deleted file mode 100644
index d3cb1d14c52f..000000000000
--- a/net/echoping/files/patch-http.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- http.c.orig 2019-12-29 10:14:41 UTC
-+++ http.c
-@@ -6,7 +6,7 @@
- #include "HTParse.h"
-
-
--char big_recvline[MAXTOREAD];
-+static char big_recvline[MAXTOREAD];
-
- char *
- make_http_sendline(char *url, char *host, int port, int nocache)
-@@ -113,6 +113,8 @@ read_from_server(CHANNEL fs, short ssl, boolean accept
- /* 204 No Content is not an error, message body is empty by definition, see RFC 2616 */
- if (reply_code == 204)
- return 0; /* zero bytes is correct */
-+ if (accept_redirects && reply_code >= 300 && reply_code < 400)
-+ return 0;
-
- if (! (reply_code >= 200 && reply_code < 300) &&
- ! ((reply_code >= 300 && reply_code < 400) && accept_redirects))
diff --git a/net/echoping/files/patch-smtp.c b/net/echoping/files/patch-smtp.c
deleted file mode 100644
index 2f9a17051041..000000000000
--- a/net/echoping/files/patch-smtp.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- smtp.c.orig 2019-12-29 10:14:41 UTC
-+++ smtp.c
-@@ -8,7 +8,7 @@
-
- #ifdef SMTP
-
--char big_recvline[MAXTOREAD];
-+static char big_recvline[MAXTOREAD];
-
- int
- smtp_read_response_from_server(FILE * fs)
diff --git a/net/echoping/pkg-descr b/net/echoping/pkg-descr
deleted file mode 100644
index 3489af78099f..000000000000
--- a/net/echoping/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-"echoping" is a small program to test (approximatively) performances of a
-remote host by sending it TCP "echo" (or other protocol) packets.
-
-- uses the protocols echo, discard, chargen or HTTP,
-- uses UDP instead of TCP for the protocols which accept it (like echo),
-- can repeat the test and display various measures about it,
-- can use T/TCP on systems which support it.
-
-It's useful for checking that http servers are running and not wedged.
diff --git a/net/echoping/pkg-plist b/net/echoping/pkg-plist
deleted file mode 100644
index c913e6f233b6..000000000000
--- a/net/echoping/pkg-plist
+++ /dev/null
@@ -1,29 +0,0 @@
-bin/echoping
-include/echoping/compilation.h
-include/echoping/echoping.h
-lib/echoping/dns.a
-lib/echoping/dns.so
-lib/echoping/dns.so.0
-lib/echoping/dns.so.0.0.0
-%%LDAP%%lib/echoping/ldap.a
-%%LDAP%%lib/echoping/ldap.so
-%%LDAP%%lib/echoping/ldap.so.0
-%%LDAP%%lib/echoping/ldap.so.0.0.0
-%%PGSQL%%lib/echoping/postgresql.a
-%%PGSQL%%lib/echoping/postgresql.so
-%%PGSQL%%lib/echoping/postgresql.so.0
-%%PGSQL%%lib/echoping/postgresql.so.0.0.0
-lib/echoping/random.a
-lib/echoping/random.so
-lib/echoping/random.so.0
-lib/echoping/random.so.0.0.0
-lib/echoping/whois.a
-lib/echoping/whois.so
-lib/echoping/whois.so.0
-lib/echoping/whois.so.0.0.0
-share/man/man1/echoping.1.gz
-share/man/man1/echoping_dns.1.gz
-%%LDAP%%share/man/man1/echoping_ldap.1.gz
-%%PGSQL%%share/man/man1/echoping_postgresql.1.gz
-share/man/man1/echoping_random.1.gz
-share/man/man1/echoping_whois.1.gz