Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+10
View File
@@ -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.
+30
View File
@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.6 2013/05/31 12:42:01 wiz Exp $
#
DISTNAME= magicrescue-1.1.4
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://jbj.rapanden.dk/magicrescue/release/
MAINTAINER= pkgsrc-users@NetBSD.org
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= magicsort \
tools/checkrecipe \
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
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
.include "../../mk/bsd.pkg.mk"
+33
View File
@@ -0,0 +1,33 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:09 joerg 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
+6
View File
@@ -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
+24
View File
@@ -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
#