Accepting request 898795 from home:wfrisch:branches:Base:System
Link /var/lib/tests/tar/bin/genfile as Position-Independent Executable (bsc#1184124). + tar-PIE.patch OBS-URL: https://build.opensuse.org/request/show/898795 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=104
This commit is contained in:
parent
9f0ea28535
commit
3deee6047a
12
tar-PIE.patch
Normal file
12
tar-PIE.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: tar-1.34/tests/Makefile.am
|
||||
===================================================================
|
||||
--- tar-1.34.orig/tests/Makefile.am
|
||||
+++ tar-1.34/tests/Makefile.am
|
||||
@@ -317,6 +317,7 @@ installcheck-local: $(check_PROGRAMS)
|
||||
check_PROGRAMS = genfile checkseekhole ckmtime
|
||||
|
||||
genfile_SOURCES = genfile.c argcv.c argcv.h
|
||||
+genfile_LDFLAGS = -pie
|
||||
checkseekhole_SOURCES = checkseekhole.c
|
||||
|
||||
localedir = $(datadir)/locale
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 9 12:09:49 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||
|
||||
- Link /var/lib/tests/tar/bin/genfile as Position-Independent Executable
|
||||
(bsc#1184124).
|
||||
+ tar-PIE.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 14 16:48:05 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
2
tar.spec
2
tar.spec
@ -40,6 +40,7 @@ Patch3: %{name}-ignore_lone_zero_blocks.patch
|
||||
#https://bugzilla.opensuse.org/show_bug.cgi?id=918487
|
||||
Patch4: %{name}-recursive--files-from.patch
|
||||
Patch5: add_readme-tests.patch
|
||||
Patch6: tar-PIE.patch
|
||||
BuildRequires: automake >= 1.15
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libselinux-devel
|
||||
@ -108,6 +109,7 @@ it may as well access remote devices or files.
|
||||
%patch3 -p1
|
||||
#%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
||||
%build
|
||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE
|
||||
|
Loading…
Reference in New Issue
Block a user