Blame SOURCES/pam-1.1.6-full-relro.patch

904b9f
diff -up Linux-PAM-1.1.6/modules/pam_timestamp/Makefile.am.relro Linux-PAM-1.1.6/modules/pam_timestamp/Makefile.am
904b9f
--- Linux-PAM-1.1.6/modules/pam_timestamp/Makefile.am.relro	2012-08-15 13:08:43.000000000 +0200
904b9f
+++ Linux-PAM-1.1.6/modules/pam_timestamp/Makefile.am	2012-09-03 15:22:13.735307976 +0200
904b9f
@@ -36,7 +36,7 @@ pam_timestamp_la_CFLAGS = $(AM_CFLAGS)
904b9f
 pam_timestamp_check_SOURCES = pam_timestamp_check.c
904b9f
 pam_timestamp_check_CFLAGS = $(AM_CFLAGS) @PIE_CFLAGS@
904b9f
 pam_timestamp_check_LDADD = $(top_builddir)/libpam/libpam.la
904b9f
-pam_timestamp_check_LDFLAGS = @PIE_LDFLAGS@
904b9f
+pam_timestamp_check_LDFLAGS = -Wl,-z,now @PIE_LDFLAGS@
904b9f
 
904b9f
 hmacfile_SOURCES = hmacfile.c hmacsha1.c sha1.c
904b9f
 hmacfile_LDADD = $(top_builddir)/libpam/libpam.la
904b9f
diff -up Linux-PAM-1.1.6/modules/pam_unix/Makefile.am.relro Linux-PAM-1.1.6/modules/pam_unix/Makefile.am
904b9f
--- Linux-PAM-1.1.6/modules/pam_unix/Makefile.am.relro	2012-08-15 13:08:43.000000000 +0200
904b9f
+++ Linux-PAM-1.1.6/modules/pam_unix/Makefile.am	2012-09-03 15:21:31.464424910 +0200
904b9f
@@ -55,13 +55,13 @@ bigcrypt_LDADD = @LIBCRYPT@
904b9f
 unix_chkpwd_SOURCES = unix_chkpwd.c md5_good.c md5_broken.c bigcrypt.c \
904b9f
 	passverify.c
904b9f
 unix_chkpwd_CFLAGS = $(AM_CFLAGS) @PIE_CFLAGS@ -DHELPER_COMPILE=\"unix_chkpwd\"
904b9f
-unix_chkpwd_LDFLAGS = @PIE_LDFLAGS@
904b9f
+unix_chkpwd_LDFLAGS = -Wl,-z,now @PIE_LDFLAGS@
904b9f
 unix_chkpwd_LDADD = @LIBCRYPT@ @LIBSELINUX@ @LIBAUDIT@
904b9f
 
904b9f
 unix_update_SOURCES = unix_update.c md5_good.c md5_broken.c bigcrypt.c \
904b9f
 	passverify.c
904b9f
 unix_update_CFLAGS = $(AM_CFLAGS) @PIE_CFLAGS@ -DHELPER_COMPILE=\"unix_update\"
904b9f
-unix_update_LDFLAGS = @PIE_LDFLAGS@
904b9f
+unix_update_LDFLAGS = -Wl,-z,now @PIE_LDFLAGS@
904b9f
 unix_update_LDADD = @LIBCRYPT@ @LIBSELINUX@
904b9f
 
904b9f
 if ENABLE_REGENERATE_MAN