Use hardened build

epel9
Lukas Nykryn 12 years ago
parent cf2e7ab23c
commit 607de688fd

@ -1,9 +1,10 @@
%bcond_with multiuser %bcond_with multiuser
%global _hardened_build 1
Summary: A screen manager that supports multiple logins on one terminal Summary: A screen manager that supports multiple logins on one terminal
Name: screen Name: screen
Version: 4.1.0 Version: 4.1.0
Release: 0.12.20120314git3c2946%{?dist} Release: 0.13.20120314git3c2946%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/screen URL: http://www.gnu.org/software/screen
@ -62,9 +63,7 @@ support multiple logins on one terminal.
--with-pty-mode=0620 \ --with-pty-mode=0620 \
--with-pty-group=$(getent group tty | cut -d : -f 3) \ --with-pty-group=$(getent group tty | cut -d : -f 3) \
--with-sys-screenrc="%{_sysconfdir}/screenrc" \ --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. # We would like to have braille support.
sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
@ -146,6 +145,9 @@ fi
%endif %endif
%changelog %changelog
* Wed Dec 05 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.13.20120314git3c2946
- Use hardened build
* Mon Sep 03 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.12.20120314git3c2946 * Mon Sep 03 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.12.20120314git3c2946
- PIE and RELRO (#853191) - PIE and RELRO (#853191)

Loading…
Cancel
Save