Unbound in base (review)

2012-03-15 Thread Björn Ketelaars
2012/3/14 Jakob Schlyter mailto:ja...@kirei.se)>:
> Could you provide an update complete tarfil for review by other developers?
I think we should start considering importing this.


Latest iteration:

http://gateway.hydroxide.nl/OpenBSD/unbound-wip.9.tar.gz

Current status includes work on suggestions / remarks from Jakob:

- run unbound-control-setup if no keys found;
- shipping of a default root.key (for use with auto-trust-anchor-file in
unbound.conf). This 'solves' a difficult and ugly workaround with
unbound-anchor as suggested in previous iterations;
- start nsd before unbound.

Detailed information can be found in the tarball (README).


--
BjC6rn Ketelaars



Re: Unbound in base (review)

2012-03-26 Thread Jakob Schlyter
Any more feedback on this? We need more testing to proceed!

jakob



Re: Unbound in base (review)

2012-04-02 Thread Björn Ketelaars
2012/3/26 Jakob Schlyter :
> Any more feedback on this? We need more testing to proceed!

Unbound has been imported to work on in-tree (not yet linked to the
build) [1]. It compiles and functions on amd64 and i386. I can only
guess who is actually working on further integrating this tool in
base. Therefore I'm sending the diff below to everyb...@misc...for
inspiration.

--
Bjvrn Ketelaars

[1] http://marc.info/?l=openbsd-cvs&m=133278525113948&w=2



Index: distrib/sets/lists/base/mi
===
RCS file: /mnt/cvs/src/distrib/sets/lists/base/mi,v
retrieving revision 1.566
diff -u -r1.566 mi
--- distrib/sets/lists/base/mi  8 Mar 2012 19:28:45 -   1.566
+++ distrib/sets/lists/base/mi  2 Apr 2012 11:33:11 -
@@ -2548,6 +2548,7 @@
 ./usr/sbin/dig
 ./usr/sbin/dnssec-keygen
 ./usr/sbin/dnssec-signzone
+./usr/sbin/drill
 ./usr/sbin/dvmrpctl
 ./usr/sbin/dvmrpd
 ./usr/sbin/editmap
@@ -2699,6 +2700,12 @@
 ./usr/sbin/traceroute
 ./usr/sbin/traceroute6
 ./usr/sbin/trpt
+./usr/sbin/unbound
+./usr/sbin/unbound-anchor
+./usr/sbin/unbound-checkconf
+./usr/sbin/unbound-control
+./usr/sbin/unbound-control-setup
+./usr/sbin/unbound-host
 ./usr/sbin/usbdevs
 ./usr/sbin/user
 ./usr/sbin/useradd
@@ -5152,6 +5159,11 @@
 ./var/spool/uucppublic
 ./var/tmp
 ./var/tmp/vi.recover
+./var/unbound
+./var/unbound/etc
+./var/unbound/var
+./var/unbound/var/dev
+./var/unbound/var/run
 ./var/www
 ./var/www/bin
 ./var/www/bin/bgpctl
Index: distrib/sets/lists/etc/mi
===
RCS file: /mnt/cvs/src/distrib/sets/lists/etc/mi,v
retrieving revision 1.146
diff -u -r1.146 mi
--- distrib/sets/lists/etc/mi   2 Apr 2012 03:08:44 -   1.146
+++ distrib/sets/lists/etc/mi   2 Apr 2012 11:33:11 -
@@ -166,6 +166,7 @@
 ./etc/rc.d/sshd
 ./etc/rc.d/statd
 ./etc/rc.d/syslogd
+./etc/rc.d/unbound
 ./etc/rc.d/tftpd
 ./etc/rc.d/watchdogd
 ./etc/rc.d/wsmoused
@@ -244,6 +245,9 @@
 ./var/named/standard/loopback
 ./var/named/standard/loopback6.arpa
 ./var/run/utmp
+./var/unbound/etc/root.hint
+./var/unbound/etc/unbound.conf
+./var/unbound/var/run/root.key
 ./var/www/cgi-bin/printenv
 ./var/www/cgi-bin/test-cgi
 ./var/www/conf/bgplg.css
Index: distrib/sets/lists/man/mi
===
RCS file: /mnt/cvs/src/distrib/sets/lists/man/mi,v
retrieving revision 1.1128
diff -u -r1.1128 mi
--- distrib/sets/lists/man/mi   29 Mar 2012 11:03:59 -  1.1128
+++ distrib/sets/lists/man/mi   2 Apr 2012 11:33:11 -
@@ -353,6 +353,7 @@
 ./usr/share/man/man1/dirname.1
 ./usr/share/man/man1/domainname.1
 ./usr/share/man/man1/dprofpp.1
+./usr/share/man/man1/drill.1
 ./usr/share/man/man1/du.1
 ./usr/share/man/man1/echo.1
 ./usr/share/man/man1/ed.1
@@ -758,6 +759,7 @@
 ./usr/share/man/man1/uname.1
 ./usr/share/man/man1/uncompress.1
 ./usr/share/man/man1/unexpand.1
+./usr/share/man/man1/unbound-host.1
 ./usr/share/man/man1/unifdef.1
 ./usr/share/man/man1/uniq.1
 ./usr/share/man/man1/units.1
@@ -2537,6 +2539,7 @@
 ./usr/share/man/man5/texinfo.5
 ./usr/share/man/man5/ttys.5
 ./usr/share/man/man5/tzfile.5
+./usr/share/man/man5/unbound.conf.5
 ./usr/share/man/man5/usermgmt.conf.5
 ./usr/share/man/man5/utmp.5
 ./usr/share/man/man5/uuencode.5
@@ -3040,6 +3043,10 @@
 ./usr/share/man/man8/ttyflags.8
 ./usr/share/man/man8/tunefs.8
 ./usr/share/man/man8/umount.8
+./usr/share/man/man8/unbound-anchor.8
+./usr/share/man/man8/unbound-checkconf.8
+./usr/share/man/man8/unbound-control.8
+./usr/share/man/man8/unbound.8
 ./usr/share/man/man8/updatedb.8
 ./usr/share/man/man8/usbdevs.8
 ./usr/share/man/man8/uucpd.8
Index: etc/Makefile
===
RCS file: /mnt/cvs/src/etc/Makefile,v
retrieving revision 1.316
diff -u -r1.316 Makefile
--- etc/Makefile1 Apr 2012 18:32:51 -   1.316
+++ etc/Makefile2 Apr 2012 11:33:11 -
@@ -53,9 +53,9 @@
inetd isakmpd ldapd ldattach ldpd lpd mopd mrouted named nginx \
nsd ntpd ospfd ospf6d portmap pflogd rarpd rbootd relayd ripd \
route6d rtadvd rtsold rwhod sasyncd sendmail sensorsd smtpd \
-   snmpd spamd sshd syslogd watchdogd wsmoused xdm ypbind ypldap \
-   yppasswdd ypserv kdc kadmind kpasswdd nfsd mountd lockd statd \
-   spamlogd sndiod popa3d tftpd
+   snmpd spamd sshd syslogd unbound watchdogd wsmoused xdm ypbind \
+   ypldap yppasswdd ypserv kdc kadmind kpasswdd nfsd mountd lockd \
+   statd spamlogd sndiod popa3d tftpd

 MISETS=base${OSrev}.tgz comp${OSrev}.tgz \
man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz
@@ -219,6 +219,13 @@
${DESTDIR}/var/named/standard/loopback; \
${INSTALL} -c -o root -g wheel -m 644 db.loopback6.arpa \
${DESTDIR}/var/named/standard/loopback6.arpa
+   cd unbound; \
+