Hello community, here is the log from the commit of package unzip checked in at Fri Dec 7 20:20:18 CET 2007. -------- --- unzip/unzip.changes 2007-12-03 13:27:33.000000000 +0100 +++ /mounts/work_src_done/STABLE/unzip/unzip.changes 2007-12-07 12:53:01.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 7 12:52:06 CET 2007 - pth@suse.de + +- Pass file mode when calling open with O_CREAT. + +------------------------------------------------------------------- New: ---- unzip-open_missing_mode.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unzip.spec ++++++ --- /var/tmp/diff_new_pack.n15320/_old 2007-12-07 20:20:00.000000000 +0100 +++ /var/tmp/diff_new_pack.n15320/_new 2007-12-07 20:20:00.000000000 +0100 @@ -17,7 +17,7 @@ Obsoletes: crunzip AutoReqProv: on Version: 5.52 -Release: 86 +Release: 87 Summary: A program to unpack compressed files Source: unzip552.tar.bz2 Url: http://www.info-zip.org/ @@ -28,6 +28,7 @@ Patch5: unzip-no_file_name_translation.patch Patch6: unzip-near-4GB.patch Patch7: unzip-CVE-2005-2475.patch +Patch8: unzip-open_missing_mode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -52,6 +53,7 @@ %patch5 %patch6 %patch7 +%patch8 %build export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector" @@ -83,6 +85,8 @@ %{_bindir}/zipgrep %changelog +* Fri Dec 07 2007 - pth@suse.de +- Pass file mode when calling open with O_CREAT. * Mon Dec 03 2007 - pth@suse.de - Add patch to extend the maximum file/archive size to 2^32-8193 (4294959103) bytes. ++++++ unzip-open_missing_mode.patch ++++++ --- fileio.c +++ fileio.c @@ -425,7 +425,9 @@ Trace((stderr, "open_outfile: doing fopen(%s) for writing\n", FnFilter1(G.filename))); - fd = open(G.filename, O_WRONLY | O_LARGEFILE | O_CREAT); + fd = open(G.filename, O_WRONLY | O_LARGEFILE | O_CREAT, + /* 0644 in portable POSIX notation: */ + S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if ((G.outfile = fdopen(fd, FOPW)) == (FILE *)NULL) { Info(slide, 0x401, ((char *)slide, LoadFarString(CannotCreateFile), FnFilter1(G.filename))); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org