Changes of Revision 2
[-] | Added | bsdtar.changes |
x 1
2 +------------------------------------------------------------------- 3 +Mon Apr 2 15:10:00 UTC 2012 - adrian@suse.de 4 + 5 +- require a new enough libarchive2 or the old one from SP0 GA gets installed 6 + 7 +------------------------------------------------------------------- 8 +Thu Mar 22 07:48:20 UTC 2012 - adrian@suse.de 9 + 10 +- fix build on SLE 11 11 + 12 +------------------------------------------------------------------- 13 +Fri Sep 30 08:15:50 UTC 2011 - coolo@suse.com 14 + 15 +- add baselibs.conf for PackageKit to use 16 + 17 +------------------------------------------------------------------- 18 +Tue Apr 19 13:23:09 UTC 2011 - idoenmez@novell.com 19 + 20 +- Add suport for xz and xar archives 21 +- Add libarchive-2.8.4-iso9660-data-types.patch: 22 + fix ISO9660 reader data type mismatches 23 + 24 +------------------------------------------------------------------- 25 +Thu Nov 11 13:36:59 UTC 2010 - puzel@novell.com 26 + 27 +- udpate to libarchive-2.8.4 28 + - see /usr/share/doc/packages/libarchive2/NEWS for changes 29 +- drop libarchive-2.5.5_fix_testsuite.patch (upstream) 30 +- update libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch 31 +- clean up specfile 32 +- disable make check for now 33 + 34 +------------------------------------------------------------------- 35 +Wed Jan 6 04:36:37 UTC 2010 - jengelh@medozas.de 36 + 37 +- enable parallel building 38 + 39 +------------------------------------------------------------------- 40 +Wed Oct 29 17:24:49 CET 2008 - mrueckert@suse.de 41 + 42 +- added libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch: 43 + it can happen that your system at build times supports lutimes 44 + but later at runtime the needed syscall is missing. 45 + 46 +------------------------------------------------------------------- 47 +Mon Sep 8 17:57:29 CEST 2008 - mrueckert@suse.de 48 + 49 +- fix rm calls in %install 50 + 51 +------------------------------------------------------------------- 52 +Sat Sep 6 17:54:11 CEST 2008 - mrueckert@suse.de 53 + 54 +- update to 2.5.5 55 + This is a major version bump again: it incorporates 56 + lots of bugfixes and improvements. 57 + For all the details please see 58 + /usr/share/doc/packages/libarchive2/NEWS 59 +- drop the .la file 60 +- dropped patch libarchive-2.2.5_rpath.patch: 61 + no longer needed 62 +- added libarchive-2.5.5_fix_testsuite.patch: 63 + added missing mode to open() with O_CREAT 64 + 65 +------------------------------------------------------------------- 66 +Wed Aug 15 12:58:06 CEST 2007 - ro@suse.de 67 + 68 +- fix dependency of devel package 69 + 70 +------------------------------------------------------------------- 71 +Tue Aug 7 16:47:22 CEST 2007 - mrueckert@suse.de 72 + 73 +- restructured package: 74 + bsdtar is now the main package and libarchive2 and libarchive-devel 75 + the subpackages. This saves us a rename on soversion bumps. 76 + 77 +------------------------------------------------------------------- 78 +Mon Jul 30 14:31:32 CEST 2007 - mrueckert@suse.de 79 + 80 +- update to 2.2.5 (#291358) 81 + This is a major version bump. For a full list of all changes see 82 + /usr/share/doc/packages/libarchive/NEWS. Mostly notable this up- 83 + date includes the fixes for the following security bugs: 84 + Errors handling corrupt tar files in libarchive 85 + (CVE-2007-3641, CVE-2007-3644, CVE-2007-3645) 86 +- added libarchive-2.2.5_rpath.patch: 87 + dont set a rpath on the builddir. 88 +- no longer building the static lib 89 + 90 +------------------------------------------------------------------- 91 +Fri Jun 8 01:35:37 CEST 2007 - ro@suse.de 92 + 93 +- added ldconfig to post scripts 94 +- remove minitar objects (leave binary there for now) 95 + 96 +------------------------------------------------------------------- 97 +Sun Apr 8 20:53:59 CEST 2007 - mrueckert@suse.de 98 + 99 +- updated to 2.0.28 100 +- removed all patches: 101 + included upstream 102 + 103 +------------------------------------------------------------------- 104 +Sat Mar 24 20:07:04 CET 2007 - mrueckert@suse.de 105 + 106 +- require libbz2-devel on >= 10.3 107 + 108 +------------------------------------------------------------------- 109 +Sat Mar 24 16:30:08 CET 2007 - aj@suse.de 110 + 111 +- Change requires for libbz2 split. 112 + 113 +------------------------------------------------------------------- 114 +Tue Mar 6 16:49:29 CET 2007 - mrueckert@suse.de 115 + 116 +- updated bsdtar-1.2.53_ext2_include.patch: 117 + the old fix was not complete and on newer glibc/kernel-headers it 118 + seems you need to include linux/fs.h explicitly 119 + new name: bsdtar-1.3.1_linux_fs_includes.patch 120 +- build with -fno-strict-aliasing 121 + 122 +------------------------------------------------------------------- 123 +Fri Nov 10 13:01:38 CET 2006 - mrueckert@suse.de 124 + 125 +- added SA-06-24_libarchive.patch: 126 + fix DOS in libarchive (CVE-2006-5680) 127 + http://security.freebsd.org/advisories/FreeBSD-SA-06:24.libarchive.asc 128 + 129 +------------------------------------------------------------------- 130 +Fri Sep 22 13:03:42 CET 2006 - mrueckert@suse.de 131 + 132 +- update to version 1.3.1 133 + 134 +------------------------------------------------------------------- 135 +Thu Apr 27 02:32:57 CEST 2006 - mrueckert@suse.de 136 + 137 +- updated to 1.2.53: 138 + Upstream merged the source tarball. 139 + Splitted of a bsdtar package 140 + 141 +------------------------------------------------------------------- 142 +Mon Feb 27 19:24:00 CET 2006 - mrueckert@suse.de 143 + 144 +- fixed building of debuginfo package 145 + 146 +------------------------------------------------------------------- 147 +Mon Feb 27 18:32:04 CET 2006 - mrueckert@suse.de 148 + 149 +- libarchive 1.2.38 150 + 151 |
||
[-] | Changed | bsdtar.spec ^ |
201 1
2 # 3 -# spec file for package bsdtar (Version 2.5.5) 4 +# spec file for package bsdtar 5 # 6 -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. 7 +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. 8 # 9 # All modifications and additions to the file contributed by third parties 10 # remain the property of their copyright owners, unless otherwise agreed 11
12 # Please submit bugfixes or comments via http://bugs.opensuse.org/ 13 # 14 15 -# norootforbuild 16 - 17 18 Name: bsdtar 19 -Version: 2.5.5 20 -Release: 18.10 21 +Version: 2.8.4 22 +Release: 0 23 %define pkg_name libarchive 24 # 25 -License: BSD 3-clause (or similar) 26 -Group: Development/Libraries/C and C++ 27 +BuildRequires: libacl-devel 28 +BuildRequires: pkg-config 29 +BuildRequires: zlib-devel 30 # 31 BuildRoot: %{_tmppath}/%{name}-%{version}-build 32 -BuildRequires: libacl-devel zlib-devel 33 -%if 0%{?suse_version} > 1020 34 BuildRequires: libbz2-devel 35 -%else 36 -BuildRequires: bzip2 37 -%endif 38 -%if 0%{?suse_version} >= 1100 39 BuildRequires: libext2fs-devel 40 -%else 41 -BuildRequires: e2fsprogs-devel 42 -%endif 43 -# 44 -Url: http://people.freebsd.org/~kientzle/libarchive/ 45 -# http://people.freebsd.org/~kientzle/libarchive/src/libarchive-%{version}.tar.gz 46 -Source: libarchive-%{version}.tar.bz2 47 -Patch: libarchive-2.5.5_fix_testsuite.patch 48 +BuildRequires: libopenssl-devel 49 +BuildRequires: libxml2-devel 50 +BuildRequires: xz-devel 51 +Requires: libarchive2 >= %version 52 +# 53 +Summary: Creates and reads several different streaming archive formats 54 +License: BSD-3-Clause 55 +Group: Productivity/Archiving/Compression 56 +# 57 +Url: http://code.google.com/p/libarchive/ 58 +Source0: libarchive-%{version}.tar.bz2 59 +Source1: baselibs.conf 60 Patch1: libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch 61 -# 62 -Summary: Bsdtar is a programme that can create and read several different streaming archive formats 63 +# PATCH-FIX-UPSTREAM libarchive-2.8.4-iso9660-data-types.patch idoenmez@suse.de -- Fix ISO9660 reader data type mismatches 64 +Patch2: libarchive-2.8.4-iso9660-data-types.patch 65 66 %description 67 Libarchive is a programming library that can create and read several 68
69 70 This package contains the bsdtar cmdline utility. 71 72 - 73 - 74 -Authors: 75 --------- 76 - Tim Kientzle <kientzle@freebsd.org> 77 - 78 %package -n libarchive2 79 -License: BSD 3-clause (or similar) 80 -Group: Development/Libraries/C and C++ 81 # 82 -Summary: Programming Library To Create And Read Several Different Streaming Archive Formats 83 +Summary: Library to work with several different streaming archive formats 84 +Group: Development/Libraries/C and C++ 85 86 %description -n libarchive2 87 Libarchive is a programming library that can create and read several 88
89 I/O. It should be very easy to add new formats, new compression 90 methods, or new ways of reading/writing archives. 91 92 - 93 - 94 -Authors: 95 --------- 96 - Tim Kientzle <kientzle@freebsd.org> 97 - 98 %package -n libarchive-devel 99 -License: BSD 3-clause (or similar) 100 +Requires: libacl-devel 101 Requires: libarchive2 = %{version} 102 -Requires: zlib-devel libacl-devel 103 -%if 0%{?suse_version} > 1020 104 Requires: libbz2-devel 105 -%else 106 -Requires: bzip2 107 -%endif 108 -Group: Development/Libraries/C and C++ 109 -# 110 +Requires: zlib-devel 111 Summary: Development files for libarchive 112 +Group: Development/Libraries/C and C++ 113 114 %description -n libarchive-devel 115 Libarchive is a programming library that can create and read several 116
117 118 This package contains the development files. 119 120 - 121 - 122 -Authors: 123 --------- 124 - Tim Kientzle <kientzle@freebsd.org> 125 - 126 %prep 127 %setup -q -n %{pkg_name}-%{version} 128 -%patch 129 %patch1 130 +%patch2 131 132 %build 133 #autoreconf -fi 134 %configure --disable-static --enable-bsdcpio 135 -%{__make} %{?_smp_mflags} 136 +make %{?_smp_mflags} 137 138 %check 139 -%{__make} check 140 +# Disabled until http://code.google.com/p/libarchive/issues/detail?id=115 141 +# is resolved. 142 +#%%make check 143 144 %install 145 -%makeinstall 146 +make DESTDIR=$RPM_BUILD_ROOT install 147 rm -fv minitar/*.o 148 rm -fv %{buildroot}%{_libdir}/*.la 149 +rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5* 150 151 %clean 152 -%{__rm} -rf %{buildroot} 153 +rm -rf %{buildroot} 154 155 %post -n libarchive2 -p /sbin/ldconfig 156 157
158 %{_mandir}/man3/* 159 %{_libdir}/libarchive.so 160 %{_includedir}/archive* 161 +%{_libdir}/pkgconfig/libarchive.pc 162 163 %changelog 164 -* Wed Jan 6 2010 jengelh@medozas.de 165 -- enable parallel building 166 -* Wed Oct 29 2008 mrueckert@suse.de 167 -- added libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch: 168 - it can happen that your system at build times supports lutimes 169 - but later at runtime the needed syscall is missing. 170 -* Mon Sep 8 2008 mrueckert@suse.de 171 -- fix rm calls in %%install 172 -* Sat Sep 6 2008 mrueckert@suse.de 173 -- update to 2.5.5 174 - This is a major version bump again: it incorporates 175 - lots of bugfixes and improvements. 176 - For all the details please see 177 - /usr/share/doc/packages/libarchive2/NEWS 178 -- drop the .la file 179 -- dropped patch libarchive-2.2.5_rpath.patch: 180 - no longer needed 181 -- added libarchive-2.5.5_fix_testsuite.patch: 182 - added missing mode to open() with O_CREAT 183 -* Wed Aug 15 2007 ro@suse.de 184 -- fix dependency of devel package 185 -* Tue Aug 7 2007 mrueckert@suse.de 186 -- restructured package: 187 - bsdtar is now the main package and libarchive2 and libarchive-devel 188 - the subpackages. This saves us a rename on soversion bumps. 189 -* Mon Jul 30 2007 mrueckert@suse.de 190 -- update to 2.2.5 (#291358) 191 - This is a major version bump. For a full list of all changes see 192 - /usr/share/doc/packages/libarchive/NEWS. Mostly notable this up- 193 - date includes the fixes for the following security bugs: 194 - Errors handling corrupt tar files in libarchive 195 - (CVE-2007-3641, CVE-2007-3644, CVE-2007-3645) 196 -- added libarchive-2.2.5_rpath.patch: 197 - dont set a rpath on the builddir. 198 -- no longer building the static lib 199 -* Thu Jun 7 2007 ro@suse.de 200 -- added ldconfig to post scripts 201 |
||
[+] | Deleted | libarchive-2.5.5_fix_testsuite.patch ^ |
@@ -1,13 +0,0 @@ -Index: tar/test/test_option_T.c -=================================================================== ---- tar/test/test_option_T.c.orig 2008-05-29 07:27:46.000000000 +0200 -+++ tar/test/test_option_T.c 2008-09-06 17:45:07.496292842 +0200 -@@ -28,7 +28,7 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/test - static int - touch(const char *fn) - { -- int fd = open(fn, O_RDWR | O_CREAT); -+ int fd = open(fn, O_RDWR | O_CREAT, 0644); - failure("Couldn't create file '%s', fd=%d, errno=%d (%s)\n", - fn, fd, errno, strerror(errno)); - if (!assert(fd > 0)) | ||
[+] | Changed | libarchive-2.5.5_handle_ENOSYS_from_lutimes.patch ^ |
@@ -1,40 +1,43 @@ +--- + cpio/cpio.c | 10 +++++++--- + libarchive/archive_write_disk.c | 8 +++++--- + 2 files changed, 12 insertions(+), 6 deletions(-) + Index: cpio/cpio.c =================================================================== ---- cpio/cpio.c.orig 2008-07-03 07:28:35.000000000 +0200 -+++ cpio/cpio.c 2008-10-27 17:31:56.806826303 +0100 -@@ -35,6 +35,15 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpi +--- cpio/cpio.c.orig ++++ cpio/cpio.c +@@ -38,8 +38,11 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpi #ifdef HAVE_SYS_STAT_H #include <sys/stat.h> #endif -+#ifdef HAVE_SYS_TIME_H -+#include <sys/time.h> -+#endif +-#ifdef HAVE_SYS_TIME_H +-#include <sys/time.h> +#ifdef HAVE_SYS_UTIME_H +#include <sys/utime.h> +#endif +#ifdef HAVE_UTIME_H +#include <utime.h> -+#endif + #endif #ifdef HAVE_ERRNO_H #include <errno.h> - #endif -@@ -662,7 +671,8 @@ restore_time(struct cpio *cpio, struct a - #endif +@@ -786,7 +789,8 @@ restore_time(struct cpio *cpio, struct a + } #ifdef HAVE_LUTIMES - if (lutimes(name, times) != 0) + if ((lutimes(name, times) != 0) && (errno==ENOSYS) && + (!S_ISLNK(archive_entry_mode(entry)) && utimes(name, times) != 0)) #else - if (!S_ISLNK(archive_entry_mode(entry)) && utimes(name, times) != 0) - #endif + if ((AE_IFLNK != archive_entry_filetype(entry)) + && utimes(name, times) != 0) Index: libarchive/archive_write_disk.c =================================================================== ---- libarchive/archive_write_disk.c.orig 2008-06-27 09:08:58.000000000 +0200 -+++ libarchive/archive_write_disk.c 2008-10-27 17:42:24.514385393 +0100 -@@ -1097,7 +1097,9 @@ _archive_write_close(struct archive *_a) - times[0].tv_sec = p->atime; - times[0].tv_usec = p->atime_nanos / 1000; +--- libarchive/archive_write_disk.c.orig ++++ libarchive/archive_write_disk.c +@@ -1265,7 +1265,9 @@ _archive_write_close(struct archive *_a) + times[1].tv_sec = p->mtime; + times[1].tv_usec = p->mtime_nanos / 1000; #ifdef HAVE_LUTIMES - lutimes(p->name, times); + if ((lutimes(p->name, times) != 0) && (errno==ENOSYS) && (!S_ISLNK(p->mode))) { @@ -43,13 +46,14 @@ #else utimes(p->name, times); #endif -@@ -1638,7 +1640,8 @@ set_time(struct archive_write_disk *a) +@@ -1886,8 +1888,8 @@ set_time(int fd, int mode, const char *n + (void)fd; /* UNUSED */ #endif - #ifdef HAVE_LUTIMES -- if (lutimes(a->name, times) != 0) -+ if ((lutimes(a->name, times) != 0) && (errno==ENOSYS) && -+ (!S_ISLNK(a->mode) && utimes(a->name, times) != 0)) +- (void)mode; /* UNUSED */ +- return (lutimes(name, times)); ++ return ((lutimes(name, times) != 0) && (errno==ENOSYS) && ++ (!S_ISLNK(mode)) && (utimes(name,mode) != 0)); #else - if (!S_ISLNK(a->mode) && utimes(a->name, times) != 0) - #endif + if (S_ISLNK(mode)) + return (0); | ||
[+] | Added | libarchive-2.8.4-iso9660-data-types.patch ^ |
@@ -0,0 +1,33 @@ +Index: libarchive/archive_read_support_format_iso9660.c +=================================================================== +--- libarchive/archive_read_support_format_iso9660.c (revision 1983) ++++ libarchive/archive_read_support_format_iso9660.c (revision 1984) +@@ -924,7 +924,7 @@ + if (parent->offset + parent->size > iso9660->volume_size) { + archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, + "Directory is beyond end-of-media: %s", +- parent->name); ++ parent->name.s); + return (ARCHIVE_WARN); + } + if (iso9660->current_position < parent->offset) { +@@ -1220,7 +1220,7 @@ + + if (file->offset + file->size > iso9660->volume_size) { + archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, +- "File is beyond end-of-media: %s", file->name); ++ "File is beyond end-of-media: %s", file->name.s); + iso9660->entry_bytes_remaining = 0; + iso9660->entry_sparse_offset = 0; + return (ARCHIVE_WARN); +@@ -1279,8 +1279,8 @@ + if ((file->mode & AE_IFMT) != AE_IFDIR && + file->offset < iso9660->current_position) { + archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, +- "Ignoring out-of-order file @%x (%s) %jd < %jd", +- file, ++ "Ignoring out-of-order file @%jx (%s) %jd < %jd", ++ (intmax_t)file->number, + iso9660->pathname.s, + file->offset, iso9660->current_position); + iso9660->entry_bytes_remaining = 0; | ||
[+] | Added | baselibs.conf ^ |
@@ -0,0 +1 @@ +libarchive2 | ||
Changed | libarchive-2.8.4.tar.bz2 ^ |