pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ircII update to ircii 20210314. changes include:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4773dbd2ae2a
branches:  trunk
changeset: 448788:4773dbd2ae2a
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Mon Mar 15 05:30:14 2021 +0000

description:
update to ircii 20210314.  changes include:

  o  fix two memory leaks, one from michael ortmann <ortmann%posteo.de@localhost>
  o  fixes for various issues by michael ortmann <ortmann%posteo.de@localhost>
  o  new --with-sanitizer=<asan|ubsan|lsan> configure support
  o  many fixes for fuzzer and sanitizer found issues
  o  the $IRCSERVERS variable no longer triggers some library asserts
  o  avoid displaying negative hours/minutes
  o  fix a potential messages goes to wrong window issue in numerics

diffstat:

 chat/ircII/Makefile                      |   5 +--
 chat/ircII/distinfo                      |  11 ++++-----
 chat/ircII/patches/patch-source_server.c |  36 --------------------------------
 3 files changed, 7 insertions(+), 45 deletions(-)

diffs (79 lines):

diff -r dd502f1eae3e -r 4773dbd2ae2a chat/ircII/Makefile
--- a/chat/ircII/Makefile       Sun Mar 14 21:21:13 2021 +0000
+++ b/chat/ircII/Makefile       Mon Mar 15 05:30:14 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2020/01/18 21:48:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.86 2021/03/15 05:30:14 mrg Exp $
 
 DISTNAME=              ircii-${VERS}
 PKGNAME=               ircII-${VERS}
-PKGREVISION=           2
 CATEGORIES=            chat
 MASTER_SITES=          http://ircii.warped.com/
 EXTRACT_SUFX=          .tar.bz2
@@ -14,7 +13,7 @@
 
 CONFLICTS=             blackened-[0-9]*
 
-VERS=          20190117
+VERS=          20210314
 PLIST_SUBST+=  VERS=${VERS:Q}
 
 .include "../../mk/bsd.prefs.mk"
diff -r dd502f1eae3e -r 4773dbd2ae2a chat/ircII/distinfo
--- a/chat/ircII/distinfo       Sun Mar 14 21:21:13 2021 +0000
+++ b/chat/ircII/distinfo       Mon Mar 15 05:30:14 2021 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.51 2019/04/26 00:12:14 mrg Exp $
+$NetBSD: distinfo,v 1.52 2021/03/15 05:30:14 mrg Exp $
 
-SHA1 (ircii-20190117.tar.bz2) = 5e727cecd311117b0768586d37bf2126fb0fd7b7
-RMD160 (ircii-20190117.tar.bz2) = 2536c7783ca2ee9df0b49877858b65ccfc3e9bea
-SHA512 (ircii-20190117.tar.bz2) = 08ca96cd62bae35245b40791c8588752b96136b53e5c9434d0f7976d03841fca80e8c83cf8608aad79c381820b06e00167447c6dc0c6294c6b3dfd91a9fdb6d4
-Size (ircii-20190117.tar.bz2) = 606327 bytes
+SHA1 (ircii-20210314.tar.bz2) = 61830abe36ab02343862e296b858a3612aeb6a8a
+RMD160 (ircii-20210314.tar.bz2) = ec000f99e50a7a39b3822081bea5de46df220ec7
+SHA512 (ircii-20210314.tar.bz2) = 3dc3a4ddb000133907edb9b867ae7cb0b36488c875f5d4f56e70d7263cf042da6c429f60a8ed6cced89bca077aec42c9d992ea6b56b2ed8b4e91f125eeced310
+Size (ircii-20210314.tar.bz2) = 590626 bytes
 SHA1 (patch-Makefile.in) = 77fd2cfb1ef528faf03a3ef61c4802917fb6c8d5
-SHA1 (patch-source_server.c) = cfcaac144030c1c5ed907e940026dbdefc6897f4
diff -r dd502f1eae3e -r 4773dbd2ae2a chat/ircII/patches/patch-source_server.c
--- a/chat/ircII/patches/patch-source_server.c  Sun Mar 14 21:21:13 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-source_server.c,v 1.1 2019/04/26 00:12:14 mrg Exp $
-
-- Don't free data that came from the environment.
-
-Index: source/server.c
-===================================================================
-RCS file: /home/cvs/ircii/source/server.c,v
-retrieving revision 1.245
-retrieving revision 1.246
-diff -p -u -r1.245 -r1.246
---- source/server.c    5 Feb 2019 01:35:49 -0000       1.245
-+++ source/server.c    26 Apr 2019 00:08:33 -0000      1.246
-@@ -1796,17 +1796,19 @@ read_server_file(void)
- {
-       FILE *fp;
-       u_char format[11];
--      u_char *file_path = NULL;
-+      u_char *file_path;
-+      u_char *free_path = NULL;
-       u_char  buffer[FS_BUFFER_SIZE];
- 
-       if ((file_path = my_getenv("IRCSERVERSFILE")) == NULL)
-       {
--              malloc_strcpy(&file_path, my_irc_lib());
--              malloc_strcat(&file_path, UP(SERVERS_FILE));
-+              malloc_strcpy(&free_path, my_irc_lib());
-+              malloc_strcat(&free_path, UP(SERVERS_FILE));
-+              file_path = free_path;
-       }
-       snprintf(CP(format), sizeof format, "%%%ds", (int)sizeof buffer);
-       fp = fopen(CP(file_path), "r");
--      new_free(&file_path);
-+      new_free(&free_path);
-       if (NULL != fp)
-       {
-               while (fscanf(fp, CP(format), buffer) != EOF)



Home | Main Index | Thread Index | Old Index