From 37e61563d3d118cb62ec49af5fe2d1be4af50b1d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 21 Mar 2017 16:37:22 +0100 Subject: [PATCH] ldns: drop hardening flags from ldns-config --- srcpkgs/ldns/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ldns/template b/srcpkgs/ldns/template index 30a38f8923b..69a60d89f17 100644 --- a/srcpkgs/ldns/template +++ b/srcpkgs/ldns/template @@ -1,7 +1,7 @@ # Template file for 'ldns' pkgname=ldns version=1.7.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-drill --with-examples --disable-dane-ta-usage --with-trust-anchor=/etc/dns/root.key @@ -18,6 +18,10 @@ checksum=c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc post_extract() { sed -i 's/defined(@\$also)/@$also/' doc/doxyparse.pl } +post_install() { + sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config +} + libldns_package() { depends="dnssec-anchors"