pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49795: Update 'pv' to 1.6.0



>Number:         49795
>Category:       pkg
>Synopsis:       Update 'pv' to 1.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 27 23:05:00 +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@localhost
 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)



Home | Main Index | Thread Index | Old Index