Accepting request 899901 from Base:System
OBS-URL: https://build.opensuse.org/request/show/899901 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=72
This commit is contained in:
commit
e48c97940d
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>
|
Sun Feb 14 16:48:05 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
4
tar.spec
4
tar.spec
@ -40,6 +40,7 @@ Patch3: %{name}-ignore_lone_zero_blocks.patch
|
|||||||
#https://bugzilla.opensuse.org/show_bug.cgi?id=918487
|
#https://bugzilla.opensuse.org/show_bug.cgi?id=918487
|
||||||
Patch4: %{name}-recursive--files-from.patch
|
Patch4: %{name}-recursive--files-from.patch
|
||||||
Patch5: add_readme-tests.patch
|
Patch5: add_readme-tests.patch
|
||||||
|
Patch6: tar-PIE.patch
|
||||||
BuildRequires: automake >= 1.15
|
BuildRequires: automake >= 1.15
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
@ -77,7 +78,7 @@ Upstream testsuite for the package
|
|||||||
Summary: Remote tape drive control server by GNU
|
Summary: Remote tape drive control server by GNU
|
||||||
Group: Productivity/Archiving/Backup
|
Group: Productivity/Archiving/Backup
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Provides: rmt
|
Provides: rmt
|
||||||
|
|
||||||
%description rmt
|
%description rmt
|
||||||
@ -108,6 +109,7 @@ it may as well access remote devices or files.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
#%patch4 -p1
|
#%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE
|
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE
|
||||||
|
Loading…
Reference in New Issue
Block a user