From 0f03662997fd005ff578bef54e36d1c89863823e Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Tue, 5 Mar 2013 16:24:17 +0100 Subject: [PATCH] Build with full RELRO and symlink unbound-control-setup.8 manpage to unbound-control.8 Signed-off-by: Adam Tkac --- unbound.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/unbound.spec b/unbound.spec index 8b9f7af..e304290 100644 --- a/unbound.spec +++ b/unbound.spec @@ -14,7 +14,7 @@ Summary: Validating, recursive, and caching DNS(SEC) resolver Name: unbound Version: 1.4.19 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Url: http://www.nlnetlabs.nl/unbound/ Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz @@ -113,6 +113,7 @@ Python modules and extensions for unbound %patch1 -p1 -b .888759 %build +export LDFLAGS="$LDFLAGS -Wl,-z,now" %configure --with-ldns= --with-libevent --with-pthreads --with-ssl \ --disable-rpath --disable-static \ --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \ @@ -178,6 +179,9 @@ install -p %{SOURCE9} %{buildroot}%{_sysconfdir}/unbound/keys.d/ install -p %{SOURCE10} %{buildroot}%{_sysconfdir}/unbound/conf.d/ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/unbound/local.d/ +# Symlink unbound-control-setup.8 manpage to unbound-control.8 +ln -s %{_mandir}/man8/unbound-control.8 %{buildroot}/%{_mandir}/man8/unbound-control-setup.8 + %files %doc doc/README doc/CREDITS doc/LICENSE doc/FEATURES %{_unitdir}/%{name}.service @@ -270,6 +274,10 @@ exit 0 /bin/systemctl try-restart unbound-keygen.service >/dev/null 2>&1 || : %changelog +* Tue Mar 05 2013 Adam Tkac - 1.4.19-5 +- build with full RELRO +- symlink unbound-control-setup.8 manpage to unbound-control.8 + * Fri Feb 15 2013 Fedora Release Engineering - 1.4.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild