diff --git a/archivers/Makefile b/archivers/Makefile index 2efeb6d938d8..65bf90ac0d07 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -23,6 +23,7 @@ SUBDIR += freeze SUBDIR += gtar SUBDIR += gzip + SUBDIR += gzrecover SUBDIR += ha SUBDIR += hffzip SUBDIR += hpack.non-usa.only diff --git a/archivers/gzrecover/Makefile b/archivers/gzrecover/Makefile new file mode 100644 index 000000000000..3192c5807a0c --- /dev/null +++ b/archivers/gzrecover/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: gzrecover +# Date created: 3 June 2005 +# Whom: Emanuel Haupt +# +# $FreeBSD$ +# + +PORTNAME= gzrecover +PORTVERSION= 0.3 +CATEGORIES= archivers +MASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/ +DISTNAME= gzrt-${PORTVERSION} + +MAINTAINER= ehaupt@critical.ch +COMMENT= A gzip recovery toolkit + +CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + +PLIST_FILES= bin/${PORTNAME} +.if !defined(NOPORTDOCS) +PORTDOCS= README +.endif + +do-build: + ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -lz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include diff --git a/archivers/gzrecover/distinfo b/archivers/gzrecover/distinfo new file mode 100644 index 000000000000..1c190f575cbb --- /dev/null +++ b/archivers/gzrecover/distinfo @@ -0,0 +1,2 @@ +MD5 (gzrt-0.3.tar.gz) = b54888d4b7a0f130dec89e477b091159 +SIZE (gzrt-0.3.tar.gz) = 7818 diff --git a/archivers/gzrecover/pkg-descr b/archivers/gzrecover/pkg-descr new file mode 100644 index 000000000000..83679a538c1d --- /dev/null +++ b/archivers/gzrecover/pkg-descr @@ -0,0 +1,7 @@ +Gzrecover attempts to skip over bad data in a gzip archive. It will try to to +skip over bad data and extract whatever files might be there. + +WWW: http://www.urbanophile.com/arenn/hacking/gzrt/ + +- ehaupt +ehaupt@critical.ch