From f417d6e8dc7f66cbb0b04a8ad94604631f4ba2cb Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 19 Nov 2007 10:41:30 +0000 Subject: [PATCH] README and nicer libevent error. git-svn-id: file:///svn/unbound/branches/beta-0.7@759 be551aaa-1e26-0410-a405-d3ace91eadb9 --- README | 9 +++++++++ configure.ac | 2 +- doc/Changelog | 2 ++ doc/README | 3 +++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000000000..04353a1f1 --- /dev/null +++ b/README @@ -0,0 +1,9 @@ +Unbound README +* ./configure && make && make install +* 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.ac b/configure.ac index 33ebbfe4d..c25d11699 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 58e407b96..2bcb22bb9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,8 @@ * includes tpkg fixes to kill daemons at end of test * includes NSEC/RRSIG not downcasing fixup from dnssec-bis-updates draft-06. + * README file updated. + * nice libevent not found error. 15 November 2007: Wouter - review fixups from Jelte. diff --git a/doc/README b/doc/README index e49137a4d..9cc52a6e4 100644 --- a/doc/README +++ b/doc/README @@ -25,6 +25,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. -- 2.47.2