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

John Baldwin jhb at freebsd.org
Mon Jan 14 13:58:28 PST 2008


On Monday 14 January 2008 03:26:03 pm Kris Kennaway wrote:
> David O'Brien wrote:
> 
> >> If we have to special case ports to deal with variant zipfiles that 
cannot 
> >> be processed by /usr/bin/unzip then it gets messier because we have to 
> >> account for some ports being satisfied with USE_ZIP=yes meaning 
> >> /usr/bin/unzip and some still requiring /usr/ports/archivers/unzip.  I'd 
> >> prefer not to have to add those workarounds.
> > 
> > This seems quite easy...
> > 
> > For those four-ish ports 's/USE_ZIP/USE_INFOZIP/'
> 
> That's what I meant by "special case".  I don't like adding special case 
> variables to bsd.*.mk for the benefit of a tiny number of ports; that 
> file is already cluttered enough.

Also, if there are ports distfiles that unzip doesn't handle then there are 
likely other zip files in the wild that users may run into that it won't 
handle either.  In that case, I think the ports distfiles are a good canary 
for seeing if unzip is suitable for widespread use.

-- 
John Baldwin


More information about the cvs-src mailing list