SHA256
1
0
forked from pool/tar

Accepting request 114887 from home:elvigia:branches: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.

OBS-URL: https://build.opensuse.org/request/show/114887
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=35
This commit is contained in:
Petr Uzel 2012-04-22 12:42:40 +00:00 committed by Git OBS Bridge
parent 9ec2572c38
commit e8b8a4f1c8
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 Mon Dec 19 13:43:45 UTC 2011 - tcech@suse.cz

View File

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