summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs>2001-08-10 11:05:55 +0000
committerabs <abs>2001-08-10 11:05:55 +0000
commitb40b978caac604834145ba83b9ec0d22488a002c (patch)
tree566bb80a86a39b18651152372f8525bce6404591 /pkgtools
parent62884acd76410d7c4b19fe2cc3f5df6f2a273462 (diff)
downloadpkgsrc-b40b978caac604834145ba83b9ec0d22488a002c.tar.gz
Update pkgchk to 1.09
-u should imply -i
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh10
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile
index 88c5c1cd297..a456c42d27c 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2001/08/08 13:41:43 abs Exp $
+# $NetBSD: Makefile,v 1.10 2001/08/10 11:05:55 abs Exp $
-DISTNAME= pkgchk-1.08
+DISTNAME= pkgchk-1.09
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index 7f31ee609ef..5f23238c86b 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
#
-# $Id: pkgchk.sh,v 1.10 2001/08/10 10:54:21 drochner Exp $
+# $Id: pkgchk.sh,v 1.11 2001/08/10 11:05:55 abs Exp $
#
# TODO: Handle and as well as or tags (eg: i386+x11)
# TODO: Handle updates with dependencies via binary packages
@@ -123,7 +123,7 @@ while [ $# != 0 ]; do
-i ) opt_i=1 ;;
-n ) opt_n=1 ;;
-s ) opt_s=1 ;;
- -u ) opt_u=1 ;;
+ -u ) opt_u=1 ; opt_i=1 ;;
-v ) opt_v=1 ;;
-- ) break ;;
esac
@@ -135,7 +135,7 @@ if [ -z "$opt_b" -a -z "$opt_s" ];then
fi
if [ -z "$opt_a" -a -z "$opt_c" -a -z "$opt_i" ];then
- echo "Must specify at least one of -a, -c, or -i";
+ echo "Must specify at least one of -a, -c, -i, or -u";
echo
opt_h=1;
fi
@@ -149,10 +149,10 @@ if [ -n "$opt_h" -o $# != 1 ];then
-b Limit installations to binary packages
-c Check installed packages against pkgchk.conf
-h This help
- -i Check versions of installed packages (ignore pkgchk.conf)
+ -i Check versions of installed packages (not using pkgchk.conf)
-n Display actions that would be taken, but do not perform them
-s Limit installations to building from source
- -u Update all mismatched packages
+ -u Update all mismatched packages (implies -i)
-v Verbose
pkgchk verifies installed packages against pkgsrc.