Accepting request 103678 from home:elvigia:branches:security

- build with -fpie

OBS-URL: https://build.opensuse.org/request/show/103678
OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=58
This commit is contained in:
Cristian Rodríguez 2012-02-09 22:52:49 +00:00 committed by Git OBS Bridge
parent 8fc0694db0
commit 237c8afc68
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 9 21:20:37 UTC 2012 - crrodriguez@opensuse.org
- build with -fpie
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 31 05:09:38 UTC 2011 - crrodriguez@opensuse.org Sat Dec 31 05:09:38 UTC 2011 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package haveged # spec file for package haveged
# #
# 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
@ -21,10 +21,10 @@
Name: haveged Name: haveged
Version: 1.3 Version: 1.3
Release: 0 Release: 0
License: GPL-3.0
Summary: Feed entropy into random pool Summary: Feed entropy into random pool
Url: http://www.issihosts.com/haveged/ License: GPL-3.0
Group: System/Daemons Group: System/Daemons
Url: http://www.issihosts.com/haveged/
Source0: http://www.issihosts.com/haveged/%{name}-%{version}%{extra_ver}.tar.gz Source0: http://www.issihosts.com/haveged/%{name}-%{version}%{extra_ver}.tar.gz
Source1: %{name}.init Source1: %{name}.init
Source2: %{name}.service Source2: %{name}.service
@ -59,7 +59,8 @@ For more informations see http://www.issihosts.com/haveged/
%build %build
autoreconf -fiv autoreconf -fiv
export LDFLAGS="-Wl,-z,relro,-z,now" export CFLAGS="%optflags -fpie"
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
%configure --enable-nistest=yes --enable-daemon=yes %configure --enable-nistest=yes --enable-daemon=yes
make %{?_smp_mflags} make %{?_smp_mflags}