summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2004-12-10 21:14:40 +0000
committererh <erh@pkgsrc.org>2004-12-10 21:14:40 +0000
commit3c1d11809a2833121f177be31a1c6834fb0c282e (patch)
treed4cd7b7e81d24118d98b76b0f550fa3361c180fc /pkgtools/pkg_install
parentd6833f881e690c4827830967df6b1d623b9a8ad9 (diff)
downloadpkgsrc-3c1d11809a2833121f177be31a1c6834fb0c282e.tar.gz
Document the double "-u" option for updating dependant packages.
Bump the version to 20041210.
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_ */