Name unzip
Description De-archiver for .zip files
Version 6.0-28ubuntu4.1
Package Base
Homepage https://infozip.sourceforge.net/UnZip.html
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/unzip/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/01-manpages-in-section-1-not-in-section-1l.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/02-this-is-debian-unzip.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/03-include-unistd-for-kfreebsd.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/04-handle-pkware-verification-bit.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/05-fix-uid-gid-handling.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/06-initialize-the-symlink-flag.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/07-increase-size-of-cfactorstr.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/08-allow-greater-hostver-values.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/09-cve-2014-8139-crc-overflow.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/10-cve-2014-8140-test-compr-eb.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/11-cve-2014-8141-getzip64data.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/12-cve-2014-9636-test-compr-eb.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/13-remove-build-date.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/14-cve-2015-7696.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/15-cve-2015-7697.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/16-fix-integer-underflow-csiz-decrypted.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/17-restore-unix-timestamps-accurately.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/18-cve-2014-9913-unzip-buffer-overflow.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/19-cve-2016-9844-zipinfo-buffer-overflow.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/20-cve-2018-1000035-unzip-buffer-overflow.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/20-unzip60-alt-iconv-utf8.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/21-fix-warning-messages-on-big-files.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/22-cve-2019-13232-fix-bug-in-undefer-input.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/23-cve-2019-13232-zip-bomb-with-overlapped-entries.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/24-cve-2019-13232-do-not-raise-alert-for-misplaced-central-directory.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/25-cve-2019-13232-fix-bug-in-uzbunzip2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/26-cve-2019-13232-fix-bug-in-uzinflate.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/27-zipgrep-avoid-test-errors.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/28-cve-2022-0529-and-cve-2022-0530.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/29-fix-troff-warning.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/handle_windows_zip64.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/unzip/plain/debian/patches/series?h=ubuntu/noble']
Dependencies ['libbz2-1.0', 'libc6']
Optional-Dependencies ['zip']
Build-Dependencies ['debhelper-compat', 'libbz2-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash a505b9d491386167bd8e14e3383315a4a7d6539e4406745901ccf009a7988271
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=-format

DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
CC = $(DEB_HOST_GNU_TYPE)-gcc
CFLAGS := `dpkg-buildflags --get CFLAGS` -Wall
LDFLAGS := `dpkg-buildflags --get LDFLAGS`
CPPFLAGS := `dpkg-buildflags --get CPPFLAGS`
DEFINES = -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \
 -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DIZ_HAVE_UXUIDGID -DNOMEMCPY \
 -DNO_WORKING_ISPRINT

%:
	dh $@

override_dh_auto_clean:
	$(MAKE) -f unix/Makefile clean

override_dh_auto_build:
	$(MAKE) -f unix/Makefile D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 \
		CC="$(CC)" LF2="$(LDFLAGS)" \
		CF="$(CFLAGS) $(CPPFLAGS) -I. $(DEFINES)" unzips

override_dh_auto_install:
	$(MAKE) -f unix/Makefile install prefix=`pwd`/debian/tmp/usr

override_dh_strip:
	dh_strip
	cd debian/unzip/usr/bin && rm -f zipinfo && ln unzip zipinfo

override_dh_compress:
	dh_compress -XBUGS -XToDo