summaryrefslogtreecommitdiff
path: root/archivers/gzrecover
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-08 12:08:09 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-06-08 12:08:09 +0000
commit4fa7e5a3a0d2b4852ecea63b4a38de1554845c84 (patch)
tree8331e341bb0e0ad83a2414f1c2924b8ca5b3f2b3 /archivers/gzrecover
parent[1]: (diff)
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>
Notes
Notes: svn path=/head/; revision=137046
Diffstat (limited to 'archivers/gzrecover')
-rw-r--r--archivers/gzrecover/Makefile34
-rw-r--r--archivers/gzrecover/distinfo2
-rw-r--r--archivers/gzrecover/pkg-descr7
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