From f30daa1b34978b53e84e80282a98dd129e606e946359bc98099950e3cd9842d5 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Mon, 5 Jan 2015 19:49:19 +0000 Subject: [PATCH] Accepting request 267112 from home:msmeissn:branches:network:utilities - build with PIE OBS-URL: https://build.opensuse.org/request/show/267112 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=132 --- wireshark.changes | 5 +++++ wireshark.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wireshark.changes b/wireshark.changes index 5322ad0..b489889 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 3 15:55:35 UTC 2015 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Wed Dec 3 20:37:44 UTC 2014 - andreas.stieger@gmx.de diff --git a/wireshark.spec b/wireshark.spec index 30ea276..a441b5d 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -1,7 +1,7 @@ # # spec file for package wireshark # -# 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 @@ -186,6 +186,9 @@ sed \ autoreconf -fiv # zlib-1.2.5 does not work well with wireshark, so disable it on pre-12.2 +export CFLAGS="%optflags -fPIE" +export CXXFLAGS="%optflags -fPIE" +export LDFLAGS="-pie" %configure \ %if 0%{?suse_version} < 1220 --without-zlib \