Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223103 - ebuild and addition to portage of Unbound dns server
Summary: ebuild and addition to portage of Unbound dns server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 192728
Blocks:
  Show dependency tree
 
Reported: 2008-05-21 17:58 UTC by Chris Smith
Modified: 2010-04-29 07:37 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-dns/unbound-1.0.0.ebuild (unbound-1.0.0.ebuild,1.53 KB, text/plain)
2008-05-24 19:39 UTC, Sergey Belyashov
Details
files/1.0.0-config.patch (1.0.0-config.patch,735 bytes, patch)
2008-05-24 19:39 UTC, Sergey Belyashov
Details | Diff
files/unbound.initd (unbound.initd,623 bytes, text/plain)
2008-05-24 19:40 UTC, Sergey Belyashov
Details
unbound svn trunk ebuils (unbound-9999.ebuild,1.72 KB, text/plain)
2008-06-16 21:27 UTC, Chris Smith
Details
add depend flags to unbound.initd (unbound.initd.patch,312 bytes, patch)
2008-07-18 17:56 UTC, Chris Smith
Details | Diff
unbound-1.0.1.ebuild (unbound-1.0.1.ebuild,1.71 KB, text/plain)
2008-07-28 16:58 UTC, Tom Hendrikx
Details
1.0.1-config.patch (1.0.1-config.patch,402 bytes, patch)
2008-07-28 17:00 UTC, Tom Hendrikx
Details | Diff
nbound.initd (unbound.initd,911 bytes, text/plain)
2008-07-28 17:00 UTC, Tom Hendrikx
Details
unbound svn trunk ebuild (unbound-9999.ebuild,1.85 KB, text/plain)
2008-09-12 04:07 UTC, Chris Smith
Details
unbound-9999.ebuild (unbound-9999.ebuild,1.85 KB, text/plain)
2008-10-16 18:11 UTC, Chris Smith
Details
unbound 1.3.0 ebuild (unbound-1.3.0.ebuild,2.94 KB, text/plain)
2009-07-03 10:04 UTC, Tim O'Kelly
Details
unbound 1.3.3 ebuild (unbound-1.3.3.ebuild,2.38 KB, text/plain)
2009-09-20 15:43 UTC, Tim O'Kelly
Details
net-dns/unbound-1.3.3.ebuild (unbound-1.3.3.ebuild,2.24 KB, text/plain)
2009-10-05 23:46 UTC, MATSUU Takuto (RETIRED)
Details
files/unbound-1.3.3-gentoo.patch (unbound-1.3.3-gentoo.patch,551 bytes, patch)
2009-10-05 23:46 UTC, MATSUU Takuto (RETIRED)
Details | Diff
net-dns/unbound-1.3.4.ebuild (unbound-1.3.4.ebuild,1.71 KB, text/plain)
2009-10-14 22:02 UTC, MATSUU Takuto (RETIRED)
Details
files/unbound.initd (unbound.initd,1.12 KB, text/plain)
2009-10-14 22:46 UTC, MATSUU Takuto (RETIRED)
Details
files/unbound.confd (unbound.confd,277 bytes, text/plain)
2009-10-14 22:47 UTC, MATSUU Takuto (RETIRED)
Details
net-dns/unbound-1.3.4.ebuild (unbound-1.3.4.ebuild,1.44 KB, text/plain)
2009-10-17 00:45 UTC, MATSUU Takuto (RETIRED)
Details
files/unbound.initd (unbound.initd,1.05 KB, text/plain)
2009-10-17 00:46 UTC, MATSUU Takuto (RETIRED)
Details
files/unbound.confd (unbound.confd,171 bytes, text/plain)
2009-10-17 00:47 UTC, MATSUU Takuto (RETIRED)
Details
updated unbound svn ebuild (unbound-9999.ebuild,2.66 KB, text/plain)
2010-04-22 14:47 UTC, Chris Smith
Details
ldns svn ebuild (ldns-9999.ebuild,1.65 KB, text/plain)
2010-04-22 14:49 UTC, Chris Smith
Details
unbound-9999.ebuild (unbound-9999.ebuild,2.79 KB, text/plain)
2010-04-28 21:01 UTC, Chris Smith
Details
ldns-9999.ebuild (ldns-9999.ebuild,1.71 KB, text/plain)
2010-04-28 21:02 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2008-05-21 17:58:40 UTC
Requested addition to portage of Unbound:
http://www.unbound.net/



Reproducible: Always




Version 1.0.0 released.

A caching/resolving server from those that bring us the NSD authoritative DNS server.
Comment 1 Sergey Belyashov 2008-05-24 19:39:17 UTC
Created attachment 154183 [details]
net-dns/unbound-1.0.0.ebuild
Comment 2 Sergey Belyashov 2008-05-24 19:39:41 UTC
Created attachment 154185 [details, diff]
files/1.0.0-config.patch
Comment 3 Sergey Belyashov 2008-05-24 19:40:16 UTC
Created attachment 154187 [details]
files/unbound.initd
Comment 4 Chris Smith 2008-06-16 21:27:18 UTC
Created attachment 157157 [details]
unbound svn trunk ebuils

Had some issues with the 1.0.0 release and decided to try the svn build (which did solve my problems). So I offer the this ebuild for those who wish to use it - note: it does not apply the 1.0.0-config.patch offered.
Comment 5 Chris Smith 2008-07-18 17:56:48 UTC
Created attachment 160743 [details, diff]
add depend flags to unbound.initd

see bug #128246 for explanation
Comment 6 Tom Hendrikx 2008-07-28 16:58:59 UTC
Created attachment 161548 [details]
unbound-1.0.1.ebuild

version bump to unbound 1.0.1
* uses ./configure to specify nice values for config and pid file
* updated initd file, fixed seveal problems

I had some problems with the combination nsd/unbound/syslog-ng and restarts, caused by the values in the depend() method. I changed it to an "after" clause, which solved the issue. Also I changed the "provide dnssrv" in nsd to a more descriptive "auth-dns".

I'm willing to maintain nsd, ldns and unbound in sunrise overlay, so any comments are welcome.
Comment 7 Tom Hendrikx 2008-07-28 17:00:12 UTC
Created attachment 161549 [details, diff]
1.0.1-config.patch

patch to disable chroot in config file
Comment 8 Tom Hendrikx 2008-07-28 17:00:54 UTC
Created attachment 161550 [details]
nbound.initd
Comment 9 Chris Smith 2008-09-12 04:07:07 UTC
Created attachment 165235 [details]
unbound svn trunk ebuild

minor change necessary to build svn revisions > 1168
Comment 10 Chris Smith 2008-10-16 18:11:28 UTC
Created attachment 168690 [details]
unbound-9999.ebuild

slight change to build with -j1 as the svn doesn't always build otherwise
Comment 11 Tom Hendrikx 2008-11-20 22:22:28 UTC
The unbound ebuild in Sunrise overlay is updated to version 1.1.1 today (and will be available after review, in a few days).
Comment 12 Tim O'Kelly 2009-07-03 10:04:56 UTC
Created attachment 196489 [details]
unbound 1.3.0 ebuild

The unbound ebuild in Sunrise overlay is updated to version 1.3.0
Comment 13 Tim O'Kelly 2009-09-20 15:43:19 UTC
Created attachment 204702 [details]
unbound 1.3.3 ebuild

The unbound ebuild in Sunrise overlay is updated to version 1.3.3
Comment 14 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-05 23:46:23 UTC
Created attachment 206207 [details]
net-dns/unbound-1.3.3.ebuild

clean up
Comment 15 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-05 23:46:53 UTC
Created attachment 206208 [details, diff]
files/unbound-1.3.3-gentoo.patch
Comment 16 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-10-13 16:46:37 UTC
There has been a vulnerability report for unbound:

Name:      CVE-2009-3602
URL:       http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3602
Published: 2009-10-13
Severity:  High
Description: 

Unbound before 1.3.4 does not properly verify signatures for NSEC3
records, which allows remote attackers to cause secure delegations to
be downgraded via DNS spoofing or other DNS-related attacks in
conjunction with crafted delegation responses.


Please note that the first commiter to gentoo-x86 is required to verify that this issue is fixed before adding the package to the tree. Please contact security@g.o with any questions. Thanks.
Comment 17 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-14 22:02:54 UTC
Created attachment 207160 [details]
net-dns/unbound-1.3.4.ebuild
Comment 18 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-14 22:46:46 UTC
Created attachment 207165 [details]
files/unbound.initd
Comment 19 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-14 22:47:19 UTC
Created attachment 207167 [details]
files/unbound.confd
Comment 20 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-17 00:45:14 UTC
Created attachment 207371 [details]
net-dns/unbound-1.3.4.ebuild
Comment 21 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-17 00:46:52 UTC
Created attachment 207373 [details]
files/unbound.initd
Comment 22 MATSUU Takuto (RETIRED) gentoo-dev 2009-10-17 00:47:41 UTC
Created attachment 207374 [details]
files/unbound.confd
Comment 23 Tom Hendrikx 2009-10-18 09:40:56 UTC
Sunrise version was bumped (I was on a holiday).

@matsuu: any chance that unbound goes into main portage tree?
Comment 24 MATSUU Takuto (RETIRED) gentoo-dev 2009-11-22 16:57:57 UTC
in cvs now.
Comment 25 Roy Marples 2009-12-04 22:41:18 UTC
Just a quick thanks for this guys - I was recently introduced to unbound (and nsd for forward facing authorative dns) and am really loving this over bind (server) and dnsmasq (laptop) and use unbound everywhere!

Fancy putting nsd into portage?
http://www.nlnetlabs.nl/projects/nsd/
Comment 26 Chris Smith 2010-04-22 14:47:35 UTC
Created attachment 228769 [details]
updated unbound svn ebuild

Been using unbound svn for quite a while and realized my ebuild here was out of date so thought I would send up the latest version. The ldns use flag is turned on by default and it's probably a good idea to use ldns-9999 with this (currently mandatory for gost support) or turn it off and let unbound use the internally shipped tarball to build ldns (it's newer than the released version). My ldns-9999.ebuild also builds and installs the drill tool (like bind's dig).
Comment 27 Chris Smith 2010-04-22 14:49:15 UTC
Created attachment 228771 [details]
ldns svn ebuild

Builds ldns from svn and also the optional drill tool (like bind's dig tool).
Comment 28 Chris Smith 2010-04-28 21:01:38 UTC
Created attachment 229575 [details]
unbound-9999.ebuild

a little tweaking to improve the ebuild
Comment 29 Chris Smith 2010-04-28 21:02:27 UTC
Created attachment 229577 [details]
ldns-9999.ebuild

some tweaking here as well