summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2012-07-04 17:58:31 +0000
committerdrochner <drochner>2012-07-04 17:58:31 +0000
commit918451d50c279f18bea71e2ce6f64d721a4faf44 (patch)
tree4c54b7020aea9790eeaeb77faff1587b47562430
parentefdde53dd719d1666b45dddeddb8036bf5f7a197 (diff)
downloadpkgsrc-918451d50c279f18bea71e2ce6f64d721a4faf44.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
-rw-r--r--sysutils/testdisk/DESCR24
-rw-r--r--sysutils/testdisk/Makefile19
-rw-r--r--sysutils/testdisk/PLIST13
-rw-r--r--sysutils/testdisk/distinfo6
-rw-r--r--sysutils/testdisk/patches/patch-aa13
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);