2002-08-05 16:48:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2002/08/05 20:48:59 jakob Exp $
|
2001-03-24 14:55:27 -05:00
|
|
|
|
2002-07-07 07:21:59 -04:00
|
|
|
COMMENT= Berkeley Internet Name Daemon
|
|
|
|
COMMENT-libbind= BIND 8 compatible stub resolver library
|
2000-09-16 03:36:52 -04:00
|
|
|
|
2002-05-02 02:41:38 -04:00
|
|
|
VERSION= 9.2.1
|
2000-09-16 03:36:52 -04:00
|
|
|
DISTNAME= bind-${VERSION}
|
|
|
|
CATEGORIES= net
|
2001-03-24 14:55:27 -05:00
|
|
|
|
2002-07-07 07:21:59 -04:00
|
|
|
MULTI_PACKAGES= -libbind
|
|
|
|
PKGNAME-libbind= libbind-${VERSION}
|
|
|
|
|
2001-10-08 19:01:51 -04:00
|
|
|
MASTER_SITES+= ftp://ftp.isc.org/isc/bind9/${VERSION}/ \
|
|
|
|
ftp://ftp.epix.net/pub/isc/bind9/${VERSION}/ \
|
|
|
|
ftp://ftp.nominum.com/pub/isc/bind9/${VERSION}/ \
|
2001-07-13 07:23:37 -04:00
|
|
|
ftp://ftp.sunet.se/pub/network/isc/bind9/${VERSION}/ \
|
2001-10-08 19:01:51 -04:00
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/bind9/${VERSION}/ \
|
|
|
|
ftp://ftp.iij.ad.jp/pub/network/isc/bind9/${VERSION}/ \
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.isc.org/products/BIND/
|
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-03-06 18:48:23 -05:00
|
|
|
# XXX workaround gcc bugs on sparc64
|
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
2002-03-23 17:05:48 -05:00
|
|
|
PATCH_LIST= gcc-* patch-*
|
2002-03-06 18:48:23 -05:00
|
|
|
.endif
|
|
|
|
|
update to BIND v9.1.0. from release announcement:
--
BIND 9.1.0 has been released. Compared to BIND 9.0, BIND 9.1 has a
number of new features as well as numerous bug fixes and cleanups.
The new features include:
- Many BIND 8 features previously unimplemented in BIND 9,
including domain-specific forwarding, the $GENERATE
master file directive, and the "blackhole", "dialup",
and "sortlist" options
- Forwarding of dynamic update requests; this is enabled
by the "allow-update-forwarding" option
- A new, simplified database interface and a number of
sample drivers based on it; see doc/misc/sdb for details
- Support for building single-threaded servers for
environments that do not supply POSIX threads
- New configuration options: "min-refresh-time",
"max-refresh-time", "min-retry-time", "max-retry-time",
"additional-from-auth", "additional-from-cache",
"notify explicit"
- Faster lookups, particularly in large zones.
2001-01-18 04:32:00 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-09-16 03:36:52 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-10-08 19:01:51 -04:00
|
|
|
CONFIGURE_ARGS+= --with-libtool ${CONFIGURE_SHARED} \
|
|
|
|
--localstatedir=/var \
|
2001-11-26 18:25:18 -05:00
|
|
|
--enable-libbind \
|
2001-10-08 19:01:51 -04:00
|
|
|
--with-openssl="/usr"
|
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
2000-09-16 03:36:52 -04:00
|
|
|
|
2002-06-13 11:27:29 -04:00
|
|
|
REGRESS_TARGET= test
|
2002-05-02 02:41:38 -04:00
|
|
|
|
2002-08-05 16:48:59 -04:00
|
|
|
FLAVORS= static threads
|
2000-09-16 03:36:52 -04:00
|
|
|
FLAVOR?=
|
2000-09-21 06:17:53 -04:00
|
|
|
|
update to BIND v9.1.0. from release announcement:
--
BIND 9.1.0 has been released. Compared to BIND 9.0, BIND 9.1 has a
number of new features as well as numerous bug fixes and cleanups.
The new features include:
- Many BIND 8 features previously unimplemented in BIND 9,
including domain-specific forwarding, the $GENERATE
master file directive, and the "blackhole", "dialup",
and "sortlist" options
- Forwarding of dynamic update requests; this is enabled
by the "allow-update-forwarding" option
- A new, simplified database interface and a number of
sample drivers based on it; see doc/misc/sdb for details
- Support for building single-threaded servers for
environments that do not supply POSIX threads
- New configuration options: "min-refresh-time",
"max-refresh-time", "min-retry-time", "max-retry-time",
"additional-from-auth", "additional-from-cache",
"notify explicit"
- Faster lookups, particularly in large zones.
2001-01-18 04:32:00 -05:00
|
|
|
.if ${FLAVOR:L:Mstatic}
|
|
|
|
CFLAGS+= "-static"
|
2000-11-13 11:01:29 -05:00
|
|
|
NO_SHARED_LIBS= Yes
|
2000-09-21 06:17:53 -04:00
|
|
|
.endif
|
|
|
|
|
update to BIND v9.1.0. from release announcement:
--
BIND 9.1.0 has been released. Compared to BIND 9.0, BIND 9.1 has a
number of new features as well as numerous bug fixes and cleanups.
The new features include:
- Many BIND 8 features previously unimplemented in BIND 9,
including domain-specific forwarding, the $GENERATE
master file directive, and the "blackhole", "dialup",
and "sortlist" options
- Forwarding of dynamic update requests; this is enabled
by the "allow-update-forwarding" option
- A new, simplified database interface and a number of
sample drivers based on it; see doc/misc/sdb for details
- Support for building single-threaded servers for
environments that do not supply POSIX threads
- New configuration options: "min-refresh-time",
"max-refresh-time", "min-retry-time", "max-retry-time",
"additional-from-auth", "additional-from-cache",
"notify explicit"
- Faster lookups, particularly in large zones.
2001-01-18 04:32:00 -05:00
|
|
|
.if ${FLAVOR:L:Mthreads}
|
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.endif
|
|
|
|
|
2001-02-12 12:13:17 -05:00
|
|
|
EXAMPLEFILES= named.conf named.root \
|
|
|
|
named.localhost named.loopback
|
update to BIND v9.1.0. from release announcement:
--
BIND 9.1.0 has been released. Compared to BIND 9.0, BIND 9.1 has a
number of new features as well as numerous bug fixes and cleanups.
The new features include:
- Many BIND 8 features previously unimplemented in BIND 9,
including domain-specific forwarding, the $GENERATE
master file directive, and the "blackhole", "dialup",
and "sortlist" options
- Forwarding of dynamic update requests; this is enabled
by the "allow-update-forwarding" option
- A new, simplified database interface and a number of
sample drivers based on it; see doc/misc/sdb for details
- Support for building single-threaded servers for
environments that do not supply POSIX threads
- New configuration options: "min-refresh-time",
"max-refresh-time", "min-retry-time", "max-retry-time",
"additional-from-auth", "additional-from-cache",
"notify explicit"
- Faster lookups, particularly in large zones.
2001-01-18 04:32:00 -05:00
|
|
|
|
2001-10-08 19:01:51 -04:00
|
|
|
MISCDOCFILES= dnssec ipv6 migration migration-4to9 \
|
2001-11-26 18:25:18 -05:00
|
|
|
options rfc-compliance roadmap sdb
|
2001-10-08 19:01:51 -04:00
|
|
|
|
2000-09-16 03:36:52 -04:00
|
|
|
post-install:
|
update to BIND v9.1.0. from release announcement:
--
BIND 9.1.0 has been released. Compared to BIND 9.0, BIND 9.1 has a
number of new features as well as numerous bug fixes and cleanups.
The new features include:
- Many BIND 8 features previously unimplemented in BIND 9,
including domain-specific forwarding, the $GENERATE
master file directive, and the "blackhole", "dialup",
and "sortlist" options
- Forwarding of dynamic update requests; this is enabled
by the "allow-update-forwarding" option
- A new, simplified database interface and a number of
sample drivers based on it; see doc/misc/sdb for details
- Support for building single-threaded servers for
environments that do not supply POSIX threads
- New configuration options: "min-refresh-time",
"max-refresh-time", "min-retry-time", "max-retry-time",
"additional-from-auth", "additional-from-cache",
"notify explicit"
- Faster lookups, particularly in large zones.
2001-01-18 04:32:00 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9/misc
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bind9
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${PREFIX}/share/doc/bind9/arm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/arm/*.gif ${PREFIX}/share/doc/bind9/arm
|
2000-09-16 03:36:52 -04:00
|
|
|
.for file in ${EXAMPLEFILES}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${file} ${PREFIX}/share/examples/bind9
|
|
|
|
.endfor
|
2001-10-08 19:01:51 -04:00
|
|
|
.for file in ${MISCDOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/misc/${file} ${PREFIX}/share/doc/bind9/misc
|
|
|
|
.endfor
|
|
|
|
.for file in bind9-enable bind9-disable
|
|
|
|
@sed s,y0y0y0,${TRUEPREFIX}, < ${FILESDIR}/${file} > \
|
|
|
|
${PREFIX}/sbin/${file}
|
|
|
|
@chmod 555 ${PREFIX}/sbin/${file}
|
|
|
|
@chown root:wheel ${PREFIX}/sbin/${file}
|
|
|
|
.endfor
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|