pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/patch
Module Name: pkgsrc
Committed By: wiz
Date: Mon Oct 26 16:47:06 UTC 2026
Modified Files:
pkgsrc/devel/patch: Makefile distinfo
Removed Files:
pkgsrc/devel/patch/patches: patch-src_pch.c patch-tests_Makefile.in
patch-tests_ed-style
Log Message:
patch: update to 2.8.1.
Changes in version 2.8.1:
* Prevent creation of out-of-tree files (CVE-2026-115207).
Changes in version 2.8:
* The --follow-symlinks option now applies to output files as well as input.
* 'patch' now supports file timestamps after 2038 even on traditional
GNU/Linux platforms where time_t defaults to 32 bits.
* 'patch' no longer creates files with names containing newlines,
as encouraged by POSIX.1-2024.
* Patches can no longer contain NUL ('\0') bytes in diff directive lines.
These bytes would otherwise cause unpredictable behavior.
* Patches can now contain sequences of spaces and tabs around line numbers
and in other places where POSIX requires support for these sequences.
* --enable-gcc-warnings no longer uses expensive static checking.
Use --enable-gcc-warnings=expensive if you still want it.
* Fix undefined or ill-defined behavior in unusual cases, such as very
large sizes, possible stack overflow, I/O errors, memory exhaustion,
races with other processes, and signals arriving at inopportune moments.
* Remove old "Plan B" code, designed for machines with 16-bit pointers.
* Assume C99 or later; previously it assumed C89 or later.
* Port to current GCC, Autoconf, Gnulib, etc.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/patch/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/patch/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/patch/patches/patch-src_pch.c \
pkgsrc/devel/patch/patches/patch-tests_Makefile.in \
pkgsrc/devel/patch/patches/patch-tests_ed-style
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/patch/Makefile
diff -u pkgsrc/devel/patch/Makefile:1.47 pkgsrc/devel/patch/Makefile:1.48
--- pkgsrc/devel/patch/Makefile:1.47 Mon Apr 21 16:32:26 2025
+++ pkgsrc/devel/patch/Makefile Mon Oct 26 16:47:06 2026
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.47 2025/04/21 16:32:26 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2026/10/26 16:47:06 wiz Exp $
-DISTNAME= patch-2.7.6
-PKGREVISION= 1
+DISTNAME= patch-2.8.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=patch/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://www.gnu.org/software/patch/patch.html
-COMMENT= Patch files using diff output
+COMMENT= Apply changes to files using diff output
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_TOOLS+= awk
+TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
Index: pkgsrc/devel/patch/distinfo
diff -u pkgsrc/devel/patch/distinfo:1.15 pkgsrc/devel/patch/distinfo:1.16
--- pkgsrc/devel/patch/distinfo:1.15 Tue Oct 26 10:17:59 2021
+++ pkgsrc/devel/patch/distinfo Mon Oct 26 16:47:06 2026
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:17:59 nia Exp $
+$NetBSD: distinfo,v 1.16 2026/10/26 16:47:06 wiz Exp $
-BLAKE2s (patch-2.7.6.tar.xz) = 712c28f8a0fbfbd5ec4cd71ef45204a3780a332d559b5566070138554b89e400
-SHA512 (patch-2.7.6.tar.xz) = fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd
-Size (patch-2.7.6.tar.xz) = 783756 bytes
-SHA1 (patch-src_pch.c) = 0aed6cd0d64c380767c39908c388c91ddf3003d1
-SHA1 (patch-tests_Makefile.in) = f7fd200672b65f466a982084d2b907d32a8f0a77
-SHA1 (patch-tests_ed-style) = 7d7c2d04eddaab1d07c05022908a98ef9c984e08
+BLAKE2s (patch-2.8.1.tar.xz) = 8211fd13845369e1c26701ac2527854cf6755d2b87ef93d40da3f9efab73d241
+SHA512 (patch-2.8.1.tar.xz) = 344cad0f3a19a651c8f0188c89402018c65406b106adecdfec52df4359046ca5d86a70ce8d7943f8c41deed79918291b0a86bfa57dcec2c0aa2b4bbca6edc698
+Size (patch-2.8.1.tar.xz) = 940364 bytes
Home |
Main Index |
Thread Index |
Old Index