Why doesn't USE_UNZIP use the base system unzip?

Baptiste Daroussin bapt at FreeBSD.org
Thu May 9 22:57:06 UTC 2013


On Thu, May 09, 2013 at 03:48:34PM -0700, Garrett Cooper wrote:
>     So... trying to trim down dependencies in a ports build and I'm
> confused as to why unzip in base (it's been in base for ~5 years)
> isn't a sufficient replacement for archivers/unzip in ports. It
> doesn't seem like we're doing anything incredibly complicated with
> archivers/unzip, so I would think that it would be a drop-in
> replacement. Am I incorrect?
> Thanks,
> -Garrett
> 
> PS Please CC me as I'm not currently subscribed to the list.

Simple because libarchive doesn't support all the infozip format yet.

My plan is to make USE_ZIP automatically use bsdtar (and not unzip so that
FreeBSD 8.x can get it) and introduce a new USE_INFOZIP for ports that won't
work with bsdtar.

I have a patch for this:
http://people.freebsd.org/~bapt/nounzip.diff

But I didn't get time to totally exp-run it yet.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130510/f59b56b2/attachment.sig>


More information about the freebsd-ports mailing list