ports/81840: [new port]: archivers/gzrecover
Emanuel Haupt
ehaupt at critical.ch
Fri Jun 3 13:20:02 UTC 2005
>Number: 81840
>Category: ports
>Synopsis: [new port]: archivers/gzrecover
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 03 13:20:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 4.11-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p2 FreeBSD 4.11-RELEASE-p2 #0: Wed Apr 6 16:53:59 CEST 2005 root at admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386
>Description:
[new port]: archivers/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.
>How-To-Repeat:
>Fix:
--- gzrecover.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gzrecover
# gzrecover/Makefile
# gzrecover/pkg-descr
# gzrecover/distinfo
# gzrecover/pkg-plist
#
echo c - gzrecover
mkdir -p gzrecover > /dev/null 2>&1
echo x - gzrecover/Makefile
sed 's/^X//' >gzrecover/Makefile << 'END-of-gzrecover/Makefile'
X# New ports collection makefile for: gzrecover
X# Date created: 3 June 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gzrecover
XDISTVERSION= 0.3
XCATEGORIES= archivers
XMASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/
XDISTNAME= gzrt-${DISTVERSION}
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= A gzip recovery toolkit
X
XCFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
X
Xdo-build:
X ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -lz
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
X
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-gzrecover/Makefile
echo x - gzrecover/pkg-descr
sed 's/^X//' >gzrecover/pkg-descr << 'END-of-gzrecover/pkg-descr'
XGzrecover attempts to skip over bad data in a gzip archive. It will try to to
Xskip over bad data and extract whatever files might be there.
X
XWWW: http://www.urbanophile.com/arenn/hacking/gzrt/
X
X- ehaupt
Xehaupt at critical.ch
END-of-gzrecover/pkg-descr
echo x - gzrecover/distinfo
sed 's/^X//' >gzrecover/distinfo << 'END-of-gzrecover/distinfo'
XMD5 (gzrt-0.3.tar.gz) = b54888d4b7a0f130dec89e477b091159
XSIZE (gzrt-0.3.tar.gz) = 7818
END-of-gzrecover/distinfo
echo x - gzrecover/pkg-plist
sed 's/^X//' >gzrecover/pkg-plist << 'END-of-gzrecover/pkg-plist'
Xbin/gzrecover
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-gzrecover/pkg-plist
exit
--- gzrecover.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list