pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/magicrescue Initial import of magicrescue-1.1.4:
details: https://anonhg.NetBSD.org/pkgsrc/rev/5860f7838ef5
branches: trunk
changeset: 515839:5860f7838ef5
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 09 15:12:15 2006 +0000
description:
Initial import of magicrescue-1.1.4:
Magic Rescue scans a block device for file types it knows how to
recover and calls an external program to extract them. It looks
at "magic bytes" in file contents, so it can be used both as an
undelete utility and for recovering a corrupted drive or partition.
As long as the file data is there, it will find it.
It works on any file system, but on very fragmented file systems
it can only recover the first chunk of each file. Practical
experience (this program was not written for fun) shows, however,
that chunks of 30-50MB are not uncommon.
diffstat:
sysutils/magicrescue/DESCR | 10 +++++++++
sysutils/magicrescue/Makefile | 25 ++++++++++++++++++++++++
sysutils/magicrescue/PLIST | 36 +++++++++++++++++++++++++++++++++++
sysutils/magicrescue/distinfo | 6 +++++
sysutils/magicrescue/patches/patch-aa | 24 +++++++++++++++++++++++
5 files changed, 101 insertions(+), 0 deletions(-)
diffs (121 lines):
diff -r 0b7467d1f3e7 -r 5860f7838ef5 sysutils/magicrescue/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/magicrescue/DESCR Sun Jul 09 15:12:15 2006 +0000
@@ -0,0 +1,10 @@
+Magic Rescue scans a block device for file types it knows how to
+recover and calls an external program to extract them. It looks
+at "magic bytes" in file contents, so it can be used both as an
+undelete utility and for recovering a corrupted drive or partition.
+As long as the file data is there, it will find it.
+
+It works on any file system, but on very fragmented file systems
+it can only recover the first chunk of each file. Practical
+experience (this program was not written for fun) shows, however,
+that chunks of 30-50MB are not uncommon.
diff -r 0b7467d1f3e7 -r 5860f7838ef5 sysutils/magicrescue/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/magicrescue/Makefile Sun Jul 09 15:12:15 2006 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/09 15:12:15 wiz Exp $
+#
+
+DISTNAME= magicrescue-1.1.4
+CATEGORIES= sysutils
+MASTER_SITES= http://jbj.rapanden.dk/magicrescue/release/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://jbj.rapanden.dk/magicrescue/release/
+COMMENT= Recover files from a block device by scanning for magic bytes
+
+USE_TOOLS+= perl:run
+HAS_CONFIGURE= yes
+
+REPLACE_PERL= tools/elfextract.pl \
+ tools/gimp-resave.pl \
+ tools/gzip_rename.pl \
+ tools/laola.pl \
+ tools/mp3extract.pl \
+ tools/ole_rename.pl \
+ tools/oleextract.pl \
+ tools/pngextract.pl \
+ tools/script_rename.pl
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0b7467d1f3e7 -r 5860f7838ef5 sysutils/magicrescue/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/magicrescue/PLIST Sun Jul 09 15:12:15 2006 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/09 15:12:15 wiz Exp $
+bin/dupemap
+bin/magicrescue
+bin/magicsort
+man/man1/dupemap.1
+man/man1/magicrescue.1
+man/man1/magicsort.1
+share/magicrescue/recipes/avi
+share/magicrescue/recipes/elf
+share/magicrescue/recipes/gimp-xcf
+share/magicrescue/recipes/gpl
+share/magicrescue/recipes/gzip
+share/magicrescue/recipes/jpeg-exif
+share/magicrescue/recipes/jpeg-jfif
+share/magicrescue/recipes/mp3-id3v1
+share/magicrescue/recipes/mp3-id3v2
+share/magicrescue/recipes/msoffice
+share/magicrescue/recipes/perl
+share/magicrescue/recipes/png
+share/magicrescue/recipes/zip
+share/magicrescue/tools/checkrecipe
+share/magicrescue/tools/elfextract.pl
+share/magicrescue/tools/gimp-resave.pl
+share/magicrescue/tools/gzip_rename.pl
+share/magicrescue/tools/inputseek
+share/magicrescue/tools/laola.pl
+share/magicrescue/tools/mp3extract.pl
+share/magicrescue/tools/ole_rename.pl
+share/magicrescue/tools/oleextract.pl
+share/magicrescue/tools/pngextract.pl
+share/magicrescue/tools/safecat
+share/magicrescue/tools/script_rename.pl
+share/magicrescue/tools/textextract
+@dirrm share/magicrescue/tools
+@dirrm share/magicrescue/recipes
+@dirrm share/magicrescue
diff -r 0b7467d1f3e7 -r 5860f7838ef5 sysutils/magicrescue/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/magicrescue/distinfo Sun Jul 09 15:12:15 2006 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/09 15:12:15 wiz Exp $
+
+SHA1 (magicrescue-1.1.4.tar.gz) = b4be78fb6eba668c79aac6bf6a01123911049008
+RMD160 (magicrescue-1.1.4.tar.gz) = ef8185ad19d4fb1bc277403b82eea3aa21f0e758
+Size (magicrescue-1.1.4.tar.gz) = 89965 bytes
+SHA1 (patch-aa) = 0c736f7ed1191919a4aaf816fc4a7431c717e78e
diff -r 0b7467d1f3e7 -r 5860f7838ef5 sysutils/magicrescue/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/magicrescue/patches/patch-aa Sun Jul 09 15:12:15 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/07/09 15:12:15 wiz Exp $
+
+--- configure.orig 2004-08-14 23:04:00.000000000 +0000
++++ configure
+@@ -26,16 +26,13 @@
+ # Default options
+ #
+ app="the application"
+-prefix=/usr/local
++app="Magic Rescue"
++prefix=${PREFIX}
+ env_vars="CC CFLAGS CPPFLAGS LDFLAGS"
+ def_CC=cc
+-def_CFLAGS="-O3 -Wall"
++def_CFLAGS="-Wall"
+ MAKE_VARS=
+
+-if [ -f config.config ]; then
+- . config.config
+-fi
+-
+ #
+ # Helper functions
+ #
Home |
Main Index |
Thread Index |
Old Index