NetBSD Problem Report #49795

From www@NetBSD.org  Fri Mar 27 23:04:38 2015
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" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8632FA65B9
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 27 Mar 2015 23:04:38 +0000 (UTC)
Message-Id: <20150327230436.AD8E8A65BA@mollari.NetBSD.org>
Date: Fri, 27 Mar 2015 23:04:36 +0000 (UTC)
From: jonthn+pkgsrc@pinacea.com
Reply-To: jonthn+pkgsrc@pinacea.com
To: gnats-bugs@NetBSD.org
Subject: Update 'pv' to 1.6.0
X-Send-Pr-Version: www-1.0

>Number:         49795
>Category:       pkg
>Synopsis:       Update 'pv' to 1.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 27 23:05:00 +0000 2015
>Closed-Date:    Wed May 13 06:09:56 +0000 2015
>Last-Modified:  Wed May 13 06:09:56 +0000 2015
>Originator:     Jonathan Buschmann
>Release:        
>Organization:
>Environment:
>Description:
Below you'll find a patch that update 'pipe viewer' "pv" to 1.6.0
As there is quite a changelog here I tried to summarize the 'big points'
Also not included in this patch is a change to remove the line doc/TODO

1.6.0 - 15 March 2015

        fix lstat64 support when unavailable - separate patches supplied by Ganael Laplanche and Peter Korsgaard
        (#1506) new option "-D" / "--delay-start" to only show bar after N seconds (Damon Harper)
        new option "--fineta" / "-I" to show ETA as time of day rather than time remaining - patch supplied by Erkki Seppälä (r147)
        (#1509) change ETA (--eta / -e) so that days are given if the hours remaining are 24 or more (Jacek Wielemborek)
        (#1499) repeat read and write attempts on partial buffer fill/empty to work around post-signal transfer rate drop reported by Ralf Ramsauer
        (#1507) do not try to calculate total size in line mode, due to bug reported by Jacek Wielemborek and Michiel Van Herwegen
        cleanup: removed defunct RATS comments and unnecessary copyright notices
        clean up displayed lines when using --watchfd PID, when PID exits
        output errors on a new line to avoid overwriting transfer bar

Changes in older releases :

new option --watchfd
new option --null
new option --skip-errors
new option --format 
new option --remote (-R) to control an already-running process
new option --line-mode (-l) to count lines instead of bytes
Fixes for AIX, Cygwin, Solaris, MacOSX
Change license for Artistic 2.0

>How-To-Repeat:

>Fix:
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile
index 93b6423..0a472a3 100644
--- a/sysutils/pv/Makefile
+++ b/sysutils/pv/Makefile
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.24 2013/09/01 06:32:11 obache Exp $
 #

-DISTNAME=		pv-0.9.6
-PKGREVISION=		1
+DISTNAME=		pv-1.6.0
 CATEGORIES=		sysutils
 MASTER_SITES=		http://www.ivarch.com/programs/sources/
 MASTER_SITES+=		${MASTER_SITE_SOURCEFORGE:=pipeviewer/}
@@ -10,28 +9,18 @@ MASTER_SITES+=		${MASTER_SITE_SOURCEFORGE:=pipeviewer/}
 MAINTAINER=		pkgsrc-users@NetBSD.org
 HOMEPAGE=		http://www.ivarch.com/programs/pv.shtml
 COMMENT=		Monitor the progress of data through a pipeline
+LICENSE=		artistic-2.0

 GNU_CONFIGURE=		yes
 USE_TOOLS+=		gmake msgfmt
 USE_PKGLOCALEDIR=	yes
-INFO_FILES=		yes
-
-# Don't gzip the installed info file and man pages.
-CONFIGURE_ENV+=		DO_GZIP=${TOOLS_CMD.true}

 REPLACE_LOCALEDIR_PATTERNS+=	vars.mk

 DOCDIR=			${PREFIX}/share/doc/pv
 INSTALLATION_DIRS=	${DOCDIR}

-# Grab list of files to install from the PLIST.
 post-install:
-	dir=${DOCDIR:S/^${PREFIX}\///:Q}; cd ${WRKSRC}/doc;		\
-	${GREP} "^$$dir/" ${PKGDIR}/PLIST | ${SED} "s|^$$dir/||" |	\
-	while read file; do						\
-		${TEST} ! -f "$$file" ||					\
-			${INSTALL_DATA} "$$file" ${DESTDIR}${PREFIX}/$$dir; \
-	done
 	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}

 .include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/sysutils/pv/PLIST b/sysutils/pv/PLIST
index 8b97b93..51a473d 100644
--- a/sysutils/pv/PLIST
+++ b/sysutils/pv/PLIST
@@ -1,15 +1,7 @@
-@comment $NetBSD: PLIST,v 1.8 2009/06/14 18:16:12 joerg Exp $
+@comment $NetBSD$
 bin/pv
-info/pv.info
 man/man1/pv.1
-share/doc/pv/COPYING
-share/doc/pv/NEWS
 share/doc/pv/README
-share/doc/pv/TODO
-share/doc/pv/index.html
-share/doc/pv/lsm
-share/doc/pv/manual.html
-share/doc/pv/quickref.txt
 share/locale/de/LC_MESSAGES/pv.mo
 share/locale/fr/LC_MESSAGES/pv.mo
 share/locale/pl/LC_MESSAGES/pv.mo
diff --git a/sysutils/pv/distinfo b/sysutils/pv/distinfo
index c5674b6..add89a3 100644
--- a/sysutils/pv/distinfo
+++ b/sysutils/pv/distinfo
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.5 2006/04/11 02:28:09 jlam Exp $

-SHA1 (pv-0.9.6.tar.gz) = 295107b15c92404095f761b45b156ac51e345e6b
-RMD160 (pv-0.9.6.tar.gz) = ecce86be892d8ff594daf95b3d3d483debbe7bfe
-Size (pv-0.9.6.tar.gz) = 99961 bytes
-SHA1 (patch-ac) = b6b08a88a11bd8f35d05ea995dafe672d19f1932
+SHA1 (pv-1.6.0.tar.gz) = 395ce62f4f3e035b86c77038f04b96c5aa233595
+RMD160 (pv-1.6.0.tar.gz) = fecc8c9bc40311a37af8630376aa426089d23cb2
+Size (pv-1.6.0.tar.gz) = 123072 bytes
diff --git a/sysutils/pv/patches/patch-ac b/sysutils/pv/patches/patch-ac
deleted file mode 100644
index 1703c71..0000000
--- a/sysutils/pv/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2002/12/04 11:56:35 agc Exp $
-
---- doc/index.html.orig	Tue Dec  3 13:30:11 2002
-+++ doc/index.html
-@@ -7,7 +7,7 @@
- 
- <P>
- <UL>
--<LI><A HREF="../README">README</A>
-+<LI><A HREF="README">README</A>
- <LI><A HREF="INSTALL">Installation instructions</A>
- <LI><A HREF="manual.html">Manual</A>
- <LI><A HREF="quickref.txt">Man page</A> (text format)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 12 May 2015 15:43:19 +0000
Responsible-Changed-Why:
Assigning to myself.


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49795 CVS commit: pkgsrc/sysutils/pv
Date: Tue, 12 May 2015 15:45:21 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Tue May 12 15:45:21 UTC 2015

 Modified Files:
 	pkgsrc/sysutils/pv: Makefile PLIST distinfo
 Removed Files:
 	pkgsrc/sysutils/pv/patches: patch-ac

 Log Message:
 Update pv to 1.6.0. Patch from Jonathan Buschmann in PR pkg/49795.

 1.6.0 - 15 March 2015

 	fix lstat64 support when unavailable - separate patches supplied by
 Ganael Laplanche and Peter Korsgaard
 	(#1506) new option "-D" / "--delay-start" to only show bar after N
 seconds (Damon Harper)
 	new option "--fineta" / "-I" to show ETA as time of day rather than
 time remaining - patch supplied by Erkki Seppälä (r147)
 	(#1509) change ETA (--eta / -e) so that days are given if the hours
 remaining are 24 or more (Jacek Wielemborek)
 	(#1499) repeat read and write attempts on partial buffer fill/empty to
 work around post-signal transfer rate drop reported by Ralf Ramsauer
 	(#1507) do not try to calculate total size in line mode, due to bug
 reported by Jacek Wielemborek and Michiel Van Herwegen
 	cleanup: removed defunct RATS comments and unnecessary copyright
 notices
         clean up displayed lines when using --watchfd PID, when PID exits
         output errors on a new line to avoid overwriting transfer bar

 Changes in older releases :

 new option --watchfd
 new option --null
 new option --skip-errors
 new option --format
 new option --remote (-R) to control an already-running process
 new option --line-mode (-l) to count lines instead of bytes
 Fixes for AIX, Cygwin, Solaris, MacOSX
 Change license to Artistic 2.0


 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 pkgsrc/sysutils/pv/Makefile
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/pv/PLIST
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/pv/distinfo
 cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/sysutils/pv/patches/patch-ac

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

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49795 CVS commit: pkgsrc/doc
Date: Tue, 12 May 2015 15:46:52 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Tue May 12 15:46:52 UTC 2015

 Modified Files:
 	pkgsrc/doc: CHANGES-2015

 Log Message:
 note pv update, PR pkg/49795.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2214 -r1.2215 pkgsrc/doc/CHANGES-2015

 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: Wed, 13 May 2015 06:09:56 +0000
State-Changed-Why:
Patch committed, thanks!


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