[screen/f18] PIE and RELRO (#853191)

Lukáš Nykrýn lnykryn at fedoraproject.org
Mon Sep 3 08:27:51 UTC 2012


commit cf2e7ab23ca56fddc0936eb5cd8abfd6335b94ab
Author: Lukas Nykryn <lnykryn at redhat.com>
Date:   Mon Sep 3 10:09:59 2012 +0200

    PIE and RELRO (#853191)

 screen.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/screen.spec b/screen.spec
index dae77ea..20475b3 100644
--- a/screen.spec
+++ b/screen.spec
@@ -3,7 +3,7 @@
 Summary: A screen manager that supports multiple logins on one terminal
 Name: screen
 Version: 4.1.0
-Release: 0.11.20120314git3c2946%{?dist}
+Release: 0.12.20120314git3c2946%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.gnu.org/software/screen
@@ -62,7 +62,9 @@ support multiple logins on one terminal.
 	--with-pty-mode=0620 \
 	--with-pty-group=$(getent group tty | cut -d : -f 3) \
 	--with-sys-screenrc="%{_sysconfdir}/screenrc" \
-	--with-socket-dir="%{_localstatedir}/run/screen"
+	--with-socket-dir="%{_localstatedir}/run/screen" \
+        CFLAGS="-pie -fPIE -Wall -g -O2 " \
+	LDFLAGS="-z relro -z now -pie"
 
 # We would like to have braille support.
 sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
@@ -144,6 +146,9 @@ fi
 %endif
 
 %changelog
+* Mon Sep 03 2012 Lukáš Nykrýn <lnykryn at redhat.com> - 4.1.0-0.12.20120314git3c2946
+- PIE and RELRO (#853191)
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1.0-0.11.20120314git3c2946
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list