NetBSD Problem Report #45721

From ryo_on@yk.rim.or.jp  Sun Dec 18 16:04:30 2011
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 8E60963B886
	for <gnats-bugs@gnats.netbsd.org>; Sun, 18 Dec 2011 16:04:30 +0000 (UTC)
Message-Id: <20111218160430.8E60963B886@www.NetBSD.org>
Date: Sun, 18 Dec 2011 16:04:30 +0000 (UTC)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: man pages in pkgtools/pkgsrc-todo has wrong path
X-Send-Pr-Version: 3.95

>Number:         45721
>Category:       pkg
>Synopsis:       man pages in pkgtools/pkgsrc-todo has wrong path
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 18 16:05:00 +0000 2011
>Closed-Date:    Sun Dec 18 17:11:58 +0000 2011
>Last-Modified:  Sun Dec 18 17:11:58 +0000 2011
>Originator:     Ryo ONODERA
>Release:        NetBSD 5.99.58
>Organization:

>Environment:


System: NetBSD hydrogen.elements.tetera.org 5.99.58 NetBSD 5.99.58 (LEAFGIRLA) #2: Wed Dec 14 06:10:53 JST 2011 root@hydrogen.elements.tetera.org:/usr/obj/sys/arch/i386/compile/LEAFGIRLA i386
Architecture: i386
Machine: i386
>Description:
In man pages of pkgtools/pkgsrc-todo, man/man1/add_todo.1 and
man/man1/obsolete_todo.1, path to pkgsrc/doc/TODO is wrong.
For example,

NAME
     add_todo -- add entries to /usr/pkgsrcdoc/TODO
(snip).


In this case, PKGREVISION should be bumped or version number in
DISTNAME should be incremented?
>How-To-Repeat:
$ cd /usr/pkgsrc/pkgtools/pkgsrc-todo
$ make install
$ man add_todo

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkgsrc-todo/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	30 Aug 2009 10:40:34 -0000	1.1.1.1
+++ Makefile	18 Dec 2011 15:58:19 -0000
@@ -30,7 +30,7 @@
 SUBST_FILES.todo+=	obsolete_todo.pl
 SUBST_FILES.todo+=	obsolete_todo.1
 SUBST_SED.todo+=	-e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
-SUBST_SED.todo+=	-e s\|pkgsrc/\|${PKGSRCDIR}\|g
+SUBST_SED.todo+=	-e s\|pkgsrc/\|${PKGSRCDIR}/\|g
 SUBST_SED.todo+=	-e s\|@PERL@\|${PERL5:Q}\|g

 do-extract:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 18 Dec 2011 16:24:33 +0000
Responsible-Changed-Why:
Pleae fix and increase version number.
If we're the upstream, there's no point in using PKGREVISION.


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45721 CVS commit: pkgsrc/pkgtools/pkgsrc-todo
Date: Sun, 18 Dec 2011 17:09:07 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun Dec 18 17:09:07 UTC 2011

 Modified Files:
 	pkgsrc/pkgtools/pkgsrc-todo: Makefile

 Log Message:
 Update to 1.1

 Fix PR pkg/45721

 * Fix paths in substituted man pages.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkgsrc-todo/Makefile

 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: ryoon@NetBSD.org
State-Changed-When: Sun, 18 Dec 2011 17:11:58 +0000
State-Changed-Why:
The patch applied and update to 1.1.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.