summaryrefslogtreecommitdiffstats
path: root/contrib/ldns
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-04-27 12:02:16 +0000
committerdes <des@FreeBSD.org>2015-04-27 12:02:16 +0000
commit0c58007fccafd234eaa1b805a91ed0ce0bb5dffe (patch)
treef3be9ef153608a004a7a7b90dfe11100df94f1be /contrib/ldns
parent71a9d8a0fb6290be447df3df8e6cb870521f07bc (diff)
downloadFreeBSD-src-0c58007fccafd234eaa1b805a91ed0ce0bb5dffe.zip
FreeBSD-src-0c58007fccafd234eaa1b805a91ed0ce0bb5dffe.tar.gz
Add a script that runs configure for both ldns and drill.
Run configure for drill (I forgot to do it when I imported 1.6.17, but the omission was harmless). Note that running configure --with-drill at the top level doesn't quite work for us since it is geared toward the slightly weird upstream Makefiles, which we don't use.
Diffstat (limited to 'contrib/ldns')
-rw-r--r--contrib/ldns/drill/config.h4
-rw-r--r--contrib/ldns/drill/drill.111
-rwxr-xr-xcontrib/ldns/freebsd-configure.sh19
3 files changed, 32 insertions, 2 deletions
diff --git a/contrib/ldns/drill/config.h b/contrib/ldns/drill/config.h
index 74b1e40..f012625 100644
--- a/contrib/ldns/drill/config.h
+++ b/contrib/ldns/drill/config.h
@@ -122,7 +122,7 @@
#define PACKAGE_NAME "ldns"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ldns 1.6.16"
+#define PACKAGE_STRING "ldns 1.6.17"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libdns"
@@ -131,7 +131,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.6.16"
+#define PACKAGE_VERSION "1.6.17"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
diff --git a/contrib/ldns/drill/drill.1 b/contrib/ldns/drill/drill.1
index 971b73a..cfbde05 100644
--- a/contrib/ldns/drill/drill.1
+++ b/contrib/ldns/drill/drill.1
@@ -83,6 +83,11 @@ Chase the signature(s) of 'name' to a known key or as high up in
the tree as possible.
.TP
+\fB\-I \fIIPv4 or IPv6 address\fR
+Source address to query from. The source address has to be present
+on an interface of the host running drill.
+
+.TP
\fB\-V \fIlevel\fR
Be more verbose. Set level to 5 to see the actual query that is sent.
@@ -217,6 +222,12 @@ specify named base64 tsig key, and optional an algorithm (defaults to hmac-md5.s
\fB\-z \fR
don't randomize the nameserver list before sending queries.
+.SH "EXIT STATUS"
+The exit status is 0 if the looked up answer is secure and trusted,
+or insecure.
+The exit status is not 0 if the looked up answer is untrusted or bogus,
+or an error occurred while performing the lookup.
+
.SH "FILES"
.TP
/etc/unbound/root.key
diff --git a/contrib/ldns/freebsd-configure.sh b/contrib/ldns/freebsd-configure.sh
new file mode 100755
index 0000000..3ad6446
--- /dev/null
+++ b/contrib/ldns/freebsd-configure.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+set -e
+
+ldns=$(dirname $(realpath $0))
+cd $ldns
+
+libtoolize --copy
+autoheader
+autoconf
+./configure --prefix= --exec-prefix=/usr
+
+cd $ldns/drill
+autoheader
+autoconf
+./configure --prefix= --exec-prefix=/usr
OpenPOWER on IntegriCloud