pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk Bump version to 1.93:
details: https://anonhg.NetBSD.org/pkgsrc/rev/c0816ec535bc
branches: trunk
changeset: 542579:c0816ec535bc
user: dillo <dillo%pkgsrc.org@localhost>
date: Wed May 21 20:52:31 2008 +0000
description:
Bump version to 1.93:
- Explicitly clear automatic flag for packages user wants installed
that got pulled in previously.
- Only ignore pkg_summary.gz in local repository if newer files
with name matching *.t[bg]z exist. (Otherwise, pkg_summary.gz
created by pbulk would be ignored because pkg_summary.bz2 is
newer.)
Okayed by abs@.
diffstat:
pkgtools/pkg_chk/Makefile | 4 ++--
pkgtools/pkg_chk/files/pkg_chk.sh | 10 ++++++----
2 files changed, 8 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r ef0572c0b7ce -r c0816ec535bc pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Wed May 21 20:39:52 2008 +0000
+++ b/pkgtools/pkg_chk/Makefile Wed May 21 20:52:31 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2008/05/03 12:57:47 apb Exp $
+# $NetBSD: Makefile,v 1.63 2008/05/21 20:52:31 dillo Exp $
-DISTNAME= pkg_chk-1.92
+DISTNAME= pkg_chk-1.93
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r ef0572c0b7ce -r c0816ec535bc pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Wed May 21 20:39:52 2008 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Wed May 21 20:52:31 2008 +0000
@@ -1,10 +1,11 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.57 2008/05/02 19:10:26 apb Exp $
+# $Id: pkg_chk.sh,v 1.58 2008/05/21 20:52:31 dillo Exp $
#
# TODO: Make -g check dependencies and tsort
-# TODO: Variation of -g which only lists top level packages
-# TODO: List top level packages installed but not in config
+# TODO: Make -g list user-installed packages first, followed by commented
+# out automatically installed packages
+# TODO: List user-installed packages that are not in config
PATH=${PATH}:/usr/sbin:/usr/bin
@@ -254,7 +255,7 @@
{
summary_file=$PACKAGES/$SUMMARY_FILE
if [ -f $summary_file ] ; then
- if [ -z "$(find $PACKAGES -type f -newer $summary_file)" ] ; then
+ if [ -z "$(find $PACKAGES -type f -newer $summary_file -name '*.t[bg]z')" ] ; then
zcat $summary_file
return;
fi
@@ -543,6 +544,7 @@
FAIL=
if [ -d $PKG_DBDIR/$PKGNAME ];then
msg "$PKGNAME installed in previous stage"
+ run_cmd_su "${PKG_ADMIN} unset automatic $PKGNAME"
elif [ -n "$opt_b" ] && is_binary_available $PKGNAME; then
if [ -n "$saved_PKG_PATH" ] ; then
export PKG_PATH=$saved_PKG_PATH
Home |
Main Index |
Thread Index |
Old Index