forked from pool/wireshark
Marcus Meissner
d353196adb
- Add wireshark-suidflags.patch: Allow to pass SUID_{C,LD}FLAGS to introduce -fPIE -pie as needed for suid binaries - Add libtool BuildRequires and call to autoreconf, as above patch touches the build system. - Export SUID_{C,LD}FLAGS with appropriate flags. OBS-URL: https://build.opensuse.org/request/show/144930 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=75
15 lines
474 B
Diff
15 lines
474 B
Diff
Index: wireshark-1.8.4/Makefile.am
|
|
===================================================================
|
|
--- wireshark-1.8.4.orig/Makefile.am
|
|
+++ wireshark-1.8.4/Makefile.am
|
|
@@ -487,7 +487,8 @@ dumpcap_LDADD = \
|
|
@NSL_LIBS@ \
|
|
@CORESERVICES_FRAMEWORKS@ \
|
|
@LIBCAP_LIBS@
|
|
-dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS)
|
|
+dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(SUID_CFLAGS)
|
|
+dumpcap_LDFLAGS = $(SUID_LDFLAGS)
|
|
|
|
# Common headers
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \
|