Subject: misc/18014: packages(7) misses 'replace' target
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 08/21/2002 17:32:51
>Number:         18014
>Category:       misc
>Synopsis:       packages(7) misses 'replace' target
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 21 08:42:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6F
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.6F NetBSD 1.6F (DARKSTAR) #7: Mon Aug 19 13:46:31 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The manpage packages(7) misses documentation for the replace target.
	The following patch adds it.
>How-To-Repeat:
	man 7 packages, look at section PACKAGE TARGETS.
>Fix:

Index: packages.7
===================================================================
RCS file: /pub/NetBSD-CVS/sharesrc/share/man/man7/packages.7,v
retrieving revision 1.70
diff -u -r1.70 packages.7
--- packages.7	2002/07/23 14:41:41	1.70
+++ packages.7	2002/08/21 15:28:46
@@ -750,6 +750,12 @@
 .It update
 Update the installation of the current and all dependent packages that
 are installed on the system.
+.It replace
+Update the installation of the current package that is installed on
+the system. This differs from update in that it does not replace
+dependent packages. You will need to install
+.Pa pkgsrc/pkgtools/pkg_tarup
+for this target to work.
 .It package
 Create a binary package other people can use.
 .It clean

>Release-Note:
>Audit-Trail:
>Unformatted: