NetBSD Problem Report #47363

From ryo_on@yk.rim.or.jp  Tue Dec 25 10:48:40 2012
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 1E9CA63D82E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Dec 2012 10:48:40 +0000 (UTC)
Message-Id: <20121225104836.AF667200D7DED@mail.SiriusCloud.jp>
Date: Tue, 25 Dec 2012 19:48:36 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Please update devel/cvsps to 3.2
X-Send-Pr-Version: 3.95

>Number:         47363
>Category:       pkg
>Synopsis:       Please update devel/cvsps to 3.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 25 10:50:00 +0000 2012
>Closed-Date:    Wed Jan 30 11:38:45 +0000 2013
>Last-Modified:  Wed Jan 30 11:38:45 +0000 2013
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.16
>Organization:

>Environment:


System: NetBSD tellurium.elements.tetera.org 6.99.16 NetBSD 6.99.16 (NODKWEDGE) #93: Sun Dec 23 16:26:53 JST 2012 root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE amd64
Architecture: x86_64
Machine: amd64
>Description:
Please update devel/cvsps to forked version 3.2.
It seems that this version includes almost all patches of pkgsrc.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cvsps/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	31 Oct 2012 11:16:50 -0000	1.25
+++ Makefile	25 Dec 2012 10:43:52 -0000
@@ -1,13 +1,12 @@
 # $NetBSD: Makefile,v 1.25 2012/10/31 11:16:50 asau Exp $
 #

-DISTNAME=	cvsps-2.1
-PKGREVISION=	3
+DISTNAME=	cvsps-3.2
 CATEGORIES=	devel scm
 MASTER_SITES=	${HOMEPAGE}

 MAINTAINER=	schmonz@NetBSD.org
-HOMEPAGE=	http://www.cobite.com/cvsps/
+HOMEPAGE=	http://www.catb.org/~esr/cvsps/
 COMMENT=	Generates 'patchset' information from a CVS repository
 LICENSE=	gnu-gpl-v2

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cvsps/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo	29 Jun 2012 14:59:24 -0000	1.12
+++ distinfo	25 Dec 2012 10:43:52 -0000
@@ -1,12 +1,6 @@
 $NetBSD: distinfo,v 1.12 2012/06/29 14:59:24 christos Exp $

-SHA1 (cvsps-2.1.tar.gz) = a53a62b121e7b86e07a393bcb8aa4f0492a747c4
-RMD160 (cvsps-2.1.tar.gz) = a3063f638fbf1136761549658432d5842e4a766f
-Size (cvsps-2.1.tar.gz) = 61634 bytes
-SHA1 (patch-aa) = fae6fe786c59ba7ea5ef5c8d14838558fd1a014f
-SHA1 (patch-ab) = c9357a01388a9631ba960661183981bb31cbf53b
-SHA1 (patch-ac) = 07f6d1955c0fde42784f8891b1136f12fa5dbfa4
-SHA1 (patch-ad) = 20d84dc236a5c259677fdf68268de5bb64e6d26f
-SHA1 (patch-ae) = 345036b4021f90a2f6629a5d32e85caa786d961f
-SHA1 (patch-af) = d32eb67ede1d81ee3abe55a7f94515fcf3ea93cf
-SHA1 (patch-ag) = 38ea212acde5e07aee33413c79f893e311ebb85e
+SHA1 (cvsps-3.2.tar.gz) = fd4a3d3a0dc630381456d4fcc06fe72c6ca60689
+RMD160 (cvsps-3.2.tar.gz) = af75060a260e74919802b651c76ccb33fa07e240
+Size (cvsps-3.2.tar.gz) = 60627 bytes
+SHA1 (patch-aa) = 5e8880dc0bc7f6b7f80262746fd2a971c954cc3d
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cvsps/patches/patch-aa,v
retrieving revision 1.7
diff -u -r1.7 patch-aa
--- patches/patch-aa	9 Mar 2012 12:49:25 -0000	1.7
+++ patches/patch-aa	25 Dec 2012 10:43:52 -0000
@@ -1,30 +1,36 @@
 $NetBSD: patch-aa,v 1.7 2012/03/09 12:49:25 fhajny Exp $

---- Makefile.orig	2005-05-26 03:39:40.000000000 +0000
+* Pass pkgsrc environment variables
+
+--- Makefile.orig	2012-12-24 20:12:10.000000000 +0000
 +++ Makefile
-@@ -3,7 +3,7 @@ MINOR=1
+@@ -3,7 +3,7 @@ VERSION=3.2
  CC?=gcc
  CFLAGS?=-g -O2 -Wall 
- CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
+ CPPFLAGS+=-I. -DVERSION=\"$(VERSION)\"
 -prefix?=/usr/local
 +prefix?=${PREFIX}
  OBJS=\
  	cbtcommon/debug.o\
  	cbtcommon/hash.o\
