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 Add patch from Brook Mill...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ac6de5b5ae5
branches:  trunk
changeset: 537569:0ac6de5b5ae5
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Jan 11 13:29:37 2008 +0000

description:
Add patch from Brook Milligan to avoid treating warnings about
non-deletable packages as dependencies.  Bump version to 0.14.

Example problematic output (perhaps should also be fixed in
pkg_install):

     Information for pkg_install-20070810:

     *** PACKAGE MAY NOT BE DELETED ***
     Built using:
     checkperms-1.7

     *** PACKAGE MAY NOT BE DELETED ***

diffstat:

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

diffs (31 lines):

diff -r be2a69d8090d -r 0ac6de5b5ae5 pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile     Fri Jan 11 13:16:03 2008 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile     Fri Jan 11 13:29:37 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2007/12/02 02:11:05 tnn Exp $
+# $NetBSD: Makefile,v 1.16 2008/01/11 13:29:37 gdt Exp $
 
-DISTNAME=      pkg_rolling-replace-0.12
+DISTNAME=      pkg_rolling-replace-0.13
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r be2a69d8090d -r 0ac6de5b5ae5 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Jan 11 13:16:03 2008 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Jan 11 13:29:37 2008 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: pkg_rolling-replace.sh,v 1.15 2007/12/02 02:11:05 tnn Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.16 2008/01/11 13:29:37 gdt Exp $
 #<license>
 # Copyright (c) 2006 BBN Technologies Corp.  All rights reserved.
 #
@@ -158,6 +158,7 @@
                        print pkg" "pkg;                                \
                        state=1;                                        \
                }                                                       \
+               /^\** PACKAGE MAY NOT BE DELETED \**$/ { state=3; }     \
                /^./ {                                                  \
                        if (state == 2) {                               \
                                dep=$1; sub("-[0-9][^-]*$", "", dep);   \



Home | Main Index | Thread Index | Old Index