FreeBSD Bugzilla – Attachment 61490 Details for
Bug 92148
[NEW PORT] sysutils/recoverdm: Recover files and discs with damaged sectors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
recoverdm-0.19.shar
recoverdm-0.19.shar (text/plain), 4.72 KB, created by
Jeffrey H. Johnson
on 2006-01-22 11:50:02 UTC
(
hide
)
Description:
recoverdm-0.19.shar
Filename:
MIME Type:
Creator:
Jeffrey H. Johnson
Created:
2006-01-22 11:50:02 UTC
Size:
4.72 KB
patch
obsolete
># 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: ># ># recoverdm ># recoverdm/files ># recoverdm/files/patch-ac ># recoverdm/files/patch-aa ># recoverdm/files/patch-ab ># recoverdm/Makefile ># recoverdm/distinfo ># recoverdm/pkg-descr ># recoverdm/pkg-plist ># >echo c - recoverdm >mkdir -p recoverdm > /dev/null 2>&1 >echo c - recoverdm/files >mkdir -p recoverdm/files > /dev/null 2>&1 >echo x - recoverdm/files/patch-ac >sed 's/^X//' >recoverdm/files/patch-ac << 'END-of-recoverdm/files/patch-ac' >X*** utils.h.orig Sun Jan 22 05:13:01 2006 >X--- utils.h Sun Jan 22 05:20:11 2006 >X*************** >X*** 1,5 **** >X--- 1,10 ---- >X+ #define off64_t off_t >X+ #define stat64 stat >X+ #define open64 open >X+ #define lseek64 lseek >X+ >X void * mymalloc(size_t size, char *what); >X void * myrealloc(void *oldp, size_t newsize, char *what); >X off64_t get_filesize(char *filename); >X int copy_block(int fd_in, int fd_out, off64_t block_size); >X void myseek(int fd, off64_t offset); >END-of-recoverdm/files/patch-ac >echo x - recoverdm/files/patch-aa >sed 's/^X//' >recoverdm/files/patch-aa << 'END-of-recoverdm/files/patch-aa' >X*** Makefile.orig Sun Jan 22 05:15:13 2006 >X--- Makefile Sun Jan 22 05:22:31 2006 >X*************** >X*** 1,14 **** >X VERSION=0.19 >X >X! CFLAGS=-Wall -Wshadow -Wconversion -Wwrite-strings -Winline -O2 -DVERSION=\"$(VERSION)\" >X LDFLAGS= >X >X OBJSr=recoverdm.o dev.o io.o utils.o error.o >X OBJSm=mergebad.o io.o utils.o error.o >X >X all: recoverdm mergebad >X >X recoverdm: $(OBJSr) >X $(CC) -Wall -W $(OBJSr) $(LDFLAGS) -o recoverdm >X strip recoverdm >X echo >X--- 1,19 ---- >X VERSION=0.19 >X >X! CFLAGS+=-DVERSION=\"$(VERSION)\" >X LDFLAGS= >X >X OBJSr=recoverdm.o dev.o io.o utils.o error.o >X OBJSm=mergebad.o io.o utils.o error.o >X >X all: recoverdm mergebad >X+ >X+ install: >X+ ${INSTALL} -m 755 recoverdm ${PREFIX}/bin >X+ ${INSTALL} -m 755 mergebad ${PREFIX}/bin >X+ ${INSTALL} -m 644 recoverdm.1 ${PREFIX}/man/man1 >X >X recoverdm: $(OBJSr) >X $(CC) -Wall -W $(OBJSr) $(LDFLAGS) -o recoverdm >X strip recoverdm >X echo >END-of-recoverdm/files/patch-aa >echo x - recoverdm/files/patch-ab >sed 's/^X//' >recoverdm/files/patch-ab << 'END-of-recoverdm/files/patch-ab' >X*** io.c.orig Sun Jan 22 05:18:41 2006 >X--- io.c Sun Jan 22 05:18:54 2006 >X*************** >X*** 9,18 **** >X--- 9,19 ---- >X #include <sys/stat.h> >X >X #include "io.h" >X #include "error.h" >X #include "gen.h" >X+ #include "utils.h" >X >X ssize_t READ(int fd, char *whereto, size_t len) >X { >X ssize_t cnt=0; >X >END-of-recoverdm/files/patch-ab >echo x - recoverdm/Makefile >sed 's/^X//' >recoverdm/Makefile << 'END-of-recoverdm/Makefile' >X# New ports collection makefile for: recoverdm >X# Date created: 22 January 2004 >X# Whom: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net> >X# >X# $FreeBSD: ports/sysutils/recoverdm/Makefile,v 1.00 2006/01/22 05:23:25 trn Exp $ >X# >X >XPORTNAME= recoverdm >XPORTVERSION= 0.19 >XCATEGORIES= sysutils >XMASTER_SITES= http://www.vanheusden.com/recoverdm/ >XEXTRACT_SUFX= .tgz >X >XMAINTAINER= CPE1704TKS@bellsouth.net >XCOMMENT= Recover files and discs with damaged sectors >X >XALL_TARGET= all >XMAN1= recoverdm.1 >X >X.include <bsd.port.mk> >END-of-recoverdm/Makefile >echo x - recoverdm/distinfo >sed 's/^X//' >recoverdm/distinfo << 'END-of-recoverdm/distinfo' >XSIZE (recoverdm-0.19.tgz) = 9806 >XMD5 (recoverdm-0.19.tgz) = f24050f1ab83584a2bf07e0ef6e5fc66 >XSHA256 (recoverdm-0.19.tgz) = 6158eee718d172a655f6581cbda41bc2cc8a0438ce2ad08f2892cf8d31fbd9c5 >END-of-recoverdm/distinfo >echo x - recoverdm/pkg-descr >sed 's/^X//' >recoverdm/pkg-descr << 'END-of-recoverdm/pkg-descr' >XThis program will help you recover disks with bad sectors. >XYou can recover files as well complete devices. >X >XIn case if finds sectors which simply cannot be recoverd, it writes an >Xempty sector to the outputfile and continues. If you're recovering a CD >Xor a DVD and the program cannot read the sector in "normal mode", then >Xthe program will try to read the sector in "RAW mode" (without error-checking >Xetc.). >X >XThis toolkit also has a utility called 'mergebad': mergebad merges multiple >Ximages into one. This can be usefull when you have, for example, multiple CD's >Xwith the same data which are all damaged. In such case, you can then first use >Xrecoverdm to retrieve the data from the damaged CD's into image-files and then >Xcombine them into one image with mergebad. >X >XWWW: http://www.vanheusden.com/recoverdm/ >END-of-recoverdm/pkg-descr >echo x - recoverdm/pkg-plist >sed 's/^X//' >recoverdm/pkg-plist << 'END-of-recoverdm/pkg-plist' >Xbin/mergebad >Xbin/recoverdm >END-of-recoverdm/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 92148
: 61490