Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ntp4 net/ntp4: update to ntp-4.2.8p15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b21d11628fcc
branches:  trunk
changeset: 437043:b21d11628fcc
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Aug 15 02:09:25 2020 +0000

description:
net/ntp4: update to ntp-4.2.8p15

Fixes Sec 3661: Memory leak with CMAC keys + additional 13 bugfixes.

diffstat:

 net/ntp4/Makefile                           |   4 +-
 net/ntp4/distinfo                           |  12 +++---
 net/ntp4/patches/patch-ntpd_refclock__jjy.c |  44 ++--------------------------
 3 files changed, 12 insertions(+), 48 deletions(-)

diffs (106 lines):

diff -r 93b04bc02bac -r b21d11628fcc net/ntp4/Makefile
--- a/net/ntp4/Makefile Sat Aug 15 02:07:38 2020 +0000
+++ b/net/ntp4/Makefile Sat Aug 15 02:09:25 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.104 2020/06/21 15:10:47 taca Exp $
+# $NetBSD: Makefile,v 1.105 2020/08/15 02:09:25 tnn Exp $
 #
 
-DISTNAME=      ntp-4.2.8p14
+DISTNAME=      ntp-4.2.8p15
 CATEGORIES=    net time
 MASTER_SITES=  http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/
 
diff -r 93b04bc02bac -r b21d11628fcc net/ntp4/distinfo
--- a/net/ntp4/distinfo Sat Aug 15 02:07:38 2020 +0000
+++ b/net/ntp4/distinfo Sat Aug 15 02:09:25 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.31 2020/06/21 15:10:47 taca Exp $
+$NetBSD: distinfo,v 1.32 2020/08/15 02:09:25 tnn Exp $
 
-SHA1 (ntp-4.2.8p14.tar.gz) = c6f353278cd5b7c8aa11e1189d3ac80985370b8f
-RMD160 (ntp-4.2.8p14.tar.gz) = c49cb8138678b246661cc1afe68d38f255756a7e
-SHA512 (ntp-4.2.8p14.tar.gz) = b0183b4b2f2c6ea0a49d0aca1fa28a7b5cd21e20696a2f633f5afa37c4ea2c59fa7769af82a55c626db49b9eb5a531608710dc1977c4d518583577ef95940ae8
-Size (ntp-4.2.8p14.tar.gz) = 7007263 bytes
+SHA1 (ntp-4.2.8p15.tar.gz) = e34e5b6f48c3ed1bbcfb03080dec1b8f91e19381
+RMD160 (ntp-4.2.8p15.tar.gz) = 4653211d8c258a4a9edf1b2445a77223330176a2
+SHA512 (ntp-4.2.8p15.tar.gz) = f5ad765e45fc302263dd40e94c287698fd235b94f3684e49f1d5d09d7d8bdd6b8c0fb96ecdabffea3d233e1e79b3c9687b76dc204ba76bad3f554682f4a97794
+Size (ntp-4.2.8p15.tar.gz) = 7015970 bytes
 SHA1 (patch-configure) = cd2b6d9353282b574eea117b4b6e391a39a6267b
 SHA1 (patch-include-ntp__syscall.h) = b0587655e707b9a2e0eb9c937be47fd27e8d5435
 SHA1 (patch-include_ntp__md5.h) = 1bde85704e539ab40133f498409294d071df0cc8
@@ -22,7 +22,7 @@
 SHA1 (patch-ntpd_ntp__loopfilter.c) = 381e44622a25351c470dbc7bfaef353e47370d79
 SHA1 (patch-ntpd_ntp__proto.c) = 5e5629cc5b8dc785427bc9b267d0cac6fc7b1b39
 SHA1 (patch-ntpd_ntp__restrict.c) = b659db3d7913a72f3a36c3a33ef47cfaf4545095
-SHA1 (patch-ntpd_refclock__jjy.c) = 592d010d2e19bb47beefdcb3fe5645271e2645bb
+SHA1 (patch-ntpd_refclock__jjy.c) = c3e506722c0040b8173220482bc3abcd449c95a5
 SHA1 (patch-ntpd_refclock__jupiter.c) = bb248d2766cadddacdf9cb56bf9b29cbc538bbcb
 SHA1 (patch-ntpd_refclock__neoclock4x.c) = 66c38ba21572cb8804a39766f3b32d1b65cb0946
 SHA1 (patch-ntpd_refclock__oncore.c) = d93efa11cadc37fd9e600f80f2cbf0280be969c6
diff -r 93b04bc02bac -r b21d11628fcc net/ntp4/patches/patch-ntpd_refclock__jjy.c
--- a/net/ntp4/patches/patch-ntpd_refclock__jjy.c       Sat Aug 15 02:07:38 2020 +0000
+++ b/net/ntp4/patches/patch-ntpd_refclock__jjy.c       Sat Aug 15 02:09:25 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ntpd_refclock__jjy.c,v 1.1 2020/06/21 15:10:47 taca Exp $
+$NetBSD: patch-ntpd_refclock__jjy.c,v 1.2 2020/08/15 02:09:25 tnn Exp $
 
 * Changes from NetBSD base.
 
---- ntpd/refclock_jjy.c.orig   2018-02-27 15:15:27.000000000 +0000
+--- ntpd/refclock_jjy.c.orig   2020-06-23 09:17:30.000000000 +0000
 +++ ntpd/refclock_jjy.c
-@@ -1010,7 +1010,7 @@ static void
+@@ -1022,7 +1022,7 @@ static void
  jjy_synctime ( struct peer *peer, struct refclockproc *pp, struct jjyunit *up )
  {
  
@@ -13,34 +13,7 @@
        const char      *pStatus ;
  
        pp->year   = up->year ;
-@@ -1165,7 +1165,7 @@ jjy_receive_tristate_jjy01 ( struct recv
-       struct peer         *peer;
- 
-       char *          pBuf ;
--      char            sLog [ 100 ] ;
-+      char            sLog [ 192 ] ;
-       int             iLen ;
-       int             rc ;
- 
-@@ -1461,7 +1461,7 @@ jjy_receive_cdex_jst2000 ( struct recvbu
-       struct refclockproc *pp ;
-       struct peer         *peer ;
- 
--      char    *pBuf, sLog [ 100 ] ;
-+      char    *pBuf, sLog [ 192 ] ;
-       int     iLen ;
-       int     rc ;
- 
-@@ -2344,7 +2344,7 @@ jjy_receive_seiko_tsys_tdc_300 ( struct 
-       struct refclockproc     *pp ;
-       struct jjyunit          *up ;
- 
--      char    *pBuf, sLog [ 100 ] ;
-+      char    *pBuf, sLog [ 192 ] ;
-       int     iLen, i ;
-       int     rc, iWeekday ;
-       time_t  now ;
-@@ -2693,7 +2693,7 @@ static int
+@@ -2737,7 +2737,7 @@ static int
  jjy_start_telephone ( int unit, struct peer *peer, struct jjyunit *up )
  {
  
@@ -49,12 +22,3 @@
        int     iNumberOfDigitsOfPhoneNumber, iCommaCount, iCommaPosition ;
        size_t  i ;
        size_t  iFirstThreeDigitsCount ;
-@@ -3402,7 +3402,7 @@ teljjy_conn_data ( struct peer *peer, st
- 
-       char    *pBuf ;
-       int     iLen, rc ;
--      char    sLog [ 80 ] ;
-+      char    sLog [ 192 ] ;
-       char    bAdjustment ;
- 
- 



Home | Main Index | Thread Index | Old Index