diff options
author | drochner <drochner@pkgsrc.org> | 2012-07-04 17:58:31 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-07-04 17:58:31 +0000 |
commit | e92ef875320de9ed79e36141806d7a9893a745c3 (patch) | |
tree | 4c54b7020aea9790eeaeb77faff1587b47562430 /sysutils | |
parent | 7d1854522ff7c9c4e600ee0e28cd9641139977a3 (diff) | |
download | pkgsrc-e92ef875320de9ed79e36141806d7a9893a745c3.tar.gz |
add testdisk-6.13, a Tool to check and undelete partitions, plus
an inage recovery tool, from pancake@phreaker.net per pkgsrc-wip
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/testdisk/DESCR | 24 | ||||
-rw-r--r-- | sysutils/testdisk/Makefile | 19 | ||||
-rw-r--r-- | sysutils/testdisk/PLIST | 13 | ||||
-rw-r--r-- | sysutils/testdisk/distinfo | 6 | ||||
-rw-r--r-- | sysutils/testdisk/patches/patch-aa | 13 |
5 files changed, 75 insertions, 0 deletions
diff --git a/sysutils/testdisk/DESCR b/sysutils/testdisk/DESCR new file mode 100644 index 00000000000..69d7ed9a66a --- /dev/null +++ b/sysutils/testdisk/DESCR @@ -0,0 +1,24 @@ +Tool to check and undelete partitions. + +Supported filesystems: +- BeFS ( BeOS ) +- BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) +- CramFS (Compressed File System) +- DOS/Windows FAT12, FAT16 and FAT32 +- HFS, Hierarchical File System +- JFS, IBM's Journaled File System +- Linux Ext2 and Ext3 +- Linux Raid +- Linux Swap (versions 1 and 2) +- 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) diff --git a/sysutils/testdisk/Makefile b/sysutils/testdisk/Makefile new file mode 100644 index 00000000000..c1c5c6722c0 --- /dev/null +++ b/sysutils/testdisk/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2012/07/04 17:58:31 drochner Exp $ +# + +DISTNAME= testdisk-6.13 +CATEGORIES= sysutils +MASTER_SITES= http://www.cgsecurity.org/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pancake@phreaker.net +HOMEPAGE= http://www.cgsecurity.org/wiki/TestDisk +COMMENT= Tool to check and undelete partitions +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes + +.include "../../mk/jpeg.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/testdisk/PLIST b/sysutils/testdisk/PLIST new file mode 100644 index 00000000000..912aca64255 --- /dev/null +++ b/sysutils/testdisk/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2012/07/04 17:58:31 drochner Exp $ +bin/fidentify +bin/photorec +bin/testdisk +man/man8/fidentify.8 +man/man8/photorec.8 +man/man8/testdisk.8 +share/doc/${PKGNAME}/AUTHORS +share/doc/${PKGNAME}/ChangeLog +share/doc/${PKGNAME}/NEWS +share/doc/${PKGNAME}/README +share/doc/${PKGNAME}/THANKS +@pkgdir share/doc/${PKGNAME}/html diff --git a/sysutils/testdisk/distinfo b/sysutils/testdisk/distinfo new file mode 100644 index 00000000000..87d6c9ff8c2 --- /dev/null +++ b/sysutils/testdisk/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2012/07/04 17:58:31 drochner Exp $ + +SHA1 (testdisk-6.13.tar.bz2) = b08ace0257e3e437b6fc140360d75807ca4d46ae +RMD160 (testdisk-6.13.tar.bz2) = 9ff09fdcc53a02240b4e22365193eac14a7d5e13 +Size (testdisk-6.13.tar.bz2) = 560696 bytes +SHA1 (patch-aa) = 05e401608dd426bd780475e3b515e5677ab1ccc5 diff --git a/sysutils/testdisk/patches/patch-aa b/sysutils/testdisk/patches/patch-aa new file mode 100644 index 00000000000..c7a1d2b6beb --- /dev/null +++ b/sysutils/testdisk/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2012/07/04 17:58:31 drochner Exp $ + +--- src/intrfn.h.orig 2010-10-18 06:25:15.000000000 +0000 ++++ src/intrfn.h +@@ -39,6 +39,8 @@ extern "C" { + #include <curses.h> + #endif + ++#include <stdarg.h> ++ + 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); |