Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2012 23:21:28 +0200
From:      Alex Kozlov <spam@rm-rf.kiev.ua>
To:        ports@freebsd.org, spam@rm-rf.kiev.ua
Subject:   Re: archivers/zip in 9.x:
Message-ID:  <20120109212128.GA53155@ravenloft.kiev.ua>

next in thread | raw e-mail | index | archive | help
On Tue, Jan 10, 2012 at 01:06:04AM +0400, Ruslan Mahmatkhanov wrote:
> Michael Scheidell wrote on 10.01.2012 00:30:
>> I think I saw something in the list that FreeBSD 9.x has zip already
>> built in? so, ports that need 'zip' won't need zip?
>>
>> for maintainers, they should use something like:
>>
>> USE_ZIP= yes
>>
>> to:
>>
>> if ${OSVERSION} <= 900000
>> USE_ZIP= yes
>> .endif
>>
>> and/or BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
>>
>> (at what OSVERSION was zip included in the base?)
> unzip, not zip. I believe it should be handled in bsd.port.mk like it
> done for USE_XZ. Something like:
>
> .if defined(USE_ZIP) && ${OSVERSION} < 900000
> EXTRACT_DEPENDS+=       ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
> .endif
>
> Correct OSVERSION should be used instead of 900000. There is also should
> be some logic for UNZIP_CMD.
A few things need to be done before it will be possible to use the
native unzip in CURRENT:
1) pr153429
2) mfv libarchive's seekable zip reader
3) patch to bsd.port.mk which implements USE_ZIP = yes|native|infozip
4) few tinderbox runs


--
Adios



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120109212128.GA53155>