Skip to contentSkip to conversation

No 'zip' utility?

Buildroot Grant Edwards 2 participants 3 messages Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

I just stumbled across the fact that there doesn't seem to be a 'zip' utility available either as a busybox applet or as a stand-alone utility with a buildroot package. I've got a web app running on an ARM9 boad that allows users to PUT trees of files to my board in either .zip or .tar.gz archives. When it came time to add a feature that required users to GET trees of files from my board, I agreed to also support .zip format archives (dimly assuming that since there was a zip, there would be an unzip).

But, though busybox has an 'unzip', it doesn't have a 'zip'. And there doesn't appear to be a stand-alone 'zip' package in buildroot.

Is it just that I'm the first one dumb enough to sign up for creating .zip archives on an embedded linux system? Or is there some licensing/patent reason why creation of the .zip archives is unsupported?

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Can I have an IMPULSE
                                  at               ITEM instead?
                              gmail.com            
#1 lore raw

Hi Grant,

Quoted 9 lines · Grant Edwards

I just stumbled across the fact that there doesn't seem to be a 'zip' utility available either as a busybox applet or as a stand-alone utility with a buildroot package. I've got a web app running on an ARM9 boad that allows users to PUT trees of files to my board in either .zip or .tar.gz archives. When it came time to add a feature that required users to GET trees of files from my board, I agreed to also support .zip format archives (dimly assuming that since there was a zip, there would be an unzip).

Quoted 7 lines

But, though busybox has an 'unzip', it doesn't have a 'zip'. And there doesn't appear to be a stand-alone 'zip' package in buildroot.

Is it just that I'm the first one dumb enough to sign up for creating .zip archives on an embedded linux system? Or is there some licensing/patent reason why creation of the .zip archives is unsupported?

Try the infozip package. Look under "Compressors and decompressors".

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw
Quoted 4 lines · Baruch Siach
Quoted 3 lines · Grant Edwards

I just stumbled across the fact that there doesn't seem to be a 'zip' utility available either as a busybox applet or as a stand-alone utility with a buildroot package.

[...]

Quoted 1 line

Try the infozip package. Look under "Compressors and decompressors".

Doh! Thanks. My (somewhat old) version of buildroot doesn't have an infozip package, and I somehow missed it when searching through the git tree to see if a zip utility had been added "recently".

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Maybe I should have
                                  at               asked for my Neutron Bomb
                              gmail.com            in PAISLEY --