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 unified 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 @@ @@ -1,25 +1,17 @@
1Tool to check and undelete partitions. 1Disk is powerful free data recovery software! It was primarily designed
 2to help recover lost partitions and/or make non-booting disks bootable
 3again when these symptoms are caused by faulty software, certain types of
 4viruses or human error (such as accidentally deleting a Partition Table).
 5Partition table recovery using TestDisk is really easy.
2 6
3Supported filesystems: 7TestDisk can
4- BeFS ( BeOS ) 8 * Fix partition table, recover deleted partition
5- BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) 9 * Recover FAT32 boot sector from its backup
6- CramFS (Compressed File System) 10 * Rebuild FAT12/FAT16/FAT32 boot sector
7- DOS/Windows FAT12, FAT16 and FAT32 11 * Fix FAT tables
8- Windows exFAT 12 * Rebuild NTFS boot sector
9- HFS, Hierarchical File System 13 * Recover NTFS boot sector from its backup
10- JFS, IBM's Journaled File System 14 * Fix MFT using MFT mirror
11- Linux Ext2 and Ext3 15 * Locate ext2/ext3/ext4 Backup SuperBlock
12- Linux Raid 16 * Undelete files from FAT, exFAT, NTFS and ext2 filesystem
13- Linux Swap (versions 1 and 2) 17 * Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
14- LVM and LVM2, Linux Logical Volume Manager 
15- Netware NSS 
16- NTFS ( Windows NT/2K/XP/2003 ) 
17- ReiserFS 3.5 and 3.6 
18- UFS (Sun/BSD/...) 
19- XFS, SGI's Journaled File System 
20 
21Known to work on: 
22* DOS/Win9x/NT4/2k/XP/2k3 
23* GNU/Linux 
24* FreeBSD, NetBSD, OpenBSD 
25* Sun Solaris (minimal support) 

cvs diff -r1.6 -r1.7 pkgsrc/sysutils/testdisk/Makefile (expand / switch to unified 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,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.6 2013/05/04 13:16:40 dsainty Exp $ 1# $NetBSD: Makefile,v 1.7 2013/09/09 17:45:58 drochner Exp $
2# 2#
3 3
4DISTNAME= testdisk-6.13 4DISTNAME= testdisk-6.14
5PKGREVISION= 2 
6CATEGORIES= sysutils 5CATEGORIES= sysutils
7MASTER_SITES= http://www.cgsecurity.org/ 6MASTER_SITES= http://www.cgsecurity.org/
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= pancake@phreaker.net 9MAINTAINER= pancake@phreaker.net
11HOMEPAGE= http://www.cgsecurity.org/wiki/TestDisk 10HOMEPAGE= http://www.cgsecurity.org/wiki/TestDisk
12COMMENT= Tool to check and undelete partitions 11COMMENT= Tool to check and undelete partitions
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
16 15
17.include "../../mk/bsd.prefs.mk" 16.include "../../mk/bsd.prefs.mk"
18 17

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/testdisk/PLIST (expand / switch to unified 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,13 +1,13 @@ @@ -1,13 +1,13 @@
1@comment $NetBSD: PLIST,v 1.1 2012/07/04 17:58:31 drochner Exp $ 1@comment $NetBSD: PLIST,v 1.2 2013/09/09 17:45:58 drochner Exp $
2bin/fidentify 2bin/fidentify
3bin/photorec 3bin/photorec
4bin/testdisk 4bin/testdisk
5man/man8/fidentify.8 5man/man8/fidentify.8
6man/man8/photorec.8 6man/man8/photorec.8
7man/man8/testdisk.8 7man/man8/testdisk.8
8share/doc/${PKGNAME}/AUTHORS 8share/doc/${PKGNAME}/AUTHORS
9share/doc/${PKGNAME}/ChangeLog 9share/doc/${PKGNAME}/ChangeLog
10share/doc/${PKGNAME}/NEWS 10share/doc/${PKGNAME}/NEWS
11share/doc/${PKGNAME}/README 11share/doc/${PKGNAME}/README
12share/doc/${PKGNAME}/THANKS 12share/doc/${PKGNAME}/THANKS
13@pkgdir share/doc/${PKGNAME}/html 13share/doc/${PKGNAME}/documentation.html

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

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