2001-01-18 09:25:15 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2001/01/18 14:25:15 jakob Exp $
|
2000-09-16 03:36:52 -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
|
|
|
VERSION= 9.1.0
|
2000-09-16 03:36:52 -04:00
|
|
|
DISTNAME= bind-${VERSION}
|
|
|
|
CATEGORIES= net
|
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
|
|
|
NEED_VERSION= 1.336
|
2000-09-16 03:36:52 -04:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${VERSION}/ \
|
|
|
|
ftp://ftp.sunet.se/pub/network/isc/bind9/${VERSION}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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
|
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
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2001-01-18 09:25:15 -05:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var \
|
|
|
|
--with-randomdev="/dev/srandom" \
|
|
|
|
--with-openssl="/usr" \
|
2000-09-16 11:28:01 -04:00
|
|
|
--with-libtool
|
2000-09-16 03:36:52 -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
|
|
|
FLAVORS= debug 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:Mdebug}
|
|
|
|
CFLAGS+= "-g"
|
2000-09-16 03:36:52 -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: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
|
|
|
|
|
|
|
|
EXAMPLEFILES= named.conf named.root \
|
|
|
|
named.localhost named.loopback
|
|
|
|
|
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
|
2000-09-16 03:36:52 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/bin/*.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/dnssec/*.8 ${PREFIX}/man/man8
|
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_MAN} ${WRKSRC}/doc/man/lwres/*.3 ${PREFIX}/man/man3
|
|
|
|
${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
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/misc/* ${PREFIX}/share/doc/bind9/misc
|
|
|
|
.for file in ${EXAMPLEFILES}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${file} ${PREFIX}/share/examples/bind9
|
|
|
|
.endfor
|
2001-01-18 09:25:15 -05:00
|
|
|
sed s,y0y0y0,${TRUEPREFIX}, < ${FILESDIR}/bind9-enable \
|
|
|
|
> ${PREFIX}/sbin/bind9-enable
|
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
|
|
|
${CHMOD} 555 ${PREFIX}/sbin/bind9-enable
|
|
|
|
${CHOWN} root:wheel ${PREFIX}/sbin/bind9-enable
|
2000-09-16 03:36:52 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|