Subject: pkg/34573: [update] sysutils/dd_rescue
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Wilke <miwi@FreeBSD.org>
List: pkgsrc-bugs
Date: 09/20/2006 19:20:00
>Number:         34573
>Category:       pkg
>Synopsis:       [update] sysutils/dd_rescue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 19:20:00 +0000 2006
>Originator:     Martin Wilke
>Release:        NetBSD 4.0_BETA i386
>Organization:
>Environment:


System: NetBSD 4.0_BETA (GENERIC) #0: Fri Sep 15 03:23:36 UTC 2006
	builds@b3.netbsd.org:/home/builds/ab/netbsd-4/i386/200609140000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/GENERIC



>Description:


- Update to 1.12

- Changelog
	In version 1.12, the ability to log bad blocks to a ASCII file has been added. 
	The option -y can be used to set the fsync frequency which can speed up the copy significantly.
	Since 1.10, it has support for non-seekable input and output (so you can write to pipes, e.g. stdout). 
	Since 1.04, dd_rescue uses a larger default soft block size (64k instead of 16k), has support for O_DIRECT, 
	for copying the permissions, and some minor issues fixed.


>How-To-Repeat:





>Fix:


--- dd_rescue.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/sysutils/dd_rescue/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	8 Mar 2006 08:42:04 -0000	1.1.1.1
+++ Makefile	20 Sep 2006 18:25:06 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1.1.1 2006/03/08 08:42:04 ghen Exp $
 
-DISTNAME=	dd_rescue-1.11
+DISTNAME=	dd_rescue-1.12
 CATEGORIES=	sysutils
 MASTER_SITES=	${HOMEPAGE}
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/sysutils/dd_rescue/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	9 May 2006 18:31:49 -0000	1.2
+++ distinfo	20 Sep 2006 18:28:36 -0000
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.2 2006/05/09 18:31:49 joerg Exp $
 
-SHA1 (dd_rescue-1.11.tar.gz) = 5c00ab592087506ce9e2851c8b4443659bbf9226
-RMD160 (dd_rescue-1.11.tar.gz) = aaf44b8034162ae0738bf0613ac3c6ac4e1ea6f0
-Size (dd_rescue-1.11.tar.gz) = 17259 bytes
+SHA1 (dd_rescue-1.12.tar.gz) = fe2889b2bdbc9c9a78cc0613366e2dcef2c7e749
+RMD160 (dd_rescue-1.12.tar.gz) = 9550d17bf5fe8109b97bae89055e4c0401ea2653
+Size (dd_rescue-1.12.tar.gz) = 18123 bytes
 SHA1 (patch-aa) = fbb0fce59b038bad269379ca46592eab4f7929bd
-SHA1 (patch-ab) = 04fb945e2dbe2b0d174c91403af42393cf54f6d0
+SHA1 (patch-ab) = daf42ff433d988d1879f4d569c5b7dc1aba1ea5b
Index: patches/patch-ab
===================================================================
RCS file: /home/pcvs/pkgsrc/sysutils/dd_rescue/patches/patch-ab,v
retrieving revision 1.1
diff -u -r1.1 patch-ab
--- patches/patch-ab	9 May 2006 18:31:49 -0000	1.1
+++ patches/patch-ab	20 Sep 2006 18:28:29 -0000
@@ -1,7 +1,5 @@
-$NetBSD: patch-ab,v 1.1 2006/05/09 18:31:49 joerg Exp $
-
---- dd_rescue.c.orig	2006-05-09 18:21:21.000000000 +0000
-+++ dd_rescue.c
+--- dd_rescue.c.orig	2006-07-23 13:47:50.000000000 +0200
++++ dd_rescue.c	2006-09-20 20:27:33.000000000 +0200
 @@ -55,6 +55,10 @@
  #include <sys/time.h>
  #include <sys/stat.h>
@@ -10,6 +8,6 @@
 +#undef O_DIRECT
 +#endif
 +
- int softbs, hardbs;
+ int softbs, hardbs, syncfreq;
  int maxerr, nrerr, reverse, dotrunc, abwrerr, sparse, nosparse;
  int verbose, quiet, interact, force;
--- dd_rescue.diff ends here ---