pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2026Q3] pkgsrc/mail



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Nov 23 15:04:37 UTC 2026

Modified Files:
        pkgsrc/mail/libytnef [pkgsrc-2026Q3]: Makefile.common distinfo
        pkgsrc/mail/ytnef [pkgsrc-2026Q3]: Makefile

Log Message:
Pullup ticket #7413 - requested by taca
mail/libytnef: Security fix
mail/ytnef: Security fix

Revisions pulled up:
- mail/libytnef/Makefile.common                                 1.6
- mail/libytnef/distinfo                                        1.8
- mail/ytnef/Makefile                                           1.9

---
   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Fri Nov 20 15:28:18 UTC 2026

   Modified Files:
        pkgsrc/mail/libytnef: Makefile.common distinfo
        pkgsrc/mail/ytnef: Makefile

   Log Message:
   {lib,}ytnef: update to 2.1.3

   2.1.3

   ytnef 2.1.3 fixes memory-safety bugs in RTF and MAPI property parsing
   that a crafted TNEF (winmail.dat) attachment can trigger. Upgrade
   recommended.

       GHSA-jhg4-xcxm-cfg6: heap buffer overflow (write) and heap
       out-of-bounds read in DecompressRTF(), plus a NULL pointer
       dereference on a partly parsed property.

       CVE-2026-111145 and CVE-2026-111146 (#112): heap out-of-bounds
       reads in DecompressRTF() and MAPIPrint().

   v2.0.0 - April 27, 2020 - COVID Edition

   Resolves CVE-2021-3403 and CVE-2021-3404

   Special thanks to several people exposing the Attachment size limits.  This
   version includes a new configuration parameter of the data structure, and
   commandline argument of the `ytnef` binary, allowing you to override the
   default attachment limit of 50MB.

   In addition, special thanks to amit777 for providing a PR that adds HTML Message
   body export, in the new `-H` option of ytnef.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.58.1 pkgsrc/mail/libytnef/Makefile.common
cvs rdiff -u -r1.7 -r1.7.40.1 pkgsrc/mail/libytnef/distinfo
cvs rdiff -u -r1.8 -r1.8.34.1 pkgsrc/mail/ytnef/Makefile

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

Modified files:

Index: pkgsrc/mail/libytnef/Makefile.common
diff -u pkgsrc/mail/libytnef/Makefile.common:1.5 pkgsrc/mail/libytnef/Makefile.common:1.5.58.1
--- pkgsrc/mail/libytnef/Makefile.common:1.5    Mon Sep 30 15:27:05 2019
+++ pkgsrc/mail/libytnef/Makefile.common        Mon Nov 23 15:04:37 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.5 2019/09/30 15:27:05 mef Exp $
+# $NetBSD: Makefile.common,v 1.5.58.1 2026/11/23 15:04:37 maya Exp $
 # used by mail/libytnef/Makefile
 # used by mail/ytnef/Makefile
 
-DISTNAME=      ytnef-1.9.3
+DISTNAME=      ytnef-2.1.3
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Yeraze/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -13,8 +13,6 @@ MAINTAINER=   pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/Yeraze/ytnef
 LICENSE=       gnu-gpl-v2
 
-DIST_SUBDIR=   ytnef-1.9.3
-
 DISTINFO_FILE= ${.CURDIR}/../../mail/libytnef/distinfo
 PATCHDIR=      ${.CURDIR}/../../mail/libytnef/patches
 

Index: pkgsrc/mail/libytnef/distinfo
diff -u pkgsrc/mail/libytnef/distinfo:1.7 pkgsrc/mail/libytnef/distinfo:1.7.40.1
--- pkgsrc/mail/libytnef/distinfo:1.7   Tue Oct 26 10:54:05 2021
+++ pkgsrc/mail/libytnef/distinfo       Mon Nov 23 15:04:37 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:54:05 nia Exp $
+$NetBSD: distinfo,v 1.7.40.1 2026/11/23 15:04:37 maya Exp $
 
-BLAKE2s (ytnef-1.9.3/ytnef-1.9.3.tar.gz) = 68d7c4f21adae11ce943ee9da61e913695fd695ada1dd6106f91afb294e25f70
-SHA512 (ytnef-1.9.3/ytnef-1.9.3.tar.gz) = be0a46e79561a5ff34f812b892a781809606cc7e38c6bfed15bae7773f952b4b55aed0fa784922e72839121672c540496db1bac602630c5a83141f8517a4a543
-Size (ytnef-1.9.3/ytnef-1.9.3.tar.gz) = 301338 bytes
+BLAKE2s (ytnef-2.1.3.tar.gz) = 5c332f109fe4849f76078724fcd4167debc8f08014080e0679e09b01f8018577
+SHA512 (ytnef-2.1.3.tar.gz) = 03648b56bc9c3bfa3c56b48c2332fcdf895e905641c16762959ce1ad6e729278f2d8a5d3071f86e05ad453aaa7a1cd2d5bca5647009cec85c69733f24b244b6b
+Size (ytnef-2.1.3.tar.gz) = 304859 bytes
 SHA1 (patch-ytnef_Makefile.am) = 1a93de2ec27b3230f52e9bb7de279fd1584e0e6a
 SHA1 (patch-ytnefprint_Makefile.am) = f9e02624df257b07f1a095aeb65e5c24d8f0ee37

Index: pkgsrc/mail/ytnef/Makefile
diff -u pkgsrc/mail/ytnef/Makefile:1.8 pkgsrc/mail/ytnef/Makefile:1.8.34.1
--- pkgsrc/mail/ytnef/Makefile:1.8      Tue Jun 28 11:34:35 2022
+++ pkgsrc/mail/ytnef/Makefile  Mon Nov 23 15:04:37 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.8 2022/06/28 11:34:35 wiz Exp $
+# $NetBSD: Makefile,v 1.8.34.1 2026/11/23 15:04:37 maya Exp $
 
-PKGREVISION= 3
 .include "../../mail/libytnef/Makefile.common"
 
 COMMENT=       Programs using libytnef to parse and handle TNEF attachments
@@ -16,5 +15,6 @@ SUBST_MESSAGE.prefix= Setting prefix to 
 SUBST_FILES.prefix=    ytnef/ytnefprocess
 SUBST_SED.prefix=      -e '/^my\ $$reader/s,/usr,${PREFIX},'
 
+BUILDLINK_API_DEPENDS.libytnef+=       libytnef>=${PKGVERSION_NOREV}
 .include "../../mail/libytnef/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index