-@@ -21,13 +21,13 @@ OBJS=\
- all: cvsps
+@@ -22,7 +22,7 @@ deps:
+ 	makedepend -Y -I. *.c cbtcommon/*.c

  cvsps: $(OBJS)
 -	$(CC) -o cvsps $(OBJS) -lz
-+	$(CC) $(LDFLAGS) -o cvsps $(OBJS) -lz $(LIBS)
++	$(CC) ${LDFLAGS} -o cvsps $(OBJS) -lz ${LIBS}

- install:
+ check:
+ 	@(cd test >/dev/null; make --quiet)
+@@ -38,9 +38,9 @@ cvsps.html: cvsps.asc
+ 
+ install: cvsps.1
  	[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
 -	[ -d $(prefix)/share/man/man1 ] || mkdir -p $(prefix)/share/man/man1
-+	[ -d $(prefix)/man/man1 ] || mkdir -p $(prefix)/man/man1
++	[ -d $(prefix)/${PKGMANDIR}/man1 ] || mkdir -p $(prefix)/${PKGMANDIR}/man1
  	install cvsps $(prefix)/bin
 -	install -m 644 cvsps.1 $(prefix)/share/man/man1
-+	install -m 644 cvsps.1 $(prefix)/$(PKGMANDIR)/man1
++	install -m 644 cvsps.1 $(prefix)/${PKGMANDIR}/man1

- clean:
- 	rm -f cvsps *.o cbtcommon/*.o core
+ tags: *.c *.h cbtcommon/*.c cbtcommon/*.h
+ 	ctags *.c *.h cbtcommon/*.c cbtcommon/*.h

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->schmonz
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 25 Dec 2012 11:31:05 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Aleksej Saushev <asau@inbox.ru>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: Re: pkg/47363
Date: Sun, 27 Jan 2013 13:19:38 +0400

   Hello!

 THIS IS NOT AN UPDATE!

 The package functionality changes in a way that it effectively becomes useless
 for its original purposes.

 Quoting new README:

 The 3.x versions have changed significantly. [...]
 [T]he original use case for this tool - browsing change sets in a live
 CVS repository - is obsolete. [...] Accordingly, a large amount of old
 code and options have been discarded


 In my opinion, this means that it ought to be another package rather.

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, asau@inbox.ru
Cc: 
Subject: Re: pkg/47363
Date: Sun, 27 Jan 2013 20:55:34 +0900 (JST)

 Hi,

 From: Aleksej Saushev <asau@inbox.ru>, Date: Sun, 27 Jan 2013 10:35:05 +0000 (UTC)

 > The following reply was made to PR pkg/47363; it has been noted by GNATS.
 > 
 > From: Aleksej Saushev <asau@inbox.ru>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc: 
 > Subject: Re: pkg/47363
 > Date: Sun, 27 Jan 2013 13:19:38 +0400
 > 
 >    Hello!
 >  
 >  THIS IS NOT AN UPDATE!
 >  
 >  The package functionality changes in a way that it effectively becomes useless
 >  for its original purposes.
 >  
 >  Quoting new README:
 >  
 >  The 3.x versions have changed significantly. [...]
 >  [T]he original use case for this tool - browsing change sets in a live
 >  CVS repository - is obsolete. [...] Accordingly, a large amount of old
 >  code and options have been discarded
 >  
 >  
 >  In my opinion, this means that it ought to be another package rather.

 Thanks for your comment.

 I will add cvsps-3.2 as devel/cvsps3.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47363 CVS commit: pkgsrc/devel/cvsps3
Date: Wed, 30 Jan 2013 11:34:59 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Wed Jan 30 11:34:58 UTC 2013

 Added Files:
 	pkgsrc/devel/cvsps3: DESCR Makefile PLIST distinfo
 	pkgsrc/devel/cvsps3/patches: patch-aa

 Log Message:
 Fix PR pkg/47363.

 Import 3.2 version of cvsps as devel/cvsps3.

 From README,
 The 3.x versions have changed significantly.  In 2012, CVS use is declining
 swiftly (GNU CVS hasn't been updated since 2004) and the original use case
 for this tool - browsing change sets in a live CVS repository - is obsolete.
 The 3.x versions are more focused on the --fast-export mode.


 To generate a diff of this commit:
 cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cvsps3/DESCR pkgsrc/devel/cvsps3/Makefile \
     pkgsrc/devel/cvsps3/PLIST pkgsrc/devel/cvsps3/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cvsps3/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: schmonz->ryoon
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Wed, 30 Jan 2013 11:36:29 +0000
Responsible-Changed-Why:
I take this.


State-Changed-From-To: open->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Wed, 30 Jan 2013 11:38:45 +0000
State-Changed-Why:
Imported.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.