SHA256
1
0
forked from pool/rsync

Accepting request 102828 from home:elvigia:branches:network

- Build with PIE and full RELRO

OBS-URL: https://build.opensuse.org/request/show/102828
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=21
This commit is contained in:
Petr Uzel 2012-02-08 11:34:26 +00:00 committed by Git OBS Bridge
parent 090996b6b5
commit 4c85de4880
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 5 23:25:26 UTC 2012 - crrodriguez@opensuse.org
- Build with PIE and full RELRO
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 21 10:42:30 UTC 2011 - coolo@suse.com Wed Dec 21 10:42:30 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rsync # spec file for package rsync
# #
# 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/
# #
%define with_system_zlib 0 %define with_system_zlib 0
%if 0%{?suse_version} < 1120 %if 0%{?suse_version} < 1120
%define _initddir %{_sysconfdir}/init.d %define _initddir %{_sysconfdir}/init.d
@ -78,8 +79,9 @@ patch -p1 < patches/slp.diff
patch -p1 < patches/drop-cache.diff patch -p1 < patches/drop-cache.diff
%build %build
autoheader autoreconf -fiv
autoconf export CFLAGS="%optflags -fPIC -DPIC -fPIE"
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
%configure \ %configure \
--disable-debug \ --disable-debug \
--enable-slp \ --enable-slp \