pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/mrxvt



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Jul 19 13:03:39 UTC 2021

Modified Files:
        pkgsrc/x11/mrxvt: Makefile distinfo
        pkgsrc/x11/mrxvt/patches: patch-aa patch-src_command.c

Log Message:
mrxvt: patch CVE-2021-33477 RCU. Fix pkglint. Bump.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/x11/mrxvt/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/x11/mrxvt/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/mrxvt/patches/patch-aa
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/mrxvt/patches/patch-src_command.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/mrxvt/Makefile
diff -u pkgsrc/x11/mrxvt/Makefile:1.38 pkgsrc/x11/mrxvt/Makefile:1.39
--- pkgsrc/x11/mrxvt/Makefile:1.38      Mon Aug 17 20:20:32 2020
+++ pkgsrc/x11/mrxvt/Makefile   Mon Jul 19 13:03:38 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2020/08/17 20:20:32 leot Exp $
+# $NetBSD: Makefile,v 1.39 2021/07/19 13:03:38 tnn Exp $
 #
 
 DISTNAME=      mrxvt-0.5.4
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=materm/}
 PATCH_SITES=   ${MASTER_SITES}
@@ -11,6 +11,7 @@ PATCHFILES=   mrxvt-0.5.4-001-fix-segfault
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://code.google.com/p/mrxvt/
 COMMENT=       Multi-tabbed terminal emulator with Xft support
+LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE=         YES
 USE_TOOLS+=            gmake

Index: pkgsrc/x11/mrxvt/distinfo
diff -u pkgsrc/x11/mrxvt/distinfo:1.12 pkgsrc/x11/mrxvt/distinfo:1.13
--- pkgsrc/x11/mrxvt/distinfo:1.12      Mon Nov 27 08:05:24 2017
+++ pkgsrc/x11/mrxvt/distinfo   Mon Jul 19 13:03:38 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2017/11/27 08:05:24 maya Exp $
+$NetBSD: distinfo,v 1.13 2021/07/19 13:03:38 tnn Exp $
 
 SHA1 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 62b1d128f71e463dd38239efa4d5bc0daa77e9cf
 RMD160 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 039929a83065055abfe29e239d7760390bb54a6b
@@ -8,7 +8,7 @@ SHA1 (mrxvt-0.5.4.tar.gz) = f50e9ad2f652
 RMD160 (mrxvt-0.5.4.tar.gz) = 175ce5c554c267ada4efde18e22704ff1b688dac
 SHA512 (mrxvt-0.5.4.tar.gz) = 572bb4dda9f9b9dcb597f3185922646523bce34003f536acca82992f68f8f7c1a5f2778d626f805ea2cd061e8451fbbf12010e5d655221f76b83440825c80992
 Size (mrxvt-0.5.4.tar.gz) = 603978 bytes
-SHA1 (patch-aa) = 809be5640f60ccc8238c2b851056fd520426f6b1
-SHA1 (patch-src_command.c) = 1705e80d071bbab1bebe51bda13b22ffae1b727f
+SHA1 (patch-aa) = c04589243f13fb998929f00ab8a59bd4d7e0a808
+SHA1 (patch-src_command.c) = 2f34ca9baa71d86737f01338ca4cc25e4a637b4c
 SHA1 (patch-src_init.c) = 358b46b1c03ef3cdf62b964ca435db7987c9c33d
 SHA1 (patch-src_transparent.c) = 09229a237dfc2fef6c6d76f75270ead5c75521e1

Index: pkgsrc/x11/mrxvt/patches/patch-aa
diff -u pkgsrc/x11/mrxvt/patches/patch-aa:1.6 pkgsrc/x11/mrxvt/patches/patch-aa:1.7
--- pkgsrc/x11/mrxvt/patches/patch-aa:1.6       Mon Nov 27 08:05:24 2017
+++ pkgsrc/x11/mrxvt/patches/patch-aa   Mon Jul 19 13:03:39 2021
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.6 2017/11/27 08:05:24 maya Exp $
+$NetBSD: patch-aa,v 1.7 2021/07/19 13:03:39 tnn Exp $
+
+Don't error out (skipping utmp logging) when using Unix98 ptys.
 
 --- src/logging.c.orig 2008-02-17 22:04:50.000000000 +0000
 +++ src/logging.c

Index: pkgsrc/x11/mrxvt/patches/patch-src_command.c
diff -u pkgsrc/x11/mrxvt/patches/patch-src_command.c:1.1 pkgsrc/x11/mrxvt/patches/patch-src_command.c:1.2
--- pkgsrc/x11/mrxvt/patches/patch-src_command.c:1.1    Mon Nov 27 08:05:24 2017
+++ pkgsrc/x11/mrxvt/patches/patch-src_command.c        Mon Jul 19 13:03:39 2021
@@ -1,10 +1,34 @@
-$NetBSD: patch-src_command.c,v 1.1 2017/11/27 08:05:24 maya Exp $
+$NetBSD: patch-src_command.c,v 1.2 2021/07/19 13:03:39 tnn Exp $
 
 Avoid integer overflow (CVE-2017-7483)
+Avoid RCU (CVE-2021-33477, via https://bugs.gentoo.org/790782)
 
---- src/command.c.orig 2008-07-09 21:33:36.000000000 +0000
+--- src/command.c.orig 2021-07-19 12:58:56.475014948 +0000
 +++ src/command.c
-@@ -5207,7 +5207,7 @@ rxvt_process_csi_seq(rxvt_t* r, int page
+@@ -207,7 +207,9 @@ void           rxvt_process_xwsh_seq    
+ int            rxvt_privcases                (rxvt_t*, int, int, uint32_t);
+ void           rxvt_process_terminal_mode    (rxvt_t*, int, int, int, unsigned int, const int*);
+ void           rxvt_process_sgr_mode         (rxvt_t*, int, unsigned int, const int*);
++#if 0
+ void           rxvt_process_graphics         (rxvt_t*, int);
++#endif
+ void         rxvt_process_getc             (rxvt_t*, int, unsigned char);
+ /*--------------------------------------------------------------------*
+  *         END   `INTERNAL' ROUTINE PROTOTYPES                        *
+@@ -5029,10 +5031,12 @@ rxvt_process_escape_seq(rxvt_t* r, int p
+           rxvt_scr_add_lines(r, page, (const unsigned char *)"\n\r", 1, 2);
+           break;
+ 
++#if 0
+       /* kidnapped escape sequence: Should be 8.3.48 */
+       case C1_ESA:        /* ESC G */
+           rxvt_process_graphics(r, page);
+           break;
++#endif
+ 
+       /* 8.3.63: CHARACTER TABULATION SET */
+       case C1_HTS:        /* ESC H */
+@@ -5207,7 +5211,7 @@ rxvt_process_csi_seq(rxvt_t* r, int page
      i = ch - CSI_ICH;
      ndef = get_byte_array_bit(csi_defaults, i);
      for (p = 0; p < nargs; p++)
@@ -13,3 +37,19 @@ Avoid integer overflow (CVE-2017-7483)
            arg[p] = ndef;
  
  #ifdef DEBUG
+@@ -6671,6 +6675,7 @@ rxvt_process_sgr_mode(rxvt_t* r, int pag
+ }
+ /*}}} */
+ 
++#if 0
+ /*{{{ process Rob Nation's own graphics mode sequences */
+ /* INTPROTO */
+ void
+@@ -6707,6 +6712,7 @@ rxvt_process_graphics(rxvt_t* r, int pag
+                                                    printable characters. */
+ }
+ /*}}} */
++#endif
+ 
+ /* ------------------------------------------------------------------------- */
+ 



Home | Main Index | Thread Index | Old Index