View | Details | Raw Unified | Return to bug 175828 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-6 / +18 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	dd_rescue
8
PORTNAME=	dd_rescue
9
PORTVERSION=	1.30
9
PORTVERSION=	1.32
10
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
11
MASTER_SITES=	http://www.garloff.de/kurt/linux/ddrescue/
11
MASTER_SITES=	http://www.garloff.de/kurt/linux/ddrescue/
12
12
Lines 14-31 Link Here
14
COMMENT=	A dd tool suitable for rescuing data from a medium with errors
14
COMMENT=	A dd tool suitable for rescuing data from a medium with errors
15
15
16
LICENSE=	GPLv2
16
LICENSE=	GPLv2
17
LICENSE_FILE=	${WRKSRC}/COPYING
18
17
19
USE_GMAKE=	yes
18
USE_GMAKE=	yes
19
ALL_TARGET=	default
20
20
21
WRKSRC=		${WRKDIR}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}
22
ALL_TARGET=	default
22
23
PORTDOCS=	README.dd_rescue
24
25
OPTIONS_DEFINE=	DOCS
26
27
.include <bsd.port.options.mk>
28
29
.if ${PORT_OPTIONS:MDOCS}
30
PLIST_SUB+=	PORTDOCS=""
31
.else
32
PLIST_SUB+=	PORTDOCS="@comment "
33
.endif
23
34
24
do-install:
35
do-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${PREFIX}/bin
36
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
26
.if !defined(NOPORTDOCS)
37
38
.if ${PORT_OPTIONS:MDOCS}
27
	${MKDIR} ${DOCSDIR}
39
	${MKDIR} ${DOCSDIR}
28
	${INSTALL_DATA}	${WRKSRC}/README.dd_rescue ${DOCSDIR}
40
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
29
.endif
41
.endif
30
42
31
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dd_rescue-1.30.tar.gz) = f4e59c5e669b758c7063bd69dc86f18d380ee3d3551f3da23a2b2a24da4bfa3b
1
SHA256 (dd_rescue-1.32.tar.gz) = 9e57d9b1a37d417ea5e2e0ae4de3b742d2370496034bc3a1133147dd9b400dbd
2
SIZE (dd_rescue-1.30.tar.gz) = 25253
2
SIZE (dd_rescue-1.32.tar.gz) = 28968
(-)./pkg-descr (-7 / +13 lines)
Lines 1-10 Link Here
1
dd_rescue is a dd tool with following features suitable for rescuing data from
1
Like dd, dd_rescue does copy data from one file or block device to another.
2
a medium with errors.
2
You can specify file positions (called seek and Skip in dd).
3
There are several differences:
3
4
4
- Don't abort on errors on the input file unless the user specify the maximum
5
- dd_rescue does not provide character conversions.
5
  error number.
6
- The command syntax is different. Call dd_rescue -h.
6
- Don't truncate the output file.
7
- dd_rescue does not abort on errors on the input file, unless you specify
7
- Can use two different block sizes for normal operation and the case of errors.
8
  a maximum error number. Then dd_rescue will abort when this number is reached.
8
- Can start from the end of the file and move backwards.
9
- dd_rescue does not truncate the output file, unless asked to.
10
- You can tell dd_rescue to start from the end of a file and move bcakwards.
11
- It uses two block sizes, a large (soft) block size and a small (hard)
12
  block size. In case of errors, the size falls back to the small one and is
13
  promoted again after a while without errors.
14
- It does not (yet) support non-seekable in- or output.
9
15
10
WWW: http://www.garloff.de/kurt/linux/ddrescue/
16
WWW: http://www.garloff.de/kurt/linux/ddrescue/

Return to bug 175828