Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libtelnet libtelnet: Update to 0.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a53ffbc5e21
branches:  trunk
changeset: 434297:8a53ffbc5e21
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 14 10:21:10 2020 +0000

description:
libtelnet: Update to 0.23

Version 0.23
============

* Fixed release errors

Version 0.22
============

* EOL handling fixes
* allocation fixes to Q option states
* portability fixes

diffstat:

 net/libtelnet/Makefile                           |  12 +++++-------
 net/libtelnet/PLIST                              |  16 +++++++++++++++-
 net/libtelnet/distinfo                           |  15 ++++++---------
 net/libtelnet/patches/patch-configure.ac         |  14 --------------
 net/libtelnet/patches/patch-util_telnet-chatd.c  |  19 -------------------
 net/libtelnet/patches/patch-util_telnet-client.c |  23 +++--------------------
 net/libtelnet/patches/patch-util_telnet-proxy.c  |  19 -------------------
 7 files changed, 29 insertions(+), 89 deletions(-)

diffs (179 lines):

diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/Makefile
--- a/net/libtelnet/Makefile    Sun Jun 14 10:07:48 2020 +0000
+++ b/net/libtelnet/Makefile    Sun Jun 14 10:21:10 2020 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.6 2020/05/27 19:37:40 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2020/06/14 10:21:10 nia Exp $
 
-DISTNAME=      libtelnet-0.21
+DISTNAME=      libtelnet-0.23
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=seanmiddleditch/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/seanmiddleditch/libtelnet/
+HOMEPAGE=      https://github.com/seanmiddleditch/libtelnet
 COMMENT=       RFC-complient TELNET implementation as a C library
 LICENSE=       mit
 
 USE_LIBTOOL=   yes
-USE_TOOLS+=    autoconf automake pkg-config
+USE_TOOLS+=    pkg-config
 GNU_CONFIGURE= yes
 
 # __EXTENSIONS__ needed by patch-util_telnet-client.c
@@ -19,8 +20,5 @@
 
 PKGCONFIG_OVERRIDE+=   libtelnet.pc.in
 
-pre-configure:
-       cd ${WRKSRC} && autoreconf -i
-
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/PLIST
--- a/net/libtelnet/PLIST       Sun Jun 14 10:07:48 2020 +0000
+++ b/net/libtelnet/PLIST       Sun Jun 14 10:21:10 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/04/11 11:32:22 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/06/14 10:21:10 nia Exp $
 bin/telnet-chatd
 bin/telnet-client
 bin/telnet-proxy
@@ -8,3 +8,17 @@
 man/man1/telnet-chatd.1
 man/man1/telnet-client.1
 man/man1/telnet-proxy.1
+man/man3/libtelnet.h.3
+man/man3/telnet_environ_t.3
+man/man3/telnet_event_t.3
+man/man3/telnet_event_t_compress_t.3
+man/man3/telnet_event_t_data_t.3
+man/man3/telnet_event_t_environ_t.3
+man/man3/telnet_event_t_error_t.3
+man/man3/telnet_event_t_iac_t.3
+man/man3/telnet_event_t_mssp_t.3
+man/man3/telnet_event_t_negotiate_t.3
+man/man3/telnet_event_t_subnegotiate_t.3
+man/man3/telnet_event_t_ttype_t.3
+man/man3/telnet_event_t_zmp_t.3
+man/man3/telnet_telopt_t.3
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/distinfo
--- a/net/libtelnet/distinfo    Sun Jun 14 10:07:48 2020 +0000
+++ b/net/libtelnet/distinfo    Sun Jun 14 10:21:10 2020 +0000
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.3 2019/03/20 16:02:10 jperkin Exp $
+$NetBSD: distinfo,v 1.4 2020/06/14 10:21:10 nia Exp $
 
-SHA1 (libtelnet-0.21.tar.gz) = 2101bb5689b77ae8562b07b8364e208a62d4e6f3
-RMD160 (libtelnet-0.21.tar.gz) = 81fe34610211ab5c794aea4c5e9268d275b6633a
-SHA512 (libtelnet-0.21.tar.gz) = 69dc0ac4741c81d932136cd736b48a11a05cd2738da6255d6050844f50a2f16c575c747e5c758bbdbc6b1e3309ce02e4979f0002b40fed32a3711aa8f22e04f1
-Size (libtelnet-0.21.tar.gz) = 240486 bytes
-SHA1 (patch-configure.ac) = 9b29ea8995eefbfbe786c9217089577d9de9850d
-SHA1 (patch-util_telnet-chatd.c) = d2d5e6c6748e19d8eaf56a810820080311c4114f
-SHA1 (patch-util_telnet-client.c) = 08bccc6d36415db8a340dca90bf1326a664f7c15
-SHA1 (patch-util_telnet-proxy.c) = 2b5749a8dc56cc7b82ab0fc3dee1548e322aa443
+SHA1 (libtelnet-0.23.tar.gz) = 8f9f4a3a15f0cd7240f47693d24f4e8bccbd1adf
+RMD160 (libtelnet-0.23.tar.gz) = 4bb63f7894ca627d459ea83da6a7d63026fe1f4b
+SHA512 (libtelnet-0.23.tar.gz) = 5510822a7dd5a7dfd2db78e45247ecacab74d8438d81fca22bad6b6c49d6a3f386b91aa379039903550c28e42489de4cd3ced1a2e60e15b9d1e947b97147a14c
+Size (libtelnet-0.23.tar.gz) = 589940 bytes
+SHA1 (patch-util_telnet-client.c) = 5c8f277fd3f5af3db9ae43022d1f781a203572ee
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/patches/patch-configure.ac
--- a/net/libtelnet/patches/patch-configure.ac  Sun Jun 14 10:07:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.1 2016/04/11 11:32:22 fhajny Exp $
-
-Backport autoconf 2.6.x fix from trunk (574eef9)
-
---- configure.ac.orig  2012-03-18 21:07:49.000000000 +0000
-+++ configure.ac
-@@ -8,6 +8,7 @@ AC_CONFIG_HEADERS([config.h])
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_SRCDIR([libtelnet.c])
- AM_INIT_AUTOMAKE([1.9 foreign -Wall -Werror subdir-objects])
-+AM_PROG_AR
- #LT_INIT([win32-dll])
- AC_LIBTOOL_WIN32_DLL
- 
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/patches/patch-util_telnet-chatd.c
--- a/net/libtelnet/patches/patch-util_telnet-chatd.c   Sun Jun 14 10:07:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-util_telnet-chatd.c,v 1.2 2019/03/20 16:02:10 jperkin Exp $
-
-Uses strdup.
-
---- util/telnet-chatd.c.orig   2012-03-18 21:07:49.000000000 +0000
-+++ util/telnet-chatd.c
-@@ -10,9 +10,12 @@
-  */
- 
- #if !defined(_WIN32)
-+#  if !defined(__sun) || __STDC_VERSION__-0 < 199901L
-+#     define _XOPEN_SOURCE 520
- #     if !defined(_POSIX_SOURCE)
- #             define _POSIX_SOURCE
- #     endif
-+#  endif
- #     if !defined(_BSD_SOURCE)
- #             define _BSD_SOURCE
- #     endif
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/patches/patch-util_telnet-client.c
--- a/net/libtelnet/patches/patch-util_telnet-client.c  Sun Jun 14 10:07:48 2020 +0000
+++ b/net/libtelnet/patches/patch-util_telnet-client.c  Sun Jun 14 10:21:10 2020 +0000
@@ -1,27 +1,10 @@
-$NetBSD: patch-util_telnet-client.c,v 1.3 2019/03/20 16:02:10 jperkin Exp $
+$NetBSD: patch-util_telnet-client.c,v 1.4 2020/06/14 10:21:10 nia Exp $
 
 Provide workaround for a non-POSIX cfmakeraw call.
-Uses getaddrinfo.
 
---- util/telnet-client.c.orig  2012-03-18 21:07:49.000000000 +0000
+--- util/telnet-client.c.orig  2018-10-18 05:55:23.000000000 +0000
 +++ util/telnet-client.c
-@@ -9,9 +9,15 @@
-  * all present and future rights to this code under copyright law. 
-  */
- 
-+#ifdef __NetBSD__
-+#define _NETBSD_SOURCE
-+#endif
-+#if !defined(__sun) || __STDC_VERSION__-0 < 199901L
-+#define _XOPEN_SOURCE 520
- #if !defined(_POSIX_SOURCE)
- #     define _POSIX_SOURCE
- #endif
-+#endif
- #if !defined(_BSD_SOURCE)
- #     define _BSD_SOURCE
- #endif
-@@ -199,7 +205,15 @@ int main(int argc, char **argv) {
+@@ -204,7 +204,15 @@ int main(int argc, char **argv) {
        tcgetattr(STDOUT_FILENO, &orig_tios);
        atexit(_cleanup);
        tios = orig_tios;
diff -r 36a441c7af81 -r 8a53ffbc5e21 net/libtelnet/patches/patch-util_telnet-proxy.c
--- a/net/libtelnet/patches/patch-util_telnet-proxy.c   Sun Jun 14 10:07:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-util_telnet-proxy.c,v 1.2 2019/03/20 16:02:10 jperkin Exp $
-
-Uses getaddrinfo and friends.
-
---- util/telnet-proxy.c.orig   2012-03-18 21:07:49.000000000 +0000
-+++ util/telnet-proxy.c
-@@ -10,9 +10,12 @@
-  */
- 
- #if !defined(_WIN32)
-+#  if !defined(__sun) || __STDC_VERSION__-0 < 199901L
-+#     define _XOPEN_SOURCE 520
- #     if !defined(_POSIX_SOURCE)
- #             define _POSIX_SOURCE
- #     endif
-+#  endif
- #     if !defined(_BSD_SOURCE)
- #             define _BSD_SOURCE
- #     endif



Home | Main Index | Thread Index | Old Index