NetBSD Problem Report #49428
From www@NetBSD.org Fri Nov 28 23:36:20 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 404D9A57FD
for <gnats-bugs@gnats.NetBSD.org>; Fri, 28 Nov 2014 23:36:20 +0000 (UTC)
Message-Id: <20141128233619.39C35A582D@mollari.NetBSD.org>
Date: Fri, 28 Nov 2014 23:36:19 +0000 (UTC)
From: Tr@visPaul.me
Reply-To: Tr@visPaul.me
To: gnats-bugs@NetBSD.org
Subject: postinstall manpage is missing -x (xsrcdir) option
X-Send-Pr-Version: www-1.0
>Number: 49428
>Category: misc
>Synopsis: postinstall manpage is missing -x (xsrcdir) option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 28 23:40:00 +0000 2014
>Closed-Date: Sun Jan 18 18:40:10 +0000 2015
>Last-Modified: Sun Jan 25 08:20:01 +0000 2015
>Originator: Travis Paul
>Release: current
>Organization:
>Environment:
NetBSD ryoko.glob.io 7.99.2 NetBSD 7.99.2 (GENERIC) #0: Fri Nov 28 15:58:21 EST 2014 tpaul@ryoko.glob.io:/home/tpaul/src/netbsd/build/obj/amd6
4/sys/arch/amd64/compile/GENERIC amd64
>Description:
The postinstall script has an xsrcdir option (-x) that is in the script's usage but not mentioned in the postinstall man page.
>How-To-Repeat:
Compare the output of "/usr/sbin/postinstall -h" with "man postinstall"
>Fix:
See inline patch below. Is there a preferred format for patches?
--- postinstall.8 2014-11-28 17:58:51.000000000 -0500
+++ postinstall.8.new 2014-11-28 17:48:40.000000000 -0500
@@ -38,6 +38,7 @@
.Op Fl a Ar arch
.Op Fl d Ar destdir
.Op Fl m Ar machine
+.Op Fl x Ar xsrcdir
.Op Fl s Brq Ar srcdir | Ar tgzdir | Ar tgzfile
.Ar operation
.Op Ar item Op ...
@@ -72,6 +73,9 @@
.It Fl m Ar machine
MACHINE.
Defaults to machine of the host operating system.
+.It Fl x Ar xsrcdir
+Location of the X11 source files.
+This must be a directory that contains a NetBSD xsrc tree.
.It Fl s Brq Ar srcdir | Ar tgzdir | Ar tgzfile
The location of the reference files, or the
.Nx
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49428 CVS commit: src/usr.sbin/postinstall
Date: Sun, 21 Dec 2014 15:14:33 -0500
Module Name: src
Committed By: christos
Date: Sun Dec 21 20:14:33 UTC 2014
Modified Files:
src/usr.sbin/postinstall: postinstall.8
Log Message:
PR/49428: Travis Paul: Document x option.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/postinstall/postinstall.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 18 Jan 2015 18:40:10 +0000
State-Changed-Why:
Patch committed.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49428 CVS commit: [netbsd-7] src/usr.sbin/postinstall
Date: Sun, 25 Jan 2015 08:16:20 +0000
Module Name: src
Committed By: martin
Date: Sun Jan 25 08:16:20 UTC 2015
Modified Files:
src/usr.sbin/postinstall [netbsd-7]: postinstall.8
Log Message:
Pull up following revision(s) (requested by snj in ticket #449):
usr.sbin/postinstall/postinstall.8: revision 1.17, 1.18
PR/49428: Travis Paul: Document x option.
Use Nx.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.10.1 src/usr.sbin/postinstall/postinstall.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.