In 3.3.0-rc1 (not available in the version list in bugzilla), passing --enable-extra-templates causes unzip to prompt whether or not it may overwrite already existing files - making life unnecessarily hard for packagers. With --enable-extra-gallery --enable-extra-template --enable-extra-sample: Looking for /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/src/OOOP-gallery-pack-2.8.0.0.zip ... ok Unpacking OOOP-gallery-pack-2.8.0.0.zip replace /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/build/libreoffice-3.3.0.1/extras/source/gallery/accessories-nonfree/delzip? [y]es, [n]o, [A]ll, [N]one, [r]ename: A Looking for /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/src/OOOP-samples-pack-2.7.0.0.zip ... ok Unpacking OOOP-samples-pack-2.7.0.0.zip replace /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/build/libreoffice-3.3.0.1/extras/source/premium/samples-nonfree/documentation/lang/delzip? [y]es, [n]o, [A]ll, [N]one, [r]ename: A Looking for /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/src/OOOP-templates-pack-2.8.0.0.zip ... ok Unpacking OOOP-templates-pack-2.8.0.0.zip warning [/usr/src/ark/BUILD/libreoffice-build-3.3.0.1/src/OOOP-templates-pack-2.8.0.0.zip]: 151510 extra bytes at beginning or within zipfile (attempting to process anyway) file #1: bad zipfile offset (local header sig): 151510 (attempting to re-compensate) replace /usr/src/ark/BUILD/libreoffice-build-3.3.0.1/build/libreoffice-3.3.0.1/extras/source/premium/templates/misc/lang/delzip? [y]es, [n]o, [A]ll, [N]one, [r]ename: unzip should probably be invoked with the -o parameter.
Created attachment 40819 [details] Proposed patch
Looks good, applied & pushed for libreoffice-3-3
Not verified but without further comments, closing - Sophie