pkgsrc/net/bind9/Makefile

59 lines
2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2001/11/27 03:38:40 itojun Exp $
#
DISTNAME= bind-${BIND_VERSION}
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.isc.org/products/BIND/
COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
# IPv6 ready, automatically detected
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
# No need to set USE_INET6, will auto-detect.
BIND_VERSION= 9.2.0
DIST_SUBDIR= bind/${BIND_VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-threads # Until we have real threads
CONFIGURE_ARGS+=--with-libtool=yes \
--sysconfdir=/etc \
--localstatedir=/var
#LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib
# 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}
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
use 9.1.1rc1. we upgrade to release candidate for important fixes (change id 727 is very important). hack: package version number is set to 9.1.0.1, as 9.1.1rc1 is prior to 9.1.1. 729. [port] pthread_setconcurrency() needs to be called on Solaris. 727. [port] Work around OS bug where accept() succeeds but fails to fill in the peer address of the accepted connection, by treating it as an error rather than an assertion failure. [RT #809] 723. [bug] Referrals whose NS RRs had a 0 TTL caused the resolver to return DNS_R_SERVFAIL. [RT #783] 720. [bug] Server could enter infinite loop in dispatch.c:do_cancel(). [RT #743] 719. [bug] Rapid reloads could trigger an assertion failure. [RT #743, #763] 717. [bug] Certain TKEY processing failure modes could reference an uninitialized variable, causing the server to crash. [RT #750] 716. [bug] The first line of a $INCLUDE master file was lost if an origin was specified. [RT #744] 715. [bug] Resolving some A6 chains could cause an assertion failure in adb.c. [RT #738] 711. [bug] The libisc and liblwres implementations of inet_ntop contained an off by one error. 706. [bug] Zones with an explicit "allow-update { none; };" were considered dynamic and therefore not reloaded on SIGHUP or "rndc reload". 700. [bug] $GENERATE range check was wrong. [RT #688] 698. [bug] Aborting nsupdate with ^C would lead to several race conditions. 699. [bug] The lexer mishandled empty quoted strings. [RT #694] 694. [bug] $GENERATE did not produce the last entry. [RT #682, #683] 693. [bug] An empty lwres statement in named.conf caused the server to crash while loading. 692. [bug] Deal with systems that have getaddrinfo() but not gai_strerror(). [RT #679] 691. [bug] Configuring per-view forwarders caused an assertion failure. [RT #675, #734]
2001-02-08 11:31:43 +01:00
PLIST_SRC= ${WRKDIR}/PLIST
post-install:
${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
${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
use 9.1.1rc1. we upgrade to release candidate for important fixes (change id 727 is very important). hack: package version number is set to 9.1.0.1, as 9.1.1rc1 is prior to 9.1.1. 729. [port] pthread_setconcurrency() needs to be called on Solaris. 727. [port] Work around OS bug where accept() succeeds but fails to fill in the peer address of the accepted connection, by treating it as an error rather than an assertion failure. [RT #809] 723. [bug] Referrals whose NS RRs had a 0 TTL caused the resolver to return DNS_R_SERVFAIL. [RT #783] 720. [bug] Server could enter infinite loop in dispatch.c:do_cancel(). [RT #743] 719. [bug] Rapid reloads could trigger an assertion failure. [RT #743, #763] 717. [bug] Certain TKEY processing failure modes could reference an uninitialized variable, causing the server to crash. [RT #750] 716. [bug] The first line of a $INCLUDE master file was lost if an origin was specified. [RT #744] 715. [bug] Resolving some A6 chains could cause an assertion failure in adb.c. [RT #738] 711. [bug] The libisc and liblwres implementations of inet_ntop contained an off by one error. 706. [bug] Zones with an explicit "allow-update { none; };" were considered dynamic and therefore not reloaded on SIGHUP or "rndc reload". 700. [bug] $GENERATE range check was wrong. [RT #688] 698. [bug] Aborting nsupdate with ^C would lead to several race conditions. 699. [bug] The lexer mishandled empty quoted strings. [RT #694] 694. [bug] $GENERATE did not produce the last entry. [RT #682, #683] 693. [bug] An empty lwres statement in named.conf caused the server to crash while loading. 692. [bug] Deal with systems that have getaddrinfo() but not gai_strerror(). [RT #679] 691. [bug] Configuring per-view forwarders caused an assertion failure. [RT #675, #734]
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}
${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
.include "../../mk/bsd.pkg.mk"