Accepting request 267016 from security

1

OBS-URL: https://build.opensuse.org/request/show/267016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=73
This commit is contained in:
Dominique Leuenberger 2015-01-03 21:01:06 +00:00 committed by Git OBS Bridge
commit 481d7e613a
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 1 21:34:01 UTC 2015 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Wed Nov 19 14:54:58 UTC 2014 - max@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package clamav
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -96,8 +96,9 @@ and multiple signature languages for detecting threats.
CFLAGS="-fstack-protector"
CXXFLAGS="-fstack-protector"
%endif
export CFLAGS="%optflags $CFLAGS"
export CXXFLAGS="%optflags $CXXFLAGS"
export CFLAGS="%optflags $CFLAGS -fPIE"
export CXXFLAGS="%optflags $CXXFLAGS -fPIE"
export LDFLAGS="-pie"
%if 0%{?suse_version} == 0910
# SLES9 needs this macro to enable the quarantine feature in libmilter
CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET"