summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/add/pkg_add.112
-rw-r--r--pkgtools/pkg_install/files/add/pkg_add.cat19
-rw-r--r--pkgtools/pkg_install/files/lib/version.h4
3 files changed, 18 insertions, 7 deletions
diff --git a/pkgtools/pkg_install/files/add/pkg_add.1 b/pkgtools/pkg_install/files/add/pkg_add.1
index bfd27d3f045..efc11284f79 100644
--- a/pkgtools/pkg_install/files/add/pkg_add.1
+++ b/pkgtools/pkg_install/files/add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_add.1,v 1.9 2004/08/06 16:57:03 jlam Exp $
+.\" $NetBSD: pkg_add.1,v 1.10 2004/12/10 21:14:40 erh Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -239,7 +239,9 @@ file installation; often this is
.Pa /usr .
.It Fl u
If the package that's being installed is already installed, either
-in the same or a different version, an update is performed.
+in the same or a different version, an update is performed. If this
+is specified twice, then any dependant packages that are too old will
+also be updated to fulfill the dependecy.
See below for a more detailed description of the process.
.It Fl V
Print version number and exit.
@@ -344,7 +346,11 @@ are read from the packing list.
If any of these required packages are not currently installed,
an attempt is made to find and install it;
if the missing package cannot be found or installed,
-the installation is terminated.
+the installation is terminated. If the
+.Fl u
+option was specified twice, required packages that are installed,
+but with too old of a version, are also updated. The dependant
+packages are found according to the normal PKG_PATH rules.
.It
A search is made for any
.Cm @option
diff --git a/pkgtools/pkg_install/files/add/pkg_add.cat1 b/pkgtools/pkg_install/files/add/pkg_add.cat1
index 5499232ffbd..f5a1e06c1de 100644
--- a/pkgtools/pkg_install/files/add/pkg_add.cat1
+++ b/pkgtools/pkg_install/files/add/pkg_add.cat1
@@ -131,8 +131,9 @@ OOPPTTIIOONNSS
--uu If the package that's being installed is already installed,
either in the same or a different version, an update is per-
- formed. See below for a more detailed description of the
- process.
+ formed. If this is specified twice, then any dependant packages
+ that are too old will also be updated to fulfill the dependecy.
+ See below for a more detailed description of the process.
--VV Print version number and exit.
@@ -190,6 +191,10 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS
these required packages are not currently installed, an
attempt is made to find and install it; if the missing package
cannot be found or installed, the installation is terminated.
+ If the --uu option was specified twice, required packages that
+ are installed, but with too old of a version, are also
+ updated. The dependant packages are found according to the
+ normal PKG_PATH rules.
4. A search is made for any @@ooppttiioonn directives which control how
the package is added to the system. The only currently imple-
diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h
index 793044aad37..3b2128b55aa 100644
--- a/pkgtools/pkg_install/files/lib/version.h
+++ b/pkgtools/pkg_install/files/lib/version.h
@@ -1,4 +1,4 @@
-/* $NetBSD: version.h,v 1.36 2004/11/10 16:50:39 wiz Exp $ */
+/* $NetBSD: version.h,v 1.37 2004/12/10 21:14:40 erh Exp $ */
/*
* Copyright (c) 2001 Thomas Klausner. All rights reserved.
@@ -33,6 +33,6 @@
#ifndef _INST_LIB_VERSION_H_
#define _INST_LIB_VERSION_H_
-#define PKGTOOLS_VERSION "20041110"
+#define PKGTOOLS_VERSION "20041209"
#endif /* _INST_LIB_VERSION_H_ */