pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_rolling-replace
Module Name: pkgsrc
Committed By: tnn
Date: Fri Jan 15 10:56:52 UTC 2021
Modified Files:
pkgsrc/pkgtools/pkg_rolling-replace: Makefile
pkgsrc/pkgtools/pkg_rolling-replace/files: pkg_rolling-replace.sh
Log Message:
pkg_rr: substitute pkg_admin with PKG_ADMIN_CMD. Bump to 0.24.10.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/pkgtools/pkg_rolling-replace/Makefile
cvs rdiff -u -r1.41 -r1.42 \
pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.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_rolling-replace/Makefile
diff -u pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.46 pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.47
--- pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.46 Sat Jan 9 19:12:46 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/Makefile Fri Jan 15 10:56:52 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2021/01/09 19:12:46 rhialto Exp $
+# $NetBSD: Makefile,v 1.47 2021/01/15 10:56:52 tnn Exp $
-PKGNAME= pkg_rolling-replace-0.24.9
+PKGNAME= pkg_rolling-replace-0.24.10
CATEGORIES= pkgtools
MAINTAINER= gdt%NetBSD.org@localhost
@@ -24,7 +24,7 @@ SUBST_CLASSES+= tools
SUBST_STAGE.tools= pre-configure
SUBST_MESSAGE.tools= Substituting tool locations.
SUBST_FILES.tools= pkg_rolling-replace.sh
-SUBST_VARS.tools= PREFIX PKG_INFO_CMD MAKE PKG_CHK AWK MKDIR SETENV
+SUBST_VARS.tools= PREFIX PKG_ADMIN_CMD PKG_INFO_CMD MAKE PKG_CHK AWK MKDIR SETENV
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
Index: pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh
diff -u pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.41 pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.42
--- pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh:1.41 Sat Jan 9 19:12:46 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh Fri Jan 15 10:56:52 2021
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: pkg_rolling-replace.sh,v 1.41 2021/01/09 19:12:46 rhialto Exp $
+# $NetBSD: pkg_rolling-replace.sh,v 1.42 2021/01/15 10:56:52 tnn Exp $
#<license>
# Copyright (c) 2006 BBN Technologies Corp. All rights reserved.
#
@@ -92,6 +92,7 @@ if [ -z "$PKGSRCDIR" ] ; then
fi
test -z "$PKGSRCDIR" && echo >&2 "Please set PKGSRCDIR" && exit 1
test -z "$PKG_CHK" && PKG_CHK="@PKG_CHK@"
+test -z "$PKG_ADMIN" && PKG_ADMIN="@PKG_ADMIN_CMD@"
test -z "$PKG_INFO" && PKG_INFO="@PKG_INFO_CMD@"
export PKGSRCDIR
@@ -159,7 +160,7 @@ check_packages_mismatched()
for word in $line; do
if [ "$(echo $word | egrep '^[^/]+-[0-9][^-/]*$')" ]; then
if [ -z "$opt_F" ]; then
- pkg_admin set mismatch=YES "$word" 1>&2
+ ${PKG_ADMIN} set mismatch=YES "$word" 1>&2
fi
echo $word | sed 's/-[0-9][^-]*$//'
break #done with this line
Home |
Main Index |
Thread Index |
Old Index