diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-06-08 20:08:09 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-06-08 20:08:09 +0800 |
commit | eed7ff18463611f6a2738b2c6ad87064de0737f6 (patch) | |
tree | 72ce39f683660da80f7dccaded1ccce626f19b10 /archivers/gzrecover | |
parent | 18a2e12050607679e8da1ed8baed5350f58473d9 (diff) | |
download | freebsd-ports-gnome-eed7ff18463611f6a2738b2c6ad87064de0737f6.tar.gz freebsd-ports-gnome-eed7ff18463611f6a2738b2c6ad87064de0737f6.tar.zst freebsd-ports-gnome-eed7ff18463611f6a2738b2c6ad87064de0737f6.zip |
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 <ehaupt@critical.ch>
Diffstat (limited to 'archivers/gzrecover')
-rw-r--r-- | archivers/gzrecover/Makefile | 34 | ||||
-rw-r--r-- | archivers/gzrecover/distinfo | 2 | ||||
-rw-r--r-- | archivers/gzrecover/pkg-descr | 7 |
3 files changed, 43 insertions, 0 deletions
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 <ehaupt@critical.ch> +# +# $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 <bsd.port.mk> 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 |