lost and found ( for me ? )

build unbound from SVN ( subversion )

small tips.

install subversion via apt-get
# apt-get install subversion

# mkdir $HOME/My_works
# cd $HOME/My_works
# svn checkout http://unbound.nlnetlabs.nl/svn/trunk/ unbound_svn

# cd unbound_svn/

# svn info
Path: .
Working Copy Root Path: /home/foobar/My_works/unbound_svn
URL: http://unbound.nlnetlabs.nl/svn/trunk
Repository Root: http://unbound.nlnetlabs.nl/svn
Repository UUID: be551aaa-1e26-0410-a405-d3ace91eadb9
Revision: 2917
Node Kind: directory
Schedule: normal
Last Changed Author: wouter
Last Changed Rev: 2916
Last Changed Date: 2013-06-25 16:25:31 +0900 (Tue, 25 Jun 2013)

check differences between 2914 and 2915
# svn diff -r 2914:2915
Index: doc/Changelog
===================================================================
--- doc/Changelog       (revision 2914)
+++ doc/Changelog       (revision 2915)
@@ -1,3 +1,7 @@
+25 Jun 2013: Wouter
+       - Squelch sendto-permission denied errors when the network is
+         not connected, to avoid spamming syslog.
+
18 Jun 2013: Wouter
       - Fix for const string literals in C++ for libunbound, from Karel
         Slany.
Index: util/netevent.c
===================================================================
--- util/netevent.c     (revision 2914)
+++ util/netevent.c     (revision 2915)
@@ -320,6 +320,10 @@
                       break;
       }
#endif
+       /* permission denied is gotten for every send if the
+        * network is disconnected (on some OS), squelch it */
+       if(errno == EPERM && verbosity < VERB_DETAIL)
+               return 0;
       /* squelch errors where people deploy AAAA ::ffff:bla for
        * authority servers, which we try for intranets. */
       if(errno == EINVAL && addr_is_ip4mapped(

before building the unbound, install the following packages which are required to build unbound.
# apt-get install libssl-dev libldns-dev libexpat1-dev

build the unbound.
# pwd
/home/foobar/My_works/unbound_svn

# ./configure
# make
# make isntall

# ./unbound -h | grep -i ^version
Version 1.4.21

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.