2001-11-27 04:38:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.37 2001/11/27 03:38:40 itojun Exp $
|
2000-02-22 04:50:57 +01:00
|
|
|
#
|
|
|
|
|
Update bind9 to 9.0.0rc1. This is the first release candidate for bind9.
Changes are too numerous to list here in detail, but highlights are:
The communication between "rndc" and "named" is now
authenticated using digital signatures. Because of
this, rndc now requires a configuration file "rndc.conf"
containing a shared secret, with a corresponding
"controls" clause in named.conf.
When the server is chrooted using the -t option,
it no longer needs copies of the passwd and group
files in the chroot environment.
Various bug fixes and cleanups, especially
in the dig, host, nslookup, and nsupdate
programs.
There are a few known bugs:
The option "query-source * port 53;" will not work as
expected. Instead of the wildcard address "*", you need
to use an explicit source IP address.
On some systems, IPv6 and IPv4 sockets interact in
unexpected ways. For details, see doc/misc/ipv6.
To reduce the impact of these problems, the server
no longer listens for requests on IPv6 addresses
by default. If you need to accept DNS queries over
IPv6, you must specify "listen-on-v6 { any; };"
in the named.conf options statement.
There are known problems with thread signal handling
under Solaris 2.6.
2000-07-26 10:46:23 +02:00
|
|
|
DISTNAME= bind-${BIND_VERSION}
|
2000-02-22 04:50:57 +01:00
|
|
|
CATEGORIES= net
|
Update bind9 to 9.0.0rc1. This is the first release candidate for bind9.
Changes are too numerous to list here in detail, but highlights are:
The communication between "rndc" and "named" is now
authenticated using digital signatures. Because of
this, rndc now requires a configuration file "rndc.conf"
containing a shared secret, with a corresponding
"controls" clause in named.conf.
When the server is chrooted using the -t option,
it no longer needs copies of the passwd and group
files in the chroot environment.
Various bug fixes and cleanups, especially
in the dig, host, nslookup, and nsupdate
programs.
There are a few known bugs:
The option "query-source * port 53;" will not work as
expected. Instead of the wildcard address "*", you need
to use an explicit source IP address.
On some systems, IPv6 and IPv4 sockets interact in
unexpected ways. For details, see doc/misc/ipv6.
To reduce the impact of these problems, the server
no longer listens for requests on IPv6 addresses
by default. If you need to accept DNS queries over
IPv6, you must specify "listen-on-v6 { any; };"
in the named.conf options statement.
There are known problems with thread signal handling
under Solaris 2.6.
2000-07-26 10:46:23 +02:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
|
2000-02-22 04:50:57 +01:00
|
|
|
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
|
2000-02-22 04:50:57 +01:00
|
|
|
|
2000-04-28 08:43:00 +02:00
|
|
|
# IPv6 ready, automatically detected
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
2000-02-22 04:50:57 +01:00
|
|
|
# No need to set USE_INET6, will auto-detect.
|
2001-11-27 04:38:40 +01:00
|
|
|
BIND_VERSION= 9.2.0
|
Update bind9 to 9.0.0rc1. This is the first release candidate for bind9.
Changes are too numerous to list here in detail, but highlights are:
The communication between "rndc" and "named" is now
authenticated using digital signatures. Because of
this, rndc now requires a configuration file "rndc.conf"
containing a shared secret, with a corresponding
"controls" clause in named.conf.
When the server is chrooted using the -t option,
it no longer needs copies of the passwd and group
files in the chroot environment.
Various bug fixes and cleanups, especially
in the dig, host, nslookup, and nsupdate
programs.
There are a few known bugs:
The option "query-source * port 53;" will not work as
expected. Instead of the wildcard address "*", you need
to use an explicit source IP address.
On some systems, IPv6 and IPv4 sockets interact in
unexpected ways. For details, see doc/misc/ipv6.
To reduce the impact of these problems, the server
no longer listens for requests on IPv6 addresses
by default. If you need to accept DNS queries over
IPv6, you must specify "listen-on-v6 { any; };"
in the named.conf options statement.
There are known problems with thread signal handling
under Solaris 2.6.
2000-07-26 10:46:23 +02:00
|
|
|
DIST_SUBDIR= bind/${BIND_VERSION}
|
2000-02-22 04:50:57 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-01-26 22:12:02 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-threads # Until we have real threads
|
|
|
|
CONFIGURE_ARGS+=--with-libtool=yes \
|
2000-03-31 13:15:23 +02:00
|
|
|
--sysconfdir=/etc \
|
2001-04-12 05:35:25 +02:00
|
|
|
--localstatedir=/var
|
2001-11-27 04:38:40 +01:00
|
|
|
#LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib
|
2001-01-28 14:19:28 +01:00
|
|
|
# use external OpenSSL. comment the following two lines out to use
|
|
|
|
# OpenSSL shipped with BIND9.
|
upgrade to 9.1.1rc3 (package version # is 9.1.0.3 as rc3 is prior to 9.1.1).
--- 9.1.1rc3 released ---
754. [bug] Certain failure conditions sending UDP packets
could cause the server to retry the transmission
indefinitely. [RT #902]
753. [bug] dig, host, and nslookup would fail to contact a
remote server if getaddrinfo() returned an IPv6
address on a system that doesn't support IPv6.
[RT #917]
750. [bug] A query should not match a DNAME whose trust level
is pending. [RT #916]
749. [bug] When a query matched a DNAME in a secure zone, the
server did not return the signature of the DNAME.
[RT #915]
747. [bug] The code to determine whether an IXFR was possible
did not properly check for a database that could
not have a journal. [RT #865, #908]
746. [bug] The sdb didn't clone rdatasets properly, causing
a crash when the server followed delegations. [RT #905]
744. [bug] When returning DNS_R_CNAME or DNS_R_DNAME as the
result of an ANY or SIG query, the resolver failed
to setup the return event's rdatasets, causing an
assertion failure in the query code. [RT #881]
743. [bug] Receiving a large number of certain malformed
answers could cause named to stop responding.
[RT #861]
742. [bug] dig +domain did not work. [RT #850]
738. [bug] If a non-threadsafe sdb driver supported AXFR and
received an AXFR request, it would deadlock or die
with an assertion failure. [RT #852]
737. [port] stdtime.c failed to compile on certain platforms.
648. [port] Add support for pre-RFC2133 IPv6 implementations.
--- 9.1.1rc2 released ---
733. [bug] Reference counts of dns_acl_t objects need to be
locked but were not. [RT #801, #821]
708. [bug] When building with --with-openssl, the openssl headers
included with BIND 9 should not be used. [RT #702]
2001-02-27 03:54:27 +01:00
|
|
|
USE_SSL= yes
|
|
|
|
CONFIGURE_ARGS+=--with-openssl=${LOCALBASE}
|
2000-02-22 04:50:57 +01:00
|
|
|
|
2001-01-26 05:25:36 +01:00
|
|
|
post-build:
|
|
|
|
${SED} \
|
|
|
|
-e 's|@PREFIX@|${PREFIX}|' \
|
|
|
|
<${FILESDIR}/named.sh >${WRKDIR}/named
|
2001-02-04 13:19:24 +01:00
|
|
|
${SED} \
|
|
|
|
-e 's|@PREFIX@|${PREFIX}|' \
|
|
|
|
<${FILESDIR}/lwresd.sh >${WRKDIR}/lwresd
|
2001-01-26 05:25:36 +01:00
|
|
|
|
2001-02-08 11:31:43 +01:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
2000-02-22 04:50:57 +01:00
|
|
|
post-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/draft
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/rfc
|
2000-02-22 04:50:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bind9
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/* ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/draft/* ${PREFIX}/share/doc/bind9/draft
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/misc/* ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/rfc/* ${PREFIX}/share/doc/bind9/rfc
|
2001-02-08 11:31:43 +01:00
|
|
|
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
|
|
|
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type f -print ) >> ${PLIST_SRC}
|
|
|
|
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type d -print ) | \
|
|
|
|
${SED} -e 's/^/@dirrm /' | sort -r >> ${PLIST_SRC}
|
2001-01-31 05:07:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/named ${PREFIX}/etc/rc.d/named9
|
2001-02-04 13:19:24 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/lwresd ${PREFIX}/etc/rc.d/lwresd
|
2000-02-22 04:50:57 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|