cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c

Dag-Erling Smørgrav des at des.no
Tue Jan 8 11:07:26 PST 2008


Pav Lucistnik <pav at FreeBSD.org> writes:
> BTW are you planning to do a __FreeBSD_version change for this unzip
> import? So we have something to .if around in bsd.port.mk in future...

Not until libarchive has learned to handle those last four zipfiles.
There are other things that need to change as well; for instance, the
current USE_ZIP code will consider the dependency satisfied if e.g.
/usr/bin/unzip exists, yet hardcodes ${LOCALBASE}/bin/unzip in
do-extract, so if I connected src/usr.bin/unzip to the build without
first changing bsd.ports.mk, all the USE_ZIP ports would break.

Apart from these four files, by the way, the difficulty lies in the
hairy command-line syntax (to avoid changing the ports) and the need to
perform ceratin manipulations like lowercasing the name of each file as
you extract it or converting DOS line endings on the fly.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list