Bug 82393 - new port: sysutils/fatback
Summary: new port: sysutils/fatback
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-18 17:20 UTC by Emanuel Haupt
Modified: 2005-07-01 12:13 UTC (History)
0 users

See Also:


Attachments
fatback.shar (2.58 KB, text/plain)
2005-06-18 17:20 UTC, Emanuel Haupt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuel Haupt 2005-06-18 17:20:18 UTC
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
Comment 1 haupt 2005-06-25 00:13:37 UTC
lets not clutter the repository, delete pkg-plist :-)

here my suggestion:

--- fatback.shar (2) 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
#
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
XPLIST_FILES=	bin/fatback
XPORTDOCS=	fatback-manual.texi texinfo.tex ChangeLog AUTHORS
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 ${PORTDOCS}
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
exit
--- fatback.shar (2) ends here ---
Comment 2 Sam Lawrance freebsd_committer freebsd_triage 2005-06-30 15:32:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Take
Comment 3 Sam Lawrance freebsd_committer freebsd_triage 2005-07-01 12:10:02 UTC
State Changed
From-To: open->closed

Committed with minor changes, thanks!