From e359920ee658ec37d561605b7d7c6a59a2419f2e Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Sep 10 2010 08:04:07 +0000 Subject: - link everything using -z relro and -z now --- diff --git a/httpd.spec b/httpd.spec index 3dd570d..c2ba4ed 100644 --- a/httpd.spec +++ b/httpd.spec @@ -7,7 +7,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.2.16 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://httpd.apache.org/ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz Source1: index.html @@ -147,9 +147,8 @@ autoheader && autoconf || exit 1 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/httpd/build:g" \ support/apxs.in -CFLAGS=$RPM_OPT_FLAGS -SH_LDFLAGS="-Wl,-z,relro" -export CFLAGS SH_LDFLAGS +export CFLAGS=$RPM_OPT_FLAGS +export LDFLAGS="-Wl,-z,relro,-z,now" # Hard-code path to links to avoid unnecessary builddep export LYNX_PATH=/usr/bin/links @@ -480,6 +479,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/httpd/build/*.sh %changelog +* Fri Sep 10 2010 Joe Orton - 2.2.16-2 +- link everything using -z relro and -z now + * Mon Jul 26 2010 Joe Orton - 2.2.16-1 - update to 2.2.16