Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2005 18:14:01 +0200 (CEST)
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82393: new port: sysutils/fatback 
Message-ID:  <200506181614.j5IGE13t052544@beaver.critical.ch>
Resent-Message-ID: <200506181620.j5IGKIfT037694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82393
>Category:       ports
>Synopsis:       new port: sysutils/fatback
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 18 16:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 23:25:47 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: sysutils/fatback

Fatback is a forensic tool for undeleting files from FAT file systems.

Fatback is different from other undelete tools in that it does the
following:

   * Runs under UNIX environments
   * Can undelete files automatically
   * Supports Long File Names
   * Supports FAT12, FAT16, and FAT32
   * Powerful interactive mode
   * Recursively undeletes deleted directories
   * Recovers lost cluster chains
   * Works with single partitions or whole disks

--> Committer:

For testing you might want do do something like this:

	$ cd /tmp
	$ mkdir -p test/mnt test/rescued
	$ cd /test
	$ dd if=/dev/random of=fatdrive1 bs=2M count=1
	$ mdconfig -a -t vnode -f fatdrive1 -u 99
	$ newfs_msdos -f 1440 -L foo md99
	$ mount -t msdosfs /dev/md99 mnt/
	$ cp /COPYRIGHT mnt/
	$ rm mnt/copyrigh
	$ fatback  /dev/md99 -a --output=rescued --log=fatback.log


>How-To-Repeat:
	
>Fix:

	



--- fatback.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fatback
#	fatback/Makefile
#	fatback/pkg-descr
#	fatback/distinfo
#	fatback/pkg-plist
#
echo c - fatback
mkdir -p fatback > /dev/null 2>&1
echo x - fatback/Makefile
sed 's/^X//' >fatback/Makefile << 'END-of-fatback/Makefile'
X# New ports collection makefile for:	fatback
X# Date created:				18 Jun 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fatback
XDISTVERSION=	1.3
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Recover deleted files from FAT filesystems
X
XGNU_CONFIGURE=	yes
X
XMAN1=		fatback.1
XINFO=		fatback-manual
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X	${INSTALL_DATA} ${WRKSRC}/fatback-manual.info ${PREFIX}/info/fatback-manual.info
X	@install-info ${PREFIX}/info/fatback-manual.info ${PREFIX}/info/dir
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in fatback-manual.texi texinfo.tex ChangeLog AUTHORS
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-fatback/Makefile
echo x - fatback/pkg-descr
sed 's/^X//' >fatback/pkg-descr << 'END-of-fatback/pkg-descr'
XFatback is a forensic tool for undeleting files from FAT file systems.
X
XFatback is different from other undelete tools in that it does the
Xfollowing:
X
X   * Runs under UNIX environments
X   * Can undelete files automatically
X   * Supports Long File Names
X   * Supports FAT12, FAT16, and FAT32
X   * Powerful interactive mode
X   * Recursively undeletes deleted directories
X   * Recovers lost cluster chains
X   * Works with single partitions or whole disks
X
XWWW: http://sourceforge.net/project/showfiles.php?group_id=46038
X
X- ehaupt
Xehaupt@critical.ch
END-of-fatback/pkg-descr
echo x - fatback/distinfo
sed 's/^X//' >fatback/distinfo << 'END-of-fatback/distinfo'
XMD5 (fatback-1.3.tar.gz) = 4f1beb13670a7eff5b66cff84e5fd42a
XSIZE (fatback-1.3.tar.gz) = 190800
END-of-fatback/distinfo
echo x - fatback/pkg-plist
sed 's/^X//' >fatback/pkg-plist << 'END-of-fatback/pkg-plist'
Xbin/fatback
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/fatback-manual.texi
X%%PORTDOCS%%%%DOCSDIR%%/texinfo.tex
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-fatback/pkg-plist
exit
--- fatback.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506181614.j5IGE13t052544>