From owner-cvs-all@FreeBSD.ORG Tue Jan 8 08:00:07 2008 Return-Path: <owner-cvs-all@FreeBSD.ORG> Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2371416A420; Tue, 8 Jan 2008 08:00:07 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2037813C46A; Tue, 8 Jan 2008 08:00:07 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m08806Mm012964; Tue, 8 Jan 2008 08:00:06 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m08806jI012963; Tue, 8 Jan 2008 08:00:06 GMT (envelope-from des) Message-Id: <200801080800.m08806jI012963@repoman.freebsd.org> From: Dag-Erling Smorgrav <des@FreeBSD.org> Date: Tue, 8 Jan 2008 08:00:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>, <mailto:cvs-all-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-all> List-Post: <mailto:cvs-all@freebsd.org> List-Help: <mailto:cvs-all-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>, <mailto:cvs-all-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 08 Jan 2008 08:00:07 -0000 des 2008-01-08 08:00:06 UTC FreeBSD src repository Added files: usr.bin/unzip Makefile unzip.1 unzip.c Log: Welcome unzip(1), a pure BSD drop-in replacement for ports/unzip. In its current state, it can handle all but four of the 991 zip files (including jar files) I was able to identify in the ports tree. The remaining four are two self-extracting archives and two which have garbage preceding the first local header. This limitation is a feature of libarchive(3) which I am currently working to resolve. The code is unnecessarily large due to the need to emulate the exact command-line syntax and behaviour of ports/unzip. My initial incompatible implementation was one quarter the size of the one I am committing here. Revision Changes Path 1.1 +9 -0 src/usr.bin/unzip/Makefile (new) 1.1 +155 -0 src/usr.bin/unzip/unzip.1 (new) 1.1 +756 -0 src/usr.bin/unzip/unzip.c (new)