pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_chk



Module Name:    pkgsrc
Committed By:   js
Date:           Sun Apr 20 22:33:34 UTC 2025

Modified Files:
        pkgsrc/pkgtools/pkg_chk: Makefile
        pkgsrc/pkgtools/pkg_chk/files: pkg_chk.sh

Log Message:
pkgtools/pkg_chk: Silence spam about using egrep

GNU grep when invoked as egrep outputs this:
  egrep: warning: egrep is obsolescent; using grep -E

pkg_chk (via egrep) printed many of those, making the output unreadable.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/pkgtools/pkg_chk/Makefile
cvs rdiff -u -r1.77 -r1.78 pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh

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

Modified files:

Index: pkgsrc/pkgtools/pkg_chk/Makefile
diff -u pkgsrc/pkgtools/pkg_chk/Makefile:1.91 pkgsrc/pkgtools/pkg_chk/Makefile:1.92
--- pkgsrc/pkgtools/pkg_chk/Makefile:1.91       Fri Nov 17 17:40:47 2023
+++ pkgsrc/pkgtools/pkg_chk/Makefile    Sun Apr 20 22:33:33 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.91 2023/11/17 17:40:47 abs Exp $
+# $NetBSD: Makefile,v 1.92 2025/04/20 22:33:33 js Exp $
 
-PKGNAME=       pkg_chk-2.0.12
+PKGNAME=       pkg_chk-2.0.13
 CATEGORIES=    pkgtools
 
 OWNER=         abs%NetBSD.org@localhost

Index: pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh
diff -u pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh:1.77 pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh:1.78
--- pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh:1.77       Fri Nov 17 17:40:48 2023
+++ pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh    Sun Apr 20 22:33:33 2025
@@ -1,6 +1,6 @@
 #!@SH@ -e
 #
-# $Id: pkg_chk.sh,v 1.77 2023/11/17 17:40:48 abs Exp $
+# $Id: pkg_chk.sh,v 1.78 2025/04/20 22:33:33 js Exp $
 #
 # TODO: Make -g check dependencies and tsort
 # TODO: Make -g list user-installed packages first, followed by commented
@@ -710,7 +710,7 @@ run_cmd()
        if [ -n "$FAIL" ] ; then
            msg "** '$1' failed"
            if [ -n "$opt_L" ] ; then
-               tail -100 "$opt_L" | egrep -v '^(\*\*\* Error code 1|Stop\.)' |\
+               tail -100 "$opt_L" | grep -E -v '^(\*\*\* Error code 1|Stop\.)' |\
                        tail -40
            fi
            if [ "$FAILOK" != 1 ]; then



Home | Main Index | Thread Index | Old Index