From: Wouter Wijngaards Date: Mon, 19 Nov 2007 11:04:05 +0000 (+0000) Subject: port from beta-0.7.1 X-Git-Tag: release-0.8~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f803201d693ab03ab4e07f4d1b597cf01d00df;p=thirdparty%2Funbound.git port from beta-0.7.1 git-svn-id: file:///svn/unbound/trunk@763 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/README b/README new file mode 100644 index 000000000..0caeeb779 --- /dev/null +++ b/README @@ -0,0 +1,10 @@ +Unbound README +* ./configure && make && make install +* on BSDs and Solaris use gmake (GNU make). +* If it complains that no libevent can be found; libevent is useful when + using many (10000) outgoing ports. By default 16 ports are used and the + builtin alternative is equally capable. +* More detailed README, README.svn, README.tests in doc directory +* manual pages can be found in doc directory, and are installed, unbound(8). +* example configuration file doc/example.conf + diff --git a/configure b/configure index 59580d091..ccb56aebe 100755 --- a/configure +++ b/configure @@ -21692,11 +21692,11 @@ echo "${ECHO_T}found in $thedir" >&6; } LDFLAGS="$thedir/.libs/*.o $LDFLAGS"; else { { echo "$as_me:$LINENO: error: Cannot find the libevent library in $withval -You can restart configure with --with-libevent=no to use a builtin alternative. +You can restart ./configure --with-libevent=no to use a builtin alternative. Please note that this alternative is not as capable as libevent when using many outgoing ports. " >&5 echo "$as_me: error: Cannot find the libevent library in $withval -You can restart configure with --with-libevent=no to use a builtin alternative. +You can restart ./configure --with-libevent=no to use a builtin alternative. Please note that this alternative is not as capable as libevent when using many outgoing ports. " >&2;} { (exit 1); exit 1; }; } diff --git a/configure.ac b/configure.ac index 610c32f63..e66baddee 100644 --- a/configure.ac +++ b/configure.ac @@ -503,7 +503,7 @@ if test x_$withval != x_no; then LDFLAGS="$thedir/.libs/*.o $LDFLAGS"; else AC_MSG_ERROR([Cannot find the libevent library in $withval -You can restart configure with --with-libevent=no to use a builtin alternative. +You can restart ./configure --with-libevent=no to use a builtin alternative. Please note that this alternative is not as capable as libevent when using many outgoing ports. ]) fi diff --git a/doc/Changelog b/doc/Changelog index 1ae05c906..9470a532a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,9 @@ - do not downcase NSEC and RRSIG for verification. Follows draft-ietf-dnsext-dnssec-bis-updates-06.txt. - fixup leaking unbound daemons at end of tests. + - README file updated. + - nice libevent not found error. + - README talks about gnu make. 16 November 2007: Wouter - privilege separation is not needed in unbound at this time. diff --git a/doc/README b/doc/README index e49137a4d..7bf97775c 100644 --- a/doc/README +++ b/doc/README @@ -18,6 +18,7 @@ This software is under BSD license, see LICENSE for details. * autoreconf (autoheader && autoconf), if ./configure is missing. * Make and install: ./configure; make; make install + * Use GNU make; default on linux, often called 'gmake' on BSD and Solaris. * --with-ldns=/path/to/ldns If ldns is not detected on the system, a prepackaged tarball of the ldns library is used to compile and statically link against. @@ -25,6 +26,9 @@ This software is under BSD license, see LICENSE for details. * --with-libevent=/path/to/libevent Can be set to either the system install or the build directory. --with-libevent=no gives a builtin alternative implementation. + libevent is useful when having many (thousands) of outgoing ports. + This improves randomization and spoof resistance. For the default + of 16 ports the builtin alternative works well. * --without-pthreads This disables pthreads, and uses Solaris thr library or no threading. Without this option the pthreads library is detected automatically.