pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/patchutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 26 18:36:41 UTC 2026

Modified Files:
        pkgsrc/devel/patchutils: Makefile PLIST distinfo

Log Message:
patchutils: updated to 0.4.5

0.4.5 (stable)

Reverted incompatible behavior change from version 0.4.4. In 0.4.4,
Git diffs without content hunks (renames, copies, mode-only changes,
binary files) were included in output and file numbering, breaking
compatibility with 0.4.3 and earlier versions. This caused file numbers
to change for scripts using -N/-F options. The 0.4.3 behavior has been
restored as the default: these diffs are now excluded from output and
numbering. Added --git-extended-diffs option to control this behavior:
use --git-extended-diffs=include to get the 0.4.4 behavior if needed.
The default will change to 'include' in version 0.5.0 for modern Git
workflow support.

Fixed grepdiff -s/--status to display correct file status indicators.
Previously, grepdiff -s incorrectly showed '!' (modification) for all
matching files regardless of whether they were additions, deletions,
or modifications. Now correctly shows '+' for file additions, '-' for
file removals, and '!' for file modifications. Added comprehensive
test coverage for grepdiff -s with both unified and context diff
formats. Documented and enabled --empty-files-as-absent option for
grepdiff (long form only, as -E is used for --extended-regexp).

Improved error handling for command pipelines. Fixed pipe handling
to properly propagate errors when commands in a pipeline fail, and
corrected stdout/stdin piping behavior (stderr is no longer redirected
to pipes).

Replaced old Git/SVN patchview scripts with unified patchview-wrapper.
The gitdiff, gitdiffview, gitshow, gitshowview, svndiff, and svndiffview
commands are now symlinks to a single patchview-wrapper script with
improved pipeline handling and debug support. Symlinks are now
automatically generated during installation rather than tracked in
source control.

Documentation improvements. Enhanced grepdiff documentation with better
organization and comprehensive examples showing different output modes.
Clarified bootstrap requirements in README.md. Restored move-to-front
script to package.

Build system and CI improvements. Updated GitHub Actions CI to run on
0.4.x branch. Conditionally enabled building from Git repository.
Updated spec file and .gitignore files.

Fixed binary file handling in lsdiff and filterdiff. Binary files now
receive sequential file numbers instead of duplicate numbers when using
lsdiff -N. Fixed filterdiff -F (file number filter) to properly filter
binary file messages - previously binary file "Binary files ... differ"
messages were not being filtered and would appear in output regardless
of the requested file number.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/patchutils/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/patchutils/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/patchutils/distinfo

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

Modified files:

Index: pkgsrc/devel/patchutils/Makefile
diff -u pkgsrc/devel/patchutils/Makefile:1.34 pkgsrc/devel/patchutils/Makefile:1.35
--- pkgsrc/devel/patchutils/Makefile:1.34       Fri Jan 16 06:48:05 2026
+++ pkgsrc/devel/patchutils/Makefile    Thu Feb 26 18:36:41 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2026/01/16 06:48:05 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2026/02/26 18:36:41 adam Exp $
 
-DISTNAME=      patchutils-0.4.4
+DISTNAME=      patchutils-0.4.5
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=twaugh/}
 EXTRACT_SUFX=  .tar.xz
@@ -19,10 +19,12 @@ USE_PKGLOCALEDIR=   yes
 USE_TOOLS+=            bash:run gmake perl:run
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-patch=${PREFIX}/bin/gpatch
+TEST_TARGET=           check
 
-REPLACE_BASH+=         scripts/editdiff.in scripts/espdiff.in
-REPLACE_PYTHON+=       patchview/gitdiff
-REPLACE_PYTHON+=       patchview/gitshow
+REPLACE_BASH+=         scripts/editdiff.in
+REPLACE_BASH+=         scripts/espdiff.in
+REPLACE_BASH+=         scripts/move-to-front.in
+REPLACE_PYTHON+=       patchview/patchview-wrapper
 
 CHECK_PORTABILITY_SKIP+=       tests/rediff2/run-test
 

Index: pkgsrc/devel/patchutils/PLIST
diff -u pkgsrc/devel/patchutils/PLIST:1.3 pkgsrc/devel/patchutils/PLIST:1.4
--- pkgsrc/devel/patchutils/PLIST:1.3   Sun Oct  5 15:22:53 2025
+++ pkgsrc/devel/patchutils/PLIST       Thu Feb 26 18:36:41 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2025/10/05 15:22:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/02/26 18:36:41 adam Exp $
 bin/combinediff
 bin/dehtmldiff
 bin/editdiff
@@ -13,7 +13,9 @@ bin/gitshowview
 bin/grepdiff
 bin/interdiff
 bin/lsdiff
+bin/move-to-front
 bin/patchview
+bin/patchview-wrapper
 bin/recountdiff
 bin/rediff
 bin/splitdiff

Index: pkgsrc/devel/patchutils/distinfo
diff -u pkgsrc/devel/patchutils/distinfo:1.12 pkgsrc/devel/patchutils/distinfo:1.13
--- pkgsrc/devel/patchutils/distinfo:1.12       Sun Oct  5 15:22:53 2025
+++ pkgsrc/devel/patchutils/distinfo    Thu Feb 26 18:36:41 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2025/10/05 15:22:53 adam Exp $
+$NetBSD: distinfo,v 1.13 2026/02/26 18:36:41 adam Exp $
 
-BLAKE2s (patchutils-0.4.4.tar.xz) = 9e704d7e4a40b298b36338bfba21338c72396991e6003c04cdbd3da3089d75db
-SHA512 (patchutils-0.4.4.tar.xz) = 26f3ee959d7f8d7d5718ecf361436709559c62d6235114faac9a84442e9df4fb271f85eea5d96dae3969e96d88fdd9c1a9b5246696ef548fad71a8f29a026a84
-Size (patchutils-0.4.4.tar.xz) = 424248 bytes
+BLAKE2s (patchutils-0.4.5.tar.xz) = 1d32e0a8fc52c1b507d7f47403a0e193d077a066b086ea212554b3821347911b
+SHA512 (patchutils-0.4.5.tar.xz) = 403f2c06523f4ca5983ec669b97a5d0d3ce33d0f7cfb1d7b312357840ecd5c865ef76b11b394a5396fad859ad4693740ebe91790b9a1da9c20144c4f269c4560
+Size (patchutils-0.4.5.tar.xz) = 427628 bytes



Home | Main Index | Thread Index | Old Index