git: 8993b920c9dd - main - net/tn5250: Update version 0.17.4=>0.17.6

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 11 Nov 2023 21:35:20 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8993b920c9ddf4babf9d7acc2a8ecb2866859afb

commit 8993b920c9ddf4babf9d7acc2a8ecb2866859afb
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-11-11 21:29:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-11 21:34:54 +0000

    net/tn5250: Update version 0.17.4=>0.17.6
    
    - Update MASTER_SITES
    - Update WWW
    
    PR:             275028
    Reported by:    ceri
---
 net/tn5250/Makefile                        | 15 ++++-----------
 net/tn5250/distinfo                        |  5 +++--
 net/tn5250/files/patch-lib5250_sslstream.c | 24 ------------------------
 3 files changed, 7 insertions(+), 37 deletions(-)

diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index c0b15231b01b..32543af12718 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -1,12 +1,11 @@
 PORTNAME=	tn5250
-PORTVERSION=	0.17.4
-PORTREVISION=	1
+DISTVERSION=	0.17.6
 CATEGORIES=	net
-MASTER_SITES=	SF
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	5250 Telnet protocol and Terminal
-WWW=		https://tn5250.sourceforge.net/
+WWW=		https://github.com/tn5250/tn5250
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -19,16 +18,10 @@ CONFIGURE_ARGS=	--enable-os-dir=no --with-ssl=${OPENSSLBASE}
 
 INSTALL_TARGET=	install-strip
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+=       -Wno-error=int-conversion
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^SUBDIRS =/s|linux||g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		's|: install-data-local|:|g' ${WRKSRC}/freebsd/Makefile.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/tn5250/distinfo b/net/tn5250/distinfo
index 29a2352c280a..aec08da01d24 100644
--- a/net/tn5250/distinfo
+++ b/net/tn5250/distinfo
@@ -1,2 +1,3 @@
-SHA256 (tn5250-0.17.4.tar.gz) = 354237d400dc46af887cb3ffa4ed1f2c371f5b8bee8be046a683a4ac9db4f9c5
-SIZE (tn5250-0.17.4.tar.gz) = 648452
+TIMESTAMP = 1699721035
+SHA256 (tn5250-0.17.6.tar.gz) = f6383bc62360d858d55337296f373fb1797a2ba39dc931cd09d64a4a558e1641
+SIZE (tn5250-0.17.6.tar.gz) = 700576
diff --git a/net/tn5250/files/patch-lib5250_sslstream.c b/net/tn5250/files/patch-lib5250_sslstream.c
deleted file mode 100644
index 1f2e09cdf9d4..000000000000
--- a/net/tn5250/files/patch-lib5250_sslstream.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- lib5250/sslstream.c.orig	2008-11-21 08:12:21 UTC
-+++ lib5250/sslstream.c
-@@ -368,13 +368,19 @@ int tn5250_ssl_stream_init (Tn5250Stream
-         methstr[4] = '\0';
-    }
- 
-+#ifndef OPENSSL_NO_SSL2
-    if (!strcmp(methstr, "ssl2")) {
-         meth = SSLv2_client_method();         
-         TN5250_LOG(("SSL Method = SSLv2_client_method()\n"));
--   } else if (!strcmp(methstr, "ssl3")) {
-+   } else 
-+#endif
-+#ifndef OPENSSL_NO_SSL3
-+   if (!strcmp(methstr, "ssl3")) {
-         meth = SSLv3_client_method();         
-         TN5250_LOG(("SSL Method = SSLv3_client_method()\n"));
--   } else {
-+   } else 
-+#endif
-+   {
-         meth = SSLv23_client_method();         
-         TN5250_LOG(("SSL Method = SSLv23_client_method()\n"));
-    }