pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_rolling-replace pkgtools/pkg_rollingrepla...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/337960a207ba
branches:  trunk
changeset: 398751:337960a207ba
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Jul 29 14:48:17 2019 +0000

description:
pkgtools/pkg_rollingreplace: Update to 0.24.7

When running pkg_chk, ignore packages marked "missing", which tend to
be the wrong python version.

This is a temporary kludge, but should allow pkg_rr to run on systems
that have changed python versions.

diffstat:

 pkgtools/pkg_rolling-replace/Makefile                     |  4 ++--
 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r b374e57a7c7b -r 337960a207ba pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile     Mon Jul 29 13:00:32 2019 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile     Mon Jul 29 14:48:17 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2019/04/26 18:14:15 gdt Exp $
+# $NetBSD: Makefile,v 1.44 2019/07/29 14:48:17 gdt Exp $
 
-PKGNAME=       pkg_rolling-replace-0.24.6
+PKGNAME=       pkg_rolling-replace-0.24.7
 CATEGORIES=    pkgtools
 
 MAINTAINER=    gdt%NetBSD.org@localhost
diff -r b374e57a7c7b -r 337960a207ba pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Mon Jul 29 13:00:32 2019 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Mon Jul 29 14:48:17 2019 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: pkg_rolling-replace.sh,v 1.38 2019/04/26 18:14:15 gdt Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.39 2019/07/29 14:48:17 gdt Exp $
 #<license>
 # Copyright (c) 2006 BBN Technologies Corp.  All rights reserved.
 #
@@ -151,7 +151,7 @@
 # supported.  Newer versions may or may not work (patches welcome).
 check_packages_mismatched()
 {
-    ${PKG_CHK} -u -q $opt_B | while read line; do
+    ${PKG_CHK} -u -q $opt_B | egrep -v missing | while read line; do
         # duplicate output of pkg_chk to stderr (bypass $(...) or `...`)
         echo "${OPC} $line" 1>&2
        # Look for the first thing that looks like pkg-version rather



Home | Main Index | Thread Index | Old Index