Mon Sep 9 17:45:58 2013 UTC ()
Update sysutils/testdisk to testdisk-6.14.
from Leonardo Taccari per PR pkg/48189

Changes:
General Improvements
====================
     * The log file generated by the Windows version (cygwin) reports bad
       sectors in a more readable fashion, example
         ReadFile Data error (cyclic redundancy check).
     * As openssl isn't used, don't link with this cryptographic library
       (Debian tries to avoid mixing GPL code and openssl)

TestDisk
========
Improvements
------------
     * testdisk /list now displays the disk model, serial number, firmware
       version and hpa or dco presence if detected
     * Recover WBFS (Wii Backup File System) partition
     * Make FAT RebuildBS works when there is a single FAT table
     * Interface: Display the partition table type if autodetected
     * Interface: modified warning about mismatching geometry between FAT
       or NTFS boot sector and HD geometry information (Debian #651756)
     * Interface: Remove "Allow partial last cylinder" option

Bug fixes
---------
     * Fix crc in EFI backup GPT
     * Rewrote how TestDisk aligns partition on cylinder or 1MB boundary.
       It avoids to create partition entry where the partition ends after
       the end of the disk.

PhotoRec
========
Improvements
------------
     * Improve Olympus .orf recovery
     * Improve WP Mac/WP5/WP6 Corel Documents .wpd files recovery
     * Fix thumbs.db recovery, avoid some false positive with .doc
     * Interface: if less than 10 file families are enabled, display the
       results even if zero has been found yet

   New file formats:
     * .aep After Effects
     * .axx AxCrypt
     * .dp Designer, a Photobook Designer Software
     * .lzh archive
     * .mmap MindManager
     * .plt Gerber Graphix Advantage
     * .prproj Adobe Premiere project
     * .psb Adobe Photoshop Image
     * .pts PTGui, panoramic stitching software
     * .qcp The QCP File Format and Media Types for Speech Data (RFC3625)
     * .shn Shorten audio file
     * .snt Windows Sticky Notes
     * .ttd TinyTag Data
     * .wallet Armory bitcoin wallet
     * .wim Windows imaging (WIM) image

Bug fixes
---------
     * Fix an endless loop during .caf file recovery
     * Fix tiff recovery including some raw file formats, 64-bit version
       wasn't affected


(drochner)
diff -r1.2 -r1.3 pkgsrc/sysutils/testdisk/DESCR
diff -r1.6 -r1.7 pkgsrc/sysutils/testdisk/Makefile
diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/PLIST
diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/distinfo
diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/patches/patch-aa

cvs diff -r1.2 -r1.3 pkgsrc/sysutils/testdisk/DESCR (expand / switch to context diff)
--- pkgsrc/sysutils/testdisk/DESCR 2013/05/05 20:59:22 1.2
+++ pkgsrc/sysutils/testdisk/DESCR 2013/09/09 17:45:58 1.3
@@ -1,25 +1,17 @@
-Tool to check and undelete partitions.
+Disk is powerful free data recovery software! It was primarily designed
+to help recover lost partitions and/or make non-booting disks bootable
+again when these symptoms are caused by faulty software, certain types of
+viruses or human error (such as accidentally deleting a Partition Table).
+Partition table recovery using TestDisk is really easy.
 
-Supported filesystems:
+TestDisk can
-- BeFS ( BeOS )
+ * Fix partition table, recover deleted partition
-- BSD disklabel ( FreeBSD/OpenBSD/NetBSD )
+ * Recover FAT32 boot sector from its backup
-- CramFS (Compressed File System)
+ * Rebuild FAT12/FAT16/FAT32 boot sector
-- DOS/Windows FAT12, FAT16 and FAT32
+ * Fix FAT tables
-- Windows exFAT
+ * Rebuild NTFS boot sector
-- HFS, Hierarchical File System
+ * Recover NTFS boot sector from its backup
-- JFS, IBM's Journaled File System
+ * Fix MFT using MFT mirror
-- Linux Ext2 and Ext3
+ * Locate ext2/ext3/ext4 Backup SuperBlock
-- Linux Raid
+ * Undelete files from FAT, exFAT, NTFS and ext2 filesystem
-- Linux Swap (versions 1 and 2)
+ * Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
-- LVM and LVM2, Linux Logical Volume Manager
-- Netware NSS
-- NTFS ( Windows NT/2K/XP/2003 )
-- ReiserFS 3.5 and 3.6
-- UFS (Sun/BSD/...)
-- XFS, SGI's Journaled File System
-
-Known to work on:
-* DOS/Win9x/NT4/2k/XP/2k3
-* GNU/Linux
-* FreeBSD, NetBSD, OpenBSD
-* Sun Solaris (minimal support)

cvs diff -r1.6 -r1.7 pkgsrc/sysutils/testdisk/Makefile (expand / switch to context diff)
--- pkgsrc/sysutils/testdisk/Makefile 2013/05/04 13:16:40 1.6
+++ pkgsrc/sysutils/testdisk/Makefile 2013/09/09 17:45:58 1.7
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2013/05/04 13:16:40 dsainty Exp $
+# $NetBSD: Makefile,v 1.7 2013/09/09 17:45:58 drochner Exp $
 #
 
-DISTNAME=		testdisk-6.13
-PKGREVISION=		2
+DISTNAME=		testdisk-6.14
 CATEGORIES=		sysutils
 MASTER_SITES=		http://www.cgsecurity.org/
 EXTRACT_SUFX=		.tar.bz2

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/PLIST (expand / switch to context diff)
--- pkgsrc/sysutils/testdisk/PLIST 2012/07/04 17:58:31 1.1
+++ pkgsrc/sysutils/testdisk/PLIST 2013/09/09 17:45:58 1.2
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/07/04 17:58:31 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/09/09 17:45:58 drochner Exp $
 bin/fidentify
 bin/photorec
 bin/testdisk
@@ -10,4 +10,4 @@
 share/doc/${PKGNAME}/NEWS
 share/doc/${PKGNAME}/README
 share/doc/${PKGNAME}/THANKS
-@pkgdir share/doc/${PKGNAME}/html
+share/doc/${PKGNAME}/documentation.html

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/distinfo (expand / switch to context diff)
--- pkgsrc/sysutils/testdisk/distinfo 2012/07/04 17:58:31 1.1
+++ pkgsrc/sysutils/testdisk/distinfo 2013/09/09 17:45:58 1.2
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2012/07/04 17:58:31 drochner Exp $
+$NetBSD: distinfo,v 1.2 2013/09/09 17:45:58 drochner Exp $
 
-SHA1 (testdisk-6.13.tar.bz2) = b08ace0257e3e437b6fc140360d75807ca4d46ae
+SHA1 (testdisk-6.14.tar.bz2) = a2359406db5e3e3f9db81d8e8fce2a125dcc3677
-RMD160 (testdisk-6.13.tar.bz2) = 9ff09fdcc53a02240b4e22365193eac14a7d5e13
+RMD160 (testdisk-6.14.tar.bz2) = b1ba7d714da496216e16a942045f0f6e32554d8b
-Size (testdisk-6.13.tar.bz2) = 560696 bytes
+Size (testdisk-6.14.tar.bz2) = 620077 bytes
-SHA1 (patch-aa) = 05e401608dd426bd780475e3b515e5677ab1ccc5
+SHA1 (patch-aa) = 76105a444a099435f75bf230292742a92fdc6722

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/patches/patch-aa (expand / switch to context diff)
--- pkgsrc/sysutils/testdisk/patches/patch-aa 2012/07/04 17:58:31 1.1
+++ pkgsrc/sysutils/testdisk/patches/patch-aa 2013/09/09 17:45:58 1.2
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.1 2012/07/04 17:58:31 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2013/09/09 17:45:58 drochner Exp $
 
---- src/intrfn.h.orig	2010-10-18 06:25:15.000000000 +0000
+stdarg(3) is required by various functions that can be called with variable
+argument lists.
+
+--- src/intrfn.h.orig	2013-05-17 09:34:03.000000000 +0000
 +++ src/intrfn.h
 @@ -39,6 +39,8 @@ extern "C" {
  #include <curses.h>
@@ -10,4 +13,4 @@
 +
  void aff_copy(WINDOW *window);
  void aff_copy_short(WINDOW *window);
- void aff_part(WINDOW *window, const unsigned int newline, const disk_t *disk_car, const partition_t *partition);
+ void aff_LBA2CHS(const disk_t *disk_car, const unsigned long int pos_LBA);