From 4fa7e5a3a0d2b4852ecea63b4a38de1554845c84 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Wed, 8 Jun 2005 12:08:09 +0000 Subject: Add gzrecover. 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/ PR: ports/81840 Submitted by: Emanuel Haupt --- archivers/gzrecover/Makefile | 34 ++++++++++++++++++++++++++++++++++ archivers/gzrecover/distinfo | 2 ++ archivers/gzrecover/pkg-descr | 7 +++++++ 3 files changed, 43 insertions(+) create mode 100644 archivers/gzrecover/Makefile create mode 100644 archivers/gzrecover/distinfo create mode 100644 archivers/gzrecover/pkg-descr (limited to 'archivers/gzrecover') 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 -- cgit v1.2.3