summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/freebsd-sources.pl
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-07-06 13:23:27 +0000
committerdes <des@FreeBSD.org>2015-07-06 13:23:27 +0000
commita060063a487e71aee85b154308b20e3c3d050c54 (patch)
tree78e508412e7aed4056295e6af1335856834fc7e3 /contrib/unbound/freebsd-sources.pl
parentc49abb198d367256a94da48fed297b82b5a11ad9 (diff)
downloadFreeBSD-src-a060063a487e71aee85b154308b20e3c3d050c54.zip
FreeBSD-src-a060063a487e71aee85b154308b20e3c3d050c54.tar.gz
MFH (r276605, r282089): upgrade to latest Unbound
MFH (r276699, r276702, r277057): local control socket MFH (r276599, r276612, r282087, r282088): build fixes This brings in Unbound 1.5.3 from head. Local control sockets are now supported and will be used by default for new installations. Existing systems will continue to use TCP control sockets until the automated setup script is re-run ("service local_unbound setup") and the service restarted ("service local_unbound restart"). Approved by: re (kib) Relnotes: yes
Diffstat (limited to 'contrib/unbound/freebsd-sources.pl')
-rwxr-xr-xcontrib/unbound/freebsd-sources.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/unbound/freebsd-sources.pl b/contrib/unbound/freebsd-sources.pl
index a83d36f..a82be22 100755
--- a/contrib/unbound/freebsd-sources.pl
+++ b/contrib/unbound/freebsd-sources.pl
@@ -51,7 +51,11 @@ sub get_sources($) {
close(MAKE);
chomp($objs);
$objs =~ s/\.l?o\b/.c/g;
- return (split(/\s+/, $objs));
+ return map {
+ /lexer/ && s/c$/l/;
+ /parser/ && s/c$/y/;
+ $_;
+ } split(/\s+/, $objs);
}
MAIN:{
@@ -70,4 +74,3 @@ MAIN:{
}
1;
-
OpenPOWER on IntegriCloud