pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files Document the double "-u" op...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b13cb471c14
branches: trunk
changeset: 485425:3b13cb471c14
user: erh <erh%pkgsrc.org@localhost>
date: Fri Dec 10 21:14:40 2004 +0000
description:
Document the double "-u" option for updating dependant packages.
Bump the version to 20041210.
diffstat:
pkgtools/pkg_install/files/add/pkg_add.1 | 12 +++++++++---
pkgtools/pkg_install/files/add/pkg_add.cat1 | 9 +++++++--
pkgtools/pkg_install/files/lib/version.h | 4 ++--
3 files changed, 18 insertions(+), 7 deletions(-)
diffs (76 lines):
diff -r 3cbb7d8fddb9 -r 3b13cb471c14 pkgtools/pkg_install/files/add/pkg_add.1
--- a/pkgtools/pkg_install/files/add/pkg_add.1 Fri Dec 10 20:32:08 2004 +0000
+++ b/pkgtools/pkg_install/files/add/pkg_add.1 Fri Dec 10 21:14:40 2004 +0000
@@ -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 @@
.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 @@
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 -r 3cbb7d8fddb9 -r 3b13cb471c14 pkgtools/pkg_install/files/add/pkg_add.cat1
--- a/pkgtools/pkg_install/files/add/pkg_add.cat1 Fri Dec 10 20:32:08 2004 +0000
+++ b/pkgtools/pkg_install/files/add/pkg_add.cat1 Fri Dec 10 21:14:40 2004 +0000
@@ -131,8 +131,9 @@
--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 @@
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 -r 3cbb7d8fddb9 -r 3b13cb471c14 pkgtools/pkg_install/files/lib/version.h
--- a/pkgtools/pkg_install/files/lib/version.h Fri Dec 10 20:32:08 2004 +0000
+++ b/pkgtools/pkg_install/files/lib/version.h Fri Dec 10 21:14:40 2004 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index