|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/lib/Makefile.am.relro cyrus-sasl-2.1.26/lib/Makefile.am
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/lib/Makefile.am.relro 2012-10-12 16:05:48.000000000 +0200
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/lib/Makefile.am 2013-02-11 14:18:01.749053772 +0100
|
|
|
bfd35c |
@@ -64,7 +64,7 @@ LIB_DOOR= @LIB_DOOR@
|
|
|
bfd35c |
lib_LTLIBRARIES = libsasl2.la
|
|
|
bfd35c |
|
|
|
bfd35c |
libsasl2_la_SOURCES = $(common_sources) $(common_headers)
|
|
|
bfd35c |
-libsasl2_la_LDFLAGS = -version-info $(sasl_version)
|
|
|
bfd35c |
+libsasl2_la_LDFLAGS = -Wl,-z,relro -version-info $(sasl_version)
|
|
|
bfd35c |
libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
|
|
|
bfd35c |
libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
|
|
|
bfd35c |
|
|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/lib/Makefile.in.relro cyrus-sasl-2.1.26/lib/Makefile.in
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/lib/Makefile.in.relro 2013-11-13 16:55:09.606555125 +0100
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/lib/Makefile.in 2013-11-13 16:56:43.331096795 +0100
|
|
|
bfd35c |
@@ -330,7 +330,7 @@ common_headers = saslint.h
|
|
|
bfd35c |
common_sources = auxprop.c canonusr.c checkpw.c client.c common.c config.c external.c md5.c saslutil.c server.c seterror.c dlopen.c ../plugins/plugin_common.c
|
|
|
bfd35c |
lib_LTLIBRARIES = libsasl2.la
|
|
|
bfd35c |
libsasl2_la_SOURCES = $(common_sources) $(common_headers)
|
|
|
bfd35c |
-libsasl2_la_LDFLAGS = -version-info $(sasl_version)
|
|
|
bfd35c |
+libsasl2_la_LDFLAGS = -Wl,-z,relro -version-info $(sasl_version)
|
|
|
bfd35c |
libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
|
|
|
bfd35c |
libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
|
|
|
bfd35c |
@MACOSX_TRUE@framedir = /Library/Frameworks/SASL2.framework
|
|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/plugins/Makefile.am.relro cyrus-sasl-2.1.26/plugins/Makefile.am
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/plugins/Makefile.am.relro 2012-10-12 16:05:48.000000000 +0200
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/plugins/Makefile.am 2013-02-11 14:18:01.749053772 +0100
|
|
|
bfd35c |
@@ -50,7 +50,7 @@
|
|
|
bfd35c |
plugin_version = 3:0:0
|
|
|
bfd35c |
|
|
|
bfd35c |
INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
|
|
|
bfd35c |
-AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
|
|
bfd35c |
+AM_LDFLAGS = -Wl,-z,relro -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
|
|
bfd35c |
|
|
|
bfd35c |
COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
|
|
|
bfd35c |
|
|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/plugins/Makefile.in.relro cyrus-sasl-2.1.26/plugins/Makefile.in
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/plugins/Makefile.in.relro 2013-11-13 16:57:08.430974081 +0100
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/plugins/Makefile.in 2013-11-13 16:57:58.911727846 +0100
|
|
|
bfd35c |
@@ -364,7 +364,7 @@ top_srcdir = @top_srcdir@
|
|
|
bfd35c |
# CURRENT:REVISION:AGE
|
|
|
bfd35c |
plugin_version = 3:0:0
|
|
|
bfd35c |
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
|
|
|
bfd35c |
-AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
|
|
bfd35c |
+AM_LDFLAGS = -Wl,-z,relro -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
|
|
|
bfd35c |
COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
|
|
|
bfd35c |
EXTRA_DIST = makeinit.sh NTMakefile
|
|
|
bfd35c |
noinst_SCRIPTS = makeinit.sh
|
|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/saslauthd/Makefile.am.relro cyrus-sasl-2.1.26/saslauthd/Makefile.am
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/saslauthd/Makefile.am.relro 2013-02-11 14:18:36.910900647 +0100
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/saslauthd/Makefile.am 2013-02-11 14:20:17.336463915 +0100
|
|
|
bfd35c |
@@ -17,6 +17,7 @@ saslauthd_DEPENDENCIES = saslauthd-main.
|
|
|
bfd35c |
saslauthd_LDADD = @SASL_KRB_LIB@ \
|
|
|
bfd35c |
@GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
|
|
|
bfd35c |
@LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
|
|
|
bfd35c |
+saslauthd_LDFLAGS = -pie -Wl,-z,now
|
|
|
bfd35c |
|
|
|
bfd35c |
testsaslauthd_SOURCES = testsaslauthd.c utils.c
|
|
|
bfd35c |
testsaslauthd_LDADD = @LIB_SOCKET@
|
|
|
bfd35c |
diff -up cyrus-sasl-2.1.26/saslauthd/Makefile.in.relro cyrus-sasl-2.1.26/saslauthd/Makefile.in
|
|
|
bfd35c |
--- cyrus-sasl-2.1.26/saslauthd/Makefile.in.relro 2013-11-13 16:58:13.085659148 +0100
|
|
|
bfd35c |
+++ cyrus-sasl-2.1.26/saslauthd/Makefile.in 2013-11-13 16:58:49.679481841 +0100
|
|
|
bfd35c |
@@ -234,6 +234,7 @@ saslauthd_DEPENDENCIES = saslauthd-main.
|
|
|
bfd35c |
saslauthd_LDADD = @SASL_KRB_LIB@ \
|
|
|
bfd35c |
@GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
|
|
|
bfd35c |
@LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
|
|
|
bfd35c |
+saslauthd_LDFLAGS = -pie -Wl,-z,now
|
|
|
bfd35c |
|
|
|
bfd35c |
testsaslauthd_SOURCES = testsaslauthd.c utils.c
|
|
|
bfd35c |
testsaslauthd_LDADD = @LIB_SOCKET@
|