Why doesn't USE_UNZIP use the base system unzip?

Garrett Cooper yaneurabeya at gmail.com
Thu May 9 23:12:22 UTC 2013


On Thu, May 9, 2013 at 3:57 PM, Baptiste Daroussin <bapt at freebsd.org> wrote:
> 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.

    Perfect -- that helps a lot (and now I know that none of the ports
we are going to build require anything beyond what's in the base
system.
Thanks!
-Garrett


More information about the freebsd-ports mailing list