[unbound] Build with full RELRO and symlink unbound-control-setup.8 manpage to unbound-control.8
Adam Tkac
atkac at fedoraproject.org
Tue Mar 5 15:24:40 UTC 2013
commit 0f03662997fd005ff578bef54e36d1c89863823e
Author: Adam Tkac <atkac at redhat.com>
Date: Tue Mar 5 16:24:17 2013 +0100
Build with full RELRO and symlink unbound-control-setup.8 manpage to unbound-control.8
Signed-off-by: Adam Tkac <atkac at redhat.com>
unbound.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
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 <atkac redhat com> - 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 <rel-eng at lists.fedoraproject.org> - 1.4.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list