commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2020-09-18 14:26:24 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new.4249 (New) Package is "cpio" Fri Sep 18 14:26:24 2020 rev:60 rq:833785 version:2.13 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2020-04-04 12:04:56.214610995 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new.4249/cpio.changes 2020-09-18 14:28:03.131269323 +0200 @@ -1,0 +2,16 @@ +Fri Sep 11 11:45:35 UTC 2020 - Dirk Mueller + +- add cpio-revert-CVE-2015-1197-fix.patch as recommended by upstream + to fix https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00016.html + +--- +Sat Aug 15 16:18:46 UTC 2020 - Dirk Mueller + +- update to 2.13: + * CVE-2015-1197, CVE-2016-2037, CVE-2019-14866 +- remove patches (upstream): + cpio-2.12-out_of_bounds_write.patch, cpio-2.12-CVE-2019-14866.patch, + cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch, + cpio-check_for_symlinks.patch + +--- Old: cpio-2.12-CVE-2019-14866.patch cpio-2.12-out_of_bounds_write.patch cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch cpio-2.12.tar.bz2 cpio-2.12.tar.bz2.sig cpio-check_for_symlinks.patch New: cpio-2.13.tar.bz2 cpio-2.13.tar.bz2.sig cpio-revert-CVE-2015-1197-fix.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.tRSkjt/_old 2020-09-18 14:28:04.363270563 +0200 +++ /var/tmp/diff_new_pack.tRSkjt/_new 2020-09-18 14:28:04.367270567 +0200 @@ -17,7 +17,7 @@ Name: cpio -Version:2.12 +Version:2.13 Release:0 Summary:A Backup and Archiving Utility License:GPL-3.0-only @@ -40,15 +40,13 @@ Patch20:cpio-close_files_after_copy.patch Patch21:cpio-pattern-file-sigsegv.patch Patch23:paxutils-rtapelib_mtget.patch -Patch24:cpio-check_for_symlinks.patch +# see https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00016.html +Patch24:cpio-revert-CVE-2015-1197-fix.patch Patch25:cpio-fix_truncation_check.patch -Patch26:cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch -Patch27:cpio-2.12-out_of_bounds_write.patch -Patch28:cpio-2.12-CVE-2019-14866.patch BuildRequires: autoconf BuildRequires: automake -Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} +#Requires(post): %{xinstall_info_prereq} +#Requires(preun): %{xinstall_info_prereq} Recommends: %{name}-mt = %{version} Recommends: rmt @@ -81,13 +79,11 @@ %patch17 %patch18 %patch20 +### %patch21 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 -%patch26 -p1 -%patch27 -p1 -%patch28 -p1 %build gettextize -f --no-changelog ++ cpio-2.12.tar.bz2 -> cpio-2.13.tar.bz2 ++ 73413 lines of diff (skipped) ++ cpio-close_files_after_copy.patch ++ --- /var/tmp/diff_new_pack.tRSkjt/_old 2020-09-18 14:28:05.383271590 +0200 +++ /var/tmp/diff_new_pack.tRSkjt/_new 2020-09-18 14:28:05.383271590 +0200 @@ -1,10 +1,10 @@ Index: src/copyin.c === src/copyin.c.orig 2010-08-10 16:45:19.0 +0200 -+++ src/copyin.c 2010-08-10 16:45:19.0 +0200 -@@ -1485,6 +1485,19 @@ process_copy_in () +--- src/copyin.c.orig src/copyin.c +@@ -1420,6 +1420,19 @@ process_copy_in () - apply_delayed_set_stat (); + cpio_file_stat_free (_hdr); + if (tty_in) + { ++ cpio-default_tape_dev.patch ++ --- /var/tmp/diff_new_pack.tRSkjt/_old 2020-09-18 14:28:05.395271603 +0200 +++ /var/tmp/diff_new_pack.tRSkjt/_new 2020-09-18 14:28:05.395271603 +0200 @@ -2,7 +2,7 @@ === --- src/mt.c.orig +++ src/mt.c -@@ -413,11 +413,18 @@ parse_opt (int key, char *arg, struct ar +@@ -225,11 +225,18 @@ parse_opt (int key, char *arg, struct ar { tapedev = getenv ("TAPE"); if (tapedev == NULL) ++ cpio-dev_number.patch ++ --- /var/tmp/diff_new_pack.tRSkjt/_old 2020-09-18 14:28:05.407271615 +0200 +++ /var/tmp/diff_new_pack.tRSkjt/_new 2020-09-18 14:28:05.407271615 +0200 @@ -1,6 +1,8 @@ src/copyin.c 2008-07-11 13:20:27.0 +0200 -+++ src/copyin.c 2008-07-18 10:55:58.0 +0200 -@@ -1269,15 +1269,15 @@ +Index: src/copyin.c +=== +--- src/copyin.c.orig src/copyin.c +@@ -1123,15 +1123,15 @@ read_in_binary (struct cpio_file_stat *f swab_array ((char *) short_hdr, 13); } @@ -19,4
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2020-04-04 12:04:40 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new.3248 (New) Package is "cpio" Sat Apr 4 12:04:40 2020 rev:59 rq:789865 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2019-11-11 12:57:00.537475462 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new.3248/cpio.changes 2020-04-04 12:04:56.214610995 +0200 @@ -1,0 +2,8 @@ +Sun Mar 29 20:54:38 UTC 2020 - Kristyna Streitova + +- starting with GCC 10, the default of '-fcommon' option will + change to '-fno-common'. Because cpio build fails with + 'fno-common', add '-fcommon' option to optflags as a temporary + workaround for this problem till it's properly fixed [bsc#1160870] + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.M5zyWo/_old 2020-04-04 12:05:00.990616023 +0200 +++ /var/tmp/diff_new_pack.M5zyWo/_new 2020-04-04 12:05:00.994616027 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -92,7 +92,7 @@ %build gettextize -f --no-changelog autoreconf -fiv -export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" +export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fcommon" %configure \ --with-rmt="%{_bindir}/rmt" \ --enable-mt \
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2019-11-11 12:56:57 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new.2990 (New) Package is "cpio" Mon Nov 11 12:56:57 2019 rev:58 rq:745326 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2019-09-30 15:47:51.367059815 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new.2990/cpio.changes 2019-11-11 12:57:00.537475462 +0100 @@ -1,0 +2,8 @@ +Mon Nov 4 15:53:41 UTC 2019 - Kristyna Streitova + +- add cpio-2.12-CVE-2019-14866.patch to fix a security issue where + cpio does not properly validate the values written in the header + of a TAR file through the to_oct() function [bsc#1155199] + [CVE-2019-14866] + +--- New: cpio-2.12-CVE-2019-14866.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.6ikN3z/_old 2019-11-11 12:57:02.025477038 +0100 +++ /var/tmp/diff_new_pack.6ikN3z/_new 2019-11-11 12:57:02.025477038 +0100 @@ -44,6 +44,7 @@ Patch25:cpio-fix_truncation_check.patch Patch26:cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch Patch27:cpio-2.12-out_of_bounds_write.patch +Patch28:cpio-2.12-CVE-2019-14866.patch BuildRequires: autoconf BuildRequires: automake Requires(post): %{install_info_prereq} @@ -86,6 +87,7 @@ %patch25 -p1 %patch26 -p1 %patch27 -p1 +%patch28 -p1 %build gettextize -f --no-changelog ++ cpio-2.12-CVE-2019-14866.patch ++ >From 7554e3e42cd72f6f8304410c47fe6f8918e9bfd7 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 3 Nov 2019 23:59:39 +0200 Subject: Fix CVE-2019-14866 * src/copyout.c (to_ascii): Additional argument nul controls whether to add the terminating nul character. (field_width_error): Improve diagnostics: print the actual and the maximum allowed field value. * src/extern.h (to_ascii, field_width_error): New prototypes. * src/tar.c (to_oct): Remove. (to_oct_or_error): New function. (TO_OCT): New macro. (write_out_tar_header): Use TO_OCT and to_ascii. Return 0 on success, 1 on error. --- src/copyout.c | 49 src/extern.h | 15 +++-- src/tar.c | 72 +++ 3 files changed, 76 insertions(+), 60 deletions(-) Index: cpio-2.12/src/copyout.c === --- cpio-2.12.orig/src/copyout.c +++ cpio-2.12/src/copyout.c @@ -269,26 +269,32 @@ writeout_final_defers (int out_des) so it should be moved to paxutils too. Allowed values for logbase are: 1 (binary), 2, 3 (octal), 4 (hex) */ int -to_ascii (char *where, uintmax_t v, size_t digits, unsigned logbase) +to_ascii (char *where, uintmax_t v, size_t digits, unsigned logbase, bool nul) { static char codetab[] = "0123456789ABCDEF"; - int i = digits; - - do + + if (nul) +where[--digits] = 0; + while (digits > 0) { - where[--i] = codetab[(v & ((1 << logbase) - 1))]; + where[--digits] = codetab[(v & ((1 << logbase) - 1))]; v >>= logbase; } - while (i); return v != 0; } -static void -field_width_error (const char *filename, const char *fieldname) +void +field_width_error (const char *filename, const char *fieldname, + uintmax_t value, size_t width, bool nul) { - error (0, 0, _("%s: field width not sufficient for storing %s"), -filename, fieldname); + char valbuf[UINTMAX_STRSIZE_BOUND + 1]; + char maxbuf[UINTMAX_STRSIZE_BOUND + 1]; + error (0, 0, _("%s: value %s %s out of allowed range 0..%s"), +filename, fieldname, +STRINGIFY_BIGINT (value, valbuf), +STRINGIFY_BIGINT (MAX_VAL_WITH_DIGITS (width - nul, LG_8), + maxbuf)); } static void @@ -303,7 +309,7 @@ to_ascii_or_warn (char *where, uintmax_t unsigned logbase, const char *filename, const char *fieldname) { - if (to_ascii (where, n, digits, logbase)) + if (to_ascii (where, n, digits, logbase, false)) field_width_warning (filename, fieldname); } @@ -312,9 +318,9 @@ to_ascii_or_error (char *where, uintmax_ unsigned logbase, const char *filename, const char *fieldname) { - if (to_ascii (where, n, digits, logbase)) + if (to_ascii (where, n, digits, logbase, false)) { - field_width_error (filename, fieldname); + field_width_error (filename, fieldname, n, digits, false); return 1; } return 0; @@ -371,7 +377,7 @@ write_out_new_ascii_header (const char * _("name size")))
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2019-09-30 15:47:50 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new.2352 (New) Package is "cpio" Mon Sep 30 15:47:50 2019 rev:57 rq:731959 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2018-10-02 19:40:21.502304367 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new.2352/cpio.changes 2019-09-30 15:47:51.367059815 +0200 @@ -1,0 +2,6 @@ +Thu Sep 19 11:50:42 UTC 2019 - Ludwig Nussel + +- Do not recommend lang package. The lang package already has a + supplements. + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.0o1Shn/_old 2019-09-30 15:47:51.971058208 +0200 +++ /var/tmp/diff_new_pack.0o1Shn/_new 2019-09-30 15:47:51.971058208 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,7 +48,6 @@ BuildRequires: automake Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -Recommends: %{name}-lang = %{version} Recommends: %{name}-mt = %{version} Recommends: rmt
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2018-10-02 19:40:14 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Tue Oct 2 19:40:14 2018 rev:56 rq:638679 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2018-09-20 11:38:15.900969184 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2018-10-02 19:40:21.502304367 +0200 @@ -1,0 +2,6 @@ +Wed Sep 26 19:51:04 UTC 2018 - Bernhard Wiedemann + +- Use gettextize --no-changelog to drop build date + to make package build reproducible (boo#1047218) + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.EsWVsS/_old 2018-10-02 19:40:23.354301618 +0200 +++ /var/tmp/diff_new_pack.EsWVsS/_new 2018-10-02 19:40:23.358301613 +0200 @@ -89,7 +89,7 @@ %patch27 -p1 %build -gettextize -f +gettextize -f --no-changelog autoreconf -fiv export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" %configure \
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2018-09-20 11:38:13 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Thu Sep 20 11:38:13 2018 rev:55 rq:636113 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2017-05-10 20:31:38.310672952 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2018-09-20 11:38:15.900969184 +0200 @@ -1,0 +2,8 @@ +Fri Sep 14 08:33:28 UTC 2018 - Martin Pluskal + +- Use URL to fetch keyring +- Do not force building with PIE, it is default now anyways +- Use https for URLs +- Install license + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.Yj6zj9/_old 2018-09-20 11:38:16.680968724 +0200 +++ /var/tmp/diff_new_pack.Yj6zj9/_new 2018-09-20 11:38:16.684968722 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,12 +20,12 @@ Version:2.12 Release:0 Summary:A Backup and Archiving Utility -License:GPL-3.0 +License:GPL-3.0-only Group: Productivity/Archiving/Backup -Url:http://www.gnu.org/software/cpio/cpio.html -Source0:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 -Source1:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig -Source2:%{name}.keyring +URL:https://www.gnu.org/software/cpio/cpio.html +Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 +Source1:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig +Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}=1#/%{name}.keyring Patch2: cpio-use_new_ascii_format.patch Patch4: cpio-use_sbin_rmt.patch #PATCH-FIX-UPSTREAM cpio-2.12 cpio-open_nonblock.patch bnc#94449, @@ -51,7 +51,6 @@ Recommends: %{name}-lang = %{version} Recommends: %{name}-mt = %{version} Recommends: rmt -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU cpio is a program to manage archives of files. Cpio copies files @@ -92,8 +91,7 @@ %build gettextize -f autoreconf -fiv -export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" -export LDFLAGS="-pie" +export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" %configure \ --with-rmt="%{_bindir}/rmt" \ --enable-mt \ @@ -133,24 +131,23 @@ fi %files -%defattr(-,root,root) +%license COPYING +%doc NEWS ChangeLog #UsrMerge /bin/cpio #EndUsrMerge %{_bindir}/cpio -%{_infodir}/cpio.info%{ext_info} -%{_mandir}/man1/cpio.1%{ext_man} +%{_infodir}/cpio.info%{?ext_info} +%{_mandir}/man1/cpio.1%{?ext_man} %files mt -%defattr(-,root,root) %ghost %{_bindir}/mt %{_bindir}/gnumt %ghost %{_mandir}/man1/mt.1%{ext_man} -%{_mandir}/man1/gnumt.1%{ext_man} +%{_mandir}/man1/gnumt.1%{?ext_man} %ghost %{_sysconfdir}/alternatives/mt %ghost %{_sysconfdir}/alternatives/mt.1%{ext_man} %files lang -f %{name}.lang -%defattr(-,root,root) %changelog ++ cpio.keyring ++ --- /var/tmp/diff_new_pack.Yj6zj9/_old 2018-09-20 11:38:16.740968689 +0200 +++ /var/tmp/diff_new_pack.Yj6zj9/_new 2018-09-20 11:38:16.740968689 +0200 @@ -1,267 +1,31 @@ --BEGIN PGP PUBLIC KEY BLOCK- -Version: GnuPG v2 - -mQGiBDxhQHkRBACyhJxCLQvLs70IUZSlYVKAm+u1Oa4RyUo5/ctCcMm2KOcjui3z -xs+yUwlglo1n/de9NNJY98PJNLHniMVi5sPba8OKwYx9bilwuAWLgTsgfpX8UuuY -TANQmTybmrxjzxrGqN7eyjBT3utgbK3ACKDo/JUCgZMkdFu2c2i7186sDwCgo9pQ -ygxOOWEWBm70Rymdfvkon6EEAKY5h9nL1qYw46vM1+QY+vhyX2lHTD/E9QyFQv4L -driY3CerLAZ07yk5p8I6T31d7HEUt9DZcl0ZD99Y9IH84wWvms1xtnCuoLlP4ntw -FQ5ZUZtMY0AIVRtFbgkTDDLZsdanscqMu/LqnO2/QWjCQhaO/tcaIdPVgBIbCr28 -fuBJA/9KA5vbQBd4WnNFLVJsr47irnJBYdR+OqPQAUFUcQPO1metR76UZ7+7LwtO -ldAjPN3RDJtRB8/JooHDNq+VCEzjs02JaBpQ+BCOzzqELnkoBPl26yHR56r4WbC5 -+FH/QxEaicjVGxIF/Z9crzG/XUMXwieTNcM6HoGCnMboGqCM4bQgU2VyZ2V5IFBv -em55YWtvZmYgPGdyYXlAZ251Lm9yZz6IXgQTEQIAHgUCQ/CVtQIbAwYLCQgHAwID -FQIDAxYCAQIeAQIXgAAKCRA2ArB/VdDHMkVKAJ41glKzudqU5UgxMkHdSLo28ov+ -cACeLUrGgtmv/6MbmICeG64v6KOrnga0I1NlcmdleSBQb3pueWFrb2ZmIDxncmF5
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2017-05-10 20:31:36 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Wed May 10 20:31:36 2017 rev:54 rq:487331 version:2.12 Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2016-03-14 09:56:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2017-05-10 20:31:38.310672952 +0200 @@ -1,0 +2,30 @@ +Tue Apr 11 10:06:17 UTC 2017 - kstreit...@suse.com + +- modify cpio-2.12-out_of_bounds_write.patch to fix a regression + causing cpio to crash for tar and ustar archive types + [bsc#1028410] + +--- +Mon Mar 27 11:13:08 UTC 2017 - mplus...@suse.com + +- Use macro for configure and make install +- Use update-alternatives according to current documentation +- Enable testsuite + +--- +Fri Mar 24 13:28:00 UTC 2017 - sv...@svalx.net + +- Enable mt building +- Separated cpio-mt subpackge +- Change recommend to own mt subpackge +- Remove cpio-mt.patch - those features available in original mt-st package +- Switch to use alternatives system for mt +- Disable rmt building: this binary fully identical to rmt from tar +- Change default rmt dir to /usr/bin + +--- +Thu Mar 23 15:14:25 UTC 2017 - kstreit...@suse.com + +- cleanup with spec-cleaner + +--- Old: cpio-mt.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.RQm0mD/_old 2017-05-10 20:31:40.074424118 +0200 +++ /var/tmp/diff_new_pack.RQm0mD/_new 2017-05-10 20:31:40.078423554 +0200 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,10 +27,9 @@ Source1:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2.sig Source2:%{name}.keyring Patch2: cpio-use_new_ascii_format.patch -#oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) -#TODO: review is patches needed while mt is no longer building -Patch3: cpio-mt.patch Patch4: cpio-use_sbin_rmt.patch +#PATCH-FIX-UPSTREAM cpio-2.12 cpio-open_nonblock.patch bnc#94449, +#https://savannah.gnu.org/patch/?9263 -- open device with O_NONBLOCK option Patch5: cpio-open_nonblock.patch Patch15:cpio-eof_tape_handling.patch # make posibble to have device nodes with major number > 127 @@ -47,10 +46,11 @@ Patch27:cpio-2.12-out_of_bounds_write.patch BuildRequires: autoconf BuildRequires: automake -Recommends: mt_st Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} Recommends: %{name}-lang = %{version} +Recommends: %{name}-mt = %{version} +Recommends: rmt BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,16 +60,22 @@ time stamps, and access permissions. The archive can be another file on the disk, a magnetic tape, or a pipe. -This package also includes the program 'rmt', which provides remote tape -drive control. The 'mt', a local tape drive control program can be found -in mt_st package. +%package mt +Summary:Tape drive control utility +Group: Productivity/Archiving/Backup +Requires: %{name} = %{version} +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: mt + +%description mt +This package includes the 'mt', a local tape drive control program. %lang_package %prep %setup -q %patch2 -%patch3 %patch4 %patch5 %patch15 @@ -82,37 +88,49 @@ %patch25 -p1 %patch26 -p1 %patch27 -p1 -#chmod 755 . -#chmod u+w * -#chmod a+r * %build gettextize -f -autoreconf --force --install -CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" \ -LDFLAGS="-pie" \ -./configure \ ---prefix=%{_prefix} \ ---mandir=%{_mandir} \ ---infodir=%{_infodir} \ ---libdir=%{_libdir} \ ---disable-silent-rules +autoreconf -fiv +export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" +export LDFLAGS="-pie" +%configure \ + --with-rmt="%{_bindir}/rmt" \ + --enable-mt \ + --disable-silent-rules \ + --program-transform-name='s/^mt$/gnumt/' make %{?_smp_mflags} %install mkdir -p %{buildroot}/{usr/bin,bin} -make
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2016-03-14 09:56:30 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2016-02-24 18:28:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2016-03-14 09:56:31.0 +0100 @@ -1,0 +2,21 @@ +Sat Mar 5 12:31:47 UTC 2016 - mplus...@suse.com + +- Recommend mt_st as it is not hard dependency + +--- +Thu Mar 3 09:44:23 UTC 2016 - kstreit...@suse.com + +- fix typos in the description +- add 'Require: mt_st' in order not to surprise users by the missing + 'mt' binary + +--- +Thu Mar 3 07:19:03 UTC 2016 - sv...@svalx.net + +- Disable mt building: this binary from mt_st package offers + advanced capabilities with the same functionality. +- Enable rmt building: 'dump' package no longer include it, besides + cpio code base for rmt is more fresh. +- Reflect those changes in the package description. + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.I6CJxU/_old 2016-03-14 09:56:32.0 +0100 +++ /var/tmp/diff_new_pack.I6CJxU/_new 2016-03-14 09:56:32.0 +0100 @@ -28,6 +28,7 @@ Source2:%{name}.keyring Patch2: cpio-use_new_ascii_format.patch #oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) +#TODO: review is patches needed while mt is no longer building Patch3: cpio-mt.patch Patch4: cpio-use_sbin_rmt.patch Patch5: cpio-open_nonblock.patch @@ -46,22 +47,22 @@ Patch27:cpio-2.12-out_of_bounds_write.patch BuildRequires: autoconf BuildRequires: automake +Recommends: mt_st Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -GNU cpio is a program to manage archives of files. This package also -includes 'mt', a tape drive control program. Cpio copies files into or -out of a cpio or tar archive. An archive is a file that contains other -files plus information about them, such as their pathname, owner, time -stamps, and access permissions. The archive can be another file on the -disk, a magnetic tape, or a pipe. This package normally includes the -program 'rmt', which provides remote tape drive control. Because there -is a compatible 'rmt' in the 'dump' package, 'rmt' is not included in -this package. If you are planning to use the remote tape features -provided by cpio, install the 'dump' package as well. +GNU cpio is a program to manage archives of files. Cpio copies files +into or out of a cpio or tar archive. An archive is a file that contains +other files plus information about them, such as their pathname, owner, +time stamps, and access permissions. The archive can be another file on +the disk, a magnetic tape, or a pipe. + +This package also includes the program 'rmt', which provides remote tape +drive control. The 'mt', a local tape drive control program can be found +in mt_st package. %lang_package @@ -91,8 +92,6 @@ CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE" \ LDFLAGS="-pie" \ ./configure \ ---with-rmt="%{_sysconfdir}/rmt" \ ---enable-mt \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ @@ -102,7 +101,8 @@ %install mkdir -p %{buildroot}/{usr/bin,bin} -make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}/%{_infodir} mandir=%{buildroot}/%{_mandir} install +make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} mandir=%{buildroot}%{_mandir} \ + DEFAULT_RMT_DIR=%{buildroot}%{_sbindir} install #UsrMerge ln -sf %{_bindir}/cpio %{buildroot}/bin #EndUsrMerge @@ -120,11 +120,10 @@ /bin/cpio #EndUsrMerge %{_bindir}/cpio -%{_bindir}/mt +%{_sbindir}/rmt %{_infodir}/cpio.info.gz %{_mandir}/man1/cpio.1.gz -%{_mandir}/man1/mt.1.gz -#/usr/share/locale/*/LC_MESSAGES/cpio.mo +%{_mandir}/man8/rmt.8.gz %files lang -f %{name}.lang %defattr(-,root,root)
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2016-02-24 18:28:55 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2015-10-14 16:34:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2016-02-24 18:28:56.0 +0100 @@ -1,0 +2,7 @@ +Fri Feb 19 15:47:00 UTC 2016 - kstreit...@suse.com + +- add cpio-2.12-out_of_bounds_write.patch to fix an out of bounds + write in a way cpio parses certain cpio files [bsc#963448], + [CVE-2016-2037] + +--- New: cpio-2.12-out_of_bounds_write.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.PfcCw2/_old 2016-02-24 18:28:57.0 +0100 +++ /var/tmp/diff_new_pack.PfcCw2/_new 2016-02-24 18:28:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,7 @@ Patch24:cpio-check_for_symlinks.patch Patch25:cpio-fix_truncation_check.patch Patch26:cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch +Patch27:cpio-2.12-out_of_bounds_write.patch BuildRequires: autoconf BuildRequires: automake Requires(post): %{install_info_prereq} @@ -79,6 +80,7 @@ %patch24 -p1 %patch25 -p1 %patch26 -p1 +%patch27 -p1 #chmod 755 . #chmod u+w * #chmod a+r * ++ cpio-2.12-out_of_bounds_write.patch ++ * src/copyin.c (process_copy_in): Make sure that file_hdr.c_name has at least two bytes allocated. * src/util.c (cpio_safer_name_suffix): Document that use of this function requires to be careful. --- src/copyin.c | 2 ++ src/util.c | 5 - 2 files changed, 6 insertions(+), 1 deletion(-) Index: cpio-2.12/src/copyin.c === --- cpio-2.12.orig/src/copyin.c +++ cpio-2.12/src/copyin.c @@ -1434,6 +1434,8 @@ process_copy_in () break; } + if (file_hdr.c_namesize <= 1) +file_hdr.c_name = xrealloc(file_hdr.c_name, 2); cpio_safer_name_suffix (file_hdr.c_name, false, !no_abs_paths_flag, false); Index: cpio-2.12/src/util.c === --- cpio-2.12.orig/src/util.c +++ cpio-2.12/src/util.c @@ -1460,7 +1460,10 @@ set_file_times (int fd, } /* Do we have to ignore absolute paths, and if so, does the filename - have an absolute path? */ + have an absolute path? + Before calling this function make sure that the allocated NAME buffer has + capacity at least 2 bytes to allow us to store the "." string inside. */ + void cpio_safer_name_suffix (char *name, bool link_target, bool absolute_names, bool strip_leading_dots)
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2015-10-14 16:34:57 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is "cpio" Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2015-03-23 12:11:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2015-10-14 16:34:58.0 +0200 @@ -1,0 +2,22 @@ +Thu Oct 8 11:57:19 UTC 2015 - kstreit...@suse.com + +- update to 2.12 + * Improved documentation + * Manpages are installed by make install + * New options for copy-out mode: --ignore-devno, +--renumber-inodes, --device-independent, --reproducible + * update +* cpio-use_new_ascii_format.patch +* cpio-mt.patch +* cpio-eof_tape_handling.patch +* cpio-pattern-file-sigsegv.patch +* cpio-check_for_symlinks.patch + * remove (no longer needed) +* cpio-stdio.in.patch +* 0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch + * add +* cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch to add missing + return to the nonvoid get_inode_and_dev() function +- use spec-cleaner + +--- Old: 0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch cpio-2.11.tar.bz2 cpio-2.11.tar.bz2.sig cpio-stdio.in.patch New: cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch cpio-2.12.tar.bz2 cpio-2.12.tar.bz2.sig Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.9rx3OX/_old 2015-10-14 16:34:59.0 +0200 +++ /var/tmp/diff_new_pack.9rx3OX/_new 2015-10-14 16:34:59.0 +0200 @@ -17,7 +17,7 @@ Name: cpio -Version:2.11 +Version:2.12 Release:0 Summary:A Backup and Archiving Utility License:GPL-3.0 @@ -39,11 +39,10 @@ #PATCH-FIX-UPSTREAM cpio-2.10-close_files_after_copy.patch Patch20:cpio-close_files_after_copy.patch Patch21:cpio-pattern-file-sigsegv.patch -Patch22:cpio-stdio.in.patch Patch23:paxutils-rtapelib_mtget.patch Patch24:cpio-check_for_symlinks.patch Patch25:cpio-fix_truncation_check.patch -Patch26:0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch +Patch26:cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch BuildRequires: autoconf BuildRequires: automake Requires(post): %{install_info_prereq} @@ -76,7 +75,6 @@ %patch18 %patch20 %patch21 -p1 -%patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 @@ -93,7 +91,7 @@ ./configure \ --with-rmt="%{_sysconfdir}/rmt" \ --enable-mt \ ---prefix=/usr \ +--prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --libdir=%{_libdir} \ @@ -102,7 +100,7 @@ %install mkdir -p %{buildroot}/{usr/bin,bin} -make prefix=%{buildroot}/usr infodir=%{buildroot}/%{_infodir} mandir=%{buildroot}/%{_mandir} install +make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}/%{_infodir} mandir=%{buildroot}/%{_mandir} install #UsrMerge ln -sf %{_bindir}/cpio %{buildroot}/bin #EndUsrMerge @@ -121,9 +119,9 @@ #EndUsrMerge %{_bindir}/cpio %{_bindir}/mt -%doc %{_infodir}/cpio.info.gz -%doc %{_mandir}/man1/cpio.1.gz -%doc %{_mandir}/man1/mt.1.gz +%{_infodir}/cpio.info.gz +%{_mandir}/man1/cpio.1.gz +%{_mandir}/man1/mt.1.gz #/usr/share/locale/*/LC_MESSAGES/cpio.mo %files lang -f %{name}.lang ++ cpio-2.12-util.c_no_return_in_nonvoid_fnc.patch ++ Index: cpio-2.12/src/util.c === --- cpio-2.12.orig/src/util.c +++ cpio-2.12/src/util.c @@ -812,6 +812,7 @@ get_inode_and_dev (struct cpio_file_stat hdr->c_dev_maj = major (st->st_dev); hdr->c_dev_min = minor (st->st_dev); } + return 0; } ++ cpio-2.11.tar.bz2 -> cpio-2.12.tar.bz2 ++ 207368 lines of diff (skipped) ++ cpio-check_for_symlinks.patch ++ --- /var/tmp/diff_new_pack.9rx3OX/_old 2015-10-14 16:35:01.0 +0200 +++ /var/tmp/diff_new_pack.9rx3OX/_new 2015-10-14 16:35:01.0 +0200 @@ -1,8 +1,8 @@ -Index: cpio-2.11/src/copyin.c +Index: cpio-2.12/src/copyin.c === cpio-2.11.orig/src/copyin.c2014-07-01 14:02:39.991007263 +0200 -+++ cpio-2.11/src/copyin.c 2014-07-22 16:05:28.171344584 +0200 -@@ -686,6 +686,51 @@ copyin_link(struct cpio_file_stat *file_ +--- cpio-2.12.orig/src/copyin.c cpio-2.12/src/copyin.c +@@ -695,6 +695,51 @@ copyin_link (struct cpio_file_stat *file free (link_name); } @@ -54,7 +54,7 @@ static void copyin_file (struct cpio_file_stat *file_hdr, int in_file_des) {
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2015-01-08 23:00:58 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2014-12-10 23:43:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2015-01-08 23:01:02.0 +0100 @@ -1,0 +2,5 @@ +Thu Jan 1 22:54:20 UTC 2015 - meiss...@suse.com + +- build with PIE + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.hRjsH7/_old 2015-01-08 23:01:03.0 +0100 +++ /var/tmp/diff_new_pack.hRjsH7/_new 2015-01-08 23:01:03.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -92,7 +92,8 @@ %build gettextize -f autoreconf --force --install -CFLAGS=$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ +CFLAGS=$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIE \ +LDFLAGS=-pie \ ./configure \ --with-rmt=%{_sysconfdir}/rmt \ --enable-mt \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
binALHvBXkbMr.bin Description: Binary data
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2014-08-30 16:04:07 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2014-08-25 12:59:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2014-08-30 16:04:44.0 +0200 @@ -1,0 +2,7 @@ +Fri Aug 29 19:39:35 UTC 2014 - jeng...@inai.de + +- Improve on RPM group classification (cpio does not compress + on its own per se) +- Remove redundant %clean section + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.k6CGTK/_old 2014-08-30 16:04:45.0 +0200 +++ /var/tmp/diff_new_pack.k6CGTK/_new 2014-08-30 16:04:45.0 +0200 @@ -24,7 +24,7 @@ Release:0 Summary:A Backup and Archiving Utility License:GPL-3.0 -Group: Productivity/Archiving/Compression +Group: Productivity/Archiving/Backup Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Patch2: cpio-use_new_ascii_format.patch #oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) @@ -115,9 +115,6 @@ %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) #UsrMerge -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2014-08-25 12:59:43 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2014-08-01 11:48:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2014-08-25 12:59:44.0 +0200 @@ -1,0 +2,7 @@ +Thu Aug 21 11:35:36 UTC 2014 - vci...@suse.com + +- drop cpio-dir_perm.patch + * no longer needed since 2.11 + * it was dropped from Fedora too and only caused problems (bnc#889138) + +--- Old: cpio-dir_perm.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.jfDIi3/_old 2014-08-25 12:59:45.0 +0200 +++ /var/tmp/diff_new_pack.jfDIi3/_new 2014-08-25 12:59:45.0 +0200 @@ -31,8 +31,6 @@ Patch3: cpio-mt.patch Patch4: cpio-use_sbin_rmt.patch Patch5: cpio-open_nonblock.patch -#patch dir_perm reverts some things which were added by patch #7 chmodRaceC -Patch14:cpio-dir_perm.patch Patch15:cpio-eof_tape_handling.patch # make posibble to have device nodes with major number 127 # Red Hat Bugzilla #450109 @@ -76,7 +74,6 @@ %patch3 %patch4 %patch5 -%patch14 -p1 %patch15 %patch17 %patch18 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
bin_wPwIZn0HZ.bin Description: Binary data
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2013-03-22 11:01:21 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2012-07-20 10:24:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2013-03-22 11:01:22.0 +0100 @@ -1,0 +2,6 @@ +Thu Mar 21 12:03:37 UTC 2013 - mmeis...@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.MWn5pB/_old 2013-03-22 11:01:24.0 +0100 +++ /var/tmp/diff_new_pack.MWn5pB/_new 2013-03-22 11:01:24.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ Summary:A Backup and Archiving Utility License:GPL-3.0 Group: Productivity/Archiving/Compression -Source: cpio-%{version}.tar.bz2 +Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Patch2: cpio-use_new_ascii_format.patch #oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) Patch3: cpio-mt.patch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2012-07-20 10:16:11 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2012-02-07 14:45:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2012-07-20 10:24:10.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 18 08:31:24 UTC 2012 - a...@suse.de + +- Fix build with missing gets declaration (glibc 2.16) + +--- New: cpio-stdio.in.patch Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.1eXQa9/_old 2012-07-20 10:24:12.0 +0200 +++ /var/tmp/diff_new_pack.1eXQa9/_new 2012-07-20 10:24:12.0 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: cpio Url:http://www.gnu.org/software/cpio/cpio.html BuildRequires: autoconf @@ -40,6 +41,7 @@ #PATCH-FIX-UPSTREAM cpio-2.10-close_files_after_copy.patch Patch20:cpio-close_files_after_copy.patch Patch21:cpio-pattern-file-sigsegv.patch +Patch22:cpio-stdio.in.patch PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang = %{version} @@ -76,6 +78,7 @@ %patch18 %patch20 %patch21 -p1 +%patch22 -p1 #chmod 755 . #chmod u+w * #chmod a+r * ++ cpio-stdio.in.patch ++ Index: cpio-2.11/gnu/stdio.in.h === --- cpio-2.11.orig/gnu/stdio.in.h +++ cpio-2.11/gnu/stdio.in.h @@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, fflush is not /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ +#if HAVE_RAW_DECL_GETS #undef gets _GL_WARN_ON_USE (gets, gets is a security hole - use fgets instead); +#endif #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2012-02-07 14:45:03 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2012-01-20 20:23:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2012-02-07 14:45:04.0 +0100 @@ -1,0 +2,5 @@ +Thu Feb 2 13:31:13 UTC 2012 - rschweik...@suse.com + +- leave binary in /usr (UsrMerge project), link to binary from /bin + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.FZuST2/_old 2012-02-07 14:45:06.0 +0100 +++ /var/tmp/diff_new_pack.FZuST2/_new 2012-02-07 14:45:06.0 +0100 @@ -97,8 +97,9 @@ %install mkdir -p $RPM_BUILD_ROOT/{usr/bin,bin} make prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT/%_infodir mandir=$RPM_BUILD_ROOT/%_mandir install -mv $RPM_BUILD_ROOT/usr/bin/cpio $RPM_BUILD_ROOT/bin -ln -sf ../../bin/cpio $RPM_BUILD_ROOT/usr/bin/cpio +#UsrMerge +ln -sf %_bindir/cpio $RPM_BUILD_ROOT/bin +#EndUsrMerge %find_lang %{name} %post @@ -112,9 +113,11 @@ %files %defattr(-,root,root) +#UsrMerge /bin/cpio -/usr/bin/cpio -/usr/bin/mt +#EndUsrMerge +%_bindir/cpio +%_bindir/mt %doc %{_infodir}/cpio.info.gz %doc %{_mandir}/man1/cpio.1.gz %doc %{_mandir}/man1/mt.1.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at 2012-01-20 20:23:14 Comparing /work/SRC/openSUSE:Factory/cpio (Old) and /work/SRC/openSUSE:Factory/.cpio.new (New) Package is cpio, Maintainer is vci...@suse.com Changes: --- /work/SRC/openSUSE:Factory/cpio/cpio.changes2011-09-23 01:54:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes 2012-01-20 20:23:15.0 +0100 @@ -1,0 +2,10 @@ +Mon Jan 2 17:27:13 UTC 2012 - vci...@suse.cz + +- added autoconf to BuildRequires + +--- +Thu Dec 1 11:21:00 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.PjjYy9/_old 2012-01-20 20:23:17.0 +0100 +++ /var/tmp/diff_new_pack.PjjYy9/_new 2012-01-20 20:23:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpio # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: cpio Url:http://www.gnu.org/software/cpio/cpio.html -License:GPLv3 -Group: Productivity/Archiving/Compression -AutoReqProv:on +BuildRequires: autoconf +BuildRequires: automake Version:2.11 -Release:8 +Release:0 Summary:A Backup and Archiving Utility +License:GPL-3.0 +Group: Productivity/Archiving/Compression Source: cpio-%{version}.tar.bz2 Patch2: cpio-use_new_ascii_format.patch #oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cpio for openSUSE:Factory
Hello community, here is the log from the commit of package cpio for openSUSE:Factory checked in at Mon Sep 19 21:07:15 CEST 2011. --- cpio/cpio.changes 2010-11-09 12:22:13.0 +0100 +++ /mounts/work_src_done/STABLE/cpio/cpio.changes 2011-09-18 16:50:19.0 +0200 @@ -1,0 +2,5 @@ +Sun Sep 18 14:50:06 UTC 2011 - andrea.turr...@gmail.com + +- fix typos in spec file + +--- Package does not exist at destination yet. Using Fallback cpio Destination is cpio calling whatdependson for head-i586 Other differences: -- ++ cpio.spec ++ --- /var/tmp/diff_new_pack.6lJWu8/_old 2011-09-19 21:07:09.0 +0200 +++ /var/tmp/diff_new_pack.6lJWu8/_new 2011-09-19 21:07:09.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package cpio (Version 2.11) +# spec file for package cpio # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,10 +53,10 @@ files plus information about them, such as their pathname, owner, time stamps, and access permissions. The archive can be another file on the disk, a magnetic tape, or a pipe. This package normally includes the -program 'rmt', which providesremote tape drive control. Because there -is a compatible 'rmt' in the'dump' package, 'rmt' is not included in -this package. If you are planningto use the remote tape features -provided by cpio, install the'dump' package as well. +program 'rmt', which provides remote tape drive control. Because there +is a compatible 'rmt' in the 'dump' package, 'rmt' is not included in +this package. If you are planning to use the remote tape features +provided by cpio, install the 'dump' package as well. Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org