Accepting request 114946 from Base:System

- disable 'runtime checks' in m4/*.m4 that override
  system calls with custom implementations to workaround
  very old kernel/libc bugs (dating 2003-2009)
  we do not ship those buggy components nowdays.

- Switch to default archive type to POSIX.1-2001, which is ten years
  old and has no limits on filesize,filename length etc. (forwarded request 114887 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/114946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2012-04-23 14:13:39 +00:00 committed by Git OBS Bridge
commit 358035bc08
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Apr 20 19:55:01 UTC 2012 - crrodriguez@opensuse.org
- disable 'runtime checks' in m4/*.m4 that override
system calls with custom implementations to workaround
very old kernel/libc bugs (dating 2003-2009)
we do not ship those buggy components nowdays.
-------------------------------------------------------------------
Fri Apr 20 15:38:17 UTC 2012 - crrodriguez@opensuse.org
- Switch to default archive type to POSIX.1-2001, which is ten years
old and has no limits on filesize,filename length etc.
-------------------------------------------------------------------
Mon Dec 19 13:43:45 UTC 2011 - tcech@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package tar
#
# 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,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# minimum suse version where the full featured package builds
%define min_suse_ver 1010
@ -31,6 +32,7 @@ Patch3: tar-wildcards.patch
Patch6: tar-backup-spec-fix-paths.patch
Patch7: tar-1.26-remove_O_NONBLOCK.patch
%if 0%{?suse_version} >= %min_suse_ver
BuildRequires: automake
BuildRequires: help2man
Recommends: tar-lang = %{version}
Recommends: xz
@ -68,6 +70,9 @@ Shell scripts for system backup/restore
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
export CFLAGS="%{optflags} %my_cflags"
export RSH="/usr/bin/rsh"
export DEFAULT_ARCHIVE_FORMAT="POSIX"
sed -i -e 's@need runtime check@yes@g' m4/*.m4
autoreconf -fiv
%configure \
--enable-backup-scripts \
--disable-silent-rules