[OpenWrt-Devel] [PATCH] build: depend on host zip tool

Daniel Engberg daniel.engberg.lists at pyret.net
Mon Dec 3 17:20:53 EST 2018


On 2018-12-03 23:05, Paul Oranje wrote:
>> Op 3 dec. 2018, om 10:57 heeft Daniel Engberg 
>> <daniel.engberg.lists at pyret.net> het volgende geschreven:
>> 
>> Hi,
>> 
>> Perhaps its worth considering adding bsdtar / libarchive 
>> (https://www.libarchive.org/) instead which handles various formats 
>> including zip (via zlib) and is still active? Another possible benefit 
>> would be that you would consolidate a few more tools into one.
> 
> On macOSX which has BSD tar the man pages states that it can extract
> ZIP files, but it not that it can *create* ZIP files.
> 

Perhaps a very old version?

"tar -a -cf archive.zip source.c source.h"
https://www.freebsd.org/cgi/man.cgi?query=bsdtar&sektion=1

Also listed as supported here:
https://github.com/libarchive/libarchive/wiki/LibarchiveFormats

Works fine on FreeBSD 11.2 (version string below)

bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.2.3 bz2lib/1.0.6

>> 
>> Best regards,
>> Daniel
>> 
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list