pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind912 net/bind912: Added BIND 9.12 package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b48812172e90
branches:  trunk
changeset: 385026:b48812172e90
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Sep 09 13:16:01 2018 +0000

description:
net/bind912: Added BIND 9.12 package

Add bind-9.12.2pl1 (BIND 9.12.2-P1) pacakge.

Note: named(8) requires writable permission to current directory when
start up or the directory specified by "directory" in options statement.


BIND, the Berkeley Internet Name Daemon, version 9 is a major rewrite
of nearly all aspects of the underlying BIND architecture.  Some
of the important features of BIND-9 are:

        - DNS Security
        - IP version 6
        - DNS Protocol Enhancements
        - Views
        - Multiprocessor Support
        - Improved Portability Architecture
        - Full NSEC3 support
        - Automatic zone re-signing
        - New update-policy methods tcp-self and 6to4-self

This package contains the BIND 9.12 release.

        - named and related libraries have been substantially refactored for
          improved query performance.
        - Code implementing the name server query processing logic has been
          moved into a new libns library.
        - The DNS Response Policy Service API (DNSRPS) is now supported.
        - Log file timestamps can now also be formatted in ISO 8601 (local)
          or ISO 8601 (UTC) formats.
        - Added support for the EDNS Padding and Keepalive options.
        - 'new-zones-directory' option sets the location where the
          configuration data for zones added by rndc addzone is stored.
        - The default key algorithm in rndc-confgen is now hmac-sha256.
        - filter-aaaa-on-v4 and filter-aaaa-on-v6 options are now available
          by default without a configure option.
        - The obsolete isc-hmac-fixup command has been removed.

diffstat:

 net/bind912/DESCR                                            |   30 +
 net/bind912/MESSAGE                                          |   13 +
 net/bind912/Makefile                                         |   79 ++
 net/bind912/PLIST                                            |  395 +++++++++++
 net/bind912/buildlink3.mk                                    |   12 +
 net/bind912/builtin.mk                                       |   92 ++
 net/bind912/distinfo                                         |   12 +
 net/bind912/files/named9.sh                                  |   74 ++
 net/bind912/files/smf/manifest.xml                           |  138 +++
 net/bind912/files/smf/named.sh                               |  259 +++++++
 net/bind912/options.mk                                       |  140 +++
 net/bind912/patches/patch-bin_tests_system_metadata_tests.sh |   15 +
 net/bind912/patches/patch-config.threads.in                  |   15 +
 net/bind912/patches/patch-configure                          |   82 ++
 net/bind912/patches/patch-contrib_dlz_config.dlz.in          |   15 +
 net/bind912/patches/patch-lib_dns_rbt.c                      |   17 +
 net/bind912/patches/patch-lib_isc_unix_socket.c              |   33 +
 17 files changed, 1421 insertions(+), 0 deletions(-)

diffs (truncated from 1489 to 300 lines):

diff -r 143c93eab590 -r b48812172e90 net/bind912/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind912/DESCR Sun Sep 09 13:16:01 2018 +0000
@@ -0,0 +1,30 @@
+BIND, the Berkeley Internet Name Daemon, version 9 is a major rewrite
+of nearly all aspects of the underlying BIND architecture.  Some
+of the important features of BIND-9 are:
+
+       - DNS Security
+       - IP version 6
+       - DNS Protocol Enhancements
+       - Views
+       - Multiprocessor Support
+       - Improved Portability Architecture
+       - Full NSEC3 support
+       - Automatic zone re-signing
+       - New update-policy methods tcp-self and 6to4-self
+
+This package contains the BIND 9.12 release.
+
+       - named and related libraries have been substantially refactored for
+         improved query performance.
+       - Code implementing the name server query processing logic has been
+         moved into a new libns library.
+       - The DNS Response Policy Service API (DNSRPS) is now supported.
+       - Log file timestamps can now also be formatted in ISO 8601 (local)
+         or ISO 8601 (UTC) formats.
+       - Added support for the EDNS Padding and Keepalive options.
+       - 'new-zones-directory' option sets the location where the
+         configuration data for zones added by rndc addzone is stored.
+       - The default key algorithm in rndc-confgen is now hmac-sha256.
+       - filter-aaaa-on-v4 and filter-aaaa-on-v6 options are now available
+         by default without a configure option.
+       - The obsolete isc-hmac-fixup command has been removed.
diff -r 143c93eab590 -r b48812172e90 net/bind912/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind912/MESSAGE       Sun Sep 09 13:16:01 2018 +0000
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/09/09 13:16:01 taca Exp $
+
+Please consider running BIND under the pseudo user account "${BIND_USER}"
+in a chroot environment for security reasons.
+
+To achieve this, set the variable "named_chrootdir" in /etc/rc.conf to
+the directory with the chroot environment e.g. "${BIND_DIR}".
+
+Note: named(8) requires writable permission to current directory when
+start up or the directory specified by "directory" in options statement.
+
+===========================================================================
diff -r 143c93eab590 -r b48812172e90 net/bind912/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind912/Makefile      Sun Sep 09 13:16:01 2018 +0000
@@ -0,0 +1,79 @@
+# $NetBSD: Makefile,v 1.1 2018/09/09 13:16:01 taca Exp $
+
+DISTNAME=      bind-${BIND_VERSION}
+PKGNAME=       ${DISTNAME:S/-P/pl/}
+CATEGORIES=    net
+MASTER_SITES=  ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.isc.org/software/bind/
+COMMENT=       Berkeley Internet Name Daemon implementation of DNS, version 9.11
+LICENSE=       mpl-2.0
+
+CONFLICTS+=    host-[0-9]*
+
+MAKE_JOBS_SAFE=        no
+USE_CWRAPPERS= no
+
+BIND_VERSION=  9.12.2-P1
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+=   BIND_DIR VARBASE
+
+.include "options.mk"
+
+USE_TOOLS+=            pax perl pkg-config
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+#CONFIG_SHELL=         sh -x
+
+CONFIGURE_ARGS+=       --with-libtool
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --disable-openssl-version-check
+CONFIGURE_ARGS+=       --with-openssl=${SSLBASE:Q}
+CONFIGURE_ARGS+=       --with-python=no
+.if ${MACHINE_PLATFORM:MNetBSD-*-mipsel} != ""
+CONFIGURE_ARGS+=       --disable-atomic
+.endif
+.if ${MACHINE_PLATFORM:MNetBSD-*-powerpc} != ""
+CONFIGURE_ARGS+=       --disable-threads
+.endif
+CONFIGURE_ARGS.DragonFly+=     --disable-kqueue
+
+PKG_GROUPS_VARS+=      BIND_GROUP
+PKG_USERS_VARS=                BIND_USER
+
+PKG_GROUPS=            ${BIND_GROUP}
+PKG_USERS=             ${BIND_USER}:${BIND_GROUP}
+
+PKG_GECOS.${BIND_USER}=        Named pseudo-user
+PKG_HOME.${BIND_USER}= ${BIND_DIR}
+
+DOCS=                  CHANGES HISTORY OPTIONS README
+
+FILES_SUBST+=          BIND_GROUP=${BIND_GROUP} \
+                       BIND_USER=${BIND_USER} PAX=${PAX:Q} \
+                       SSLBASE=${SSLBASE}
+MESSAGE_SUBST+=                BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
+
+DOCDIR=                        share/doc/bind9
+
+RCD_SCRIPTS=           named9
+SMF_METHODS=           named
+
+INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples/bind9
+CONF_FILES+=           share/examples/bind9/bind.keys \
+                       ${PKG_SYSCONFDIR}/bind.keys
+
+INSTALLATION_DIRS+=    ${DOCDIR} ${DOCDIR}/arm
+
+post-install:
+.for f in ${DOCS}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
+       ${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DESTDIR}${PREFIX}/${DOCDIR}/arm
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 143c93eab590 -r b48812172e90 net/bind912/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind912/PLIST Sun Sep 09 13:16:01 2018 +0000
@@ -0,0 +1,395 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/09 13:16:01 taca Exp $
+bin/arpaname
+bin/bind9-config
+bin/delv
+bin/dig
+bin/host
+bin/isc-config.sh
+bin/mdig
+bin/named-rrchecker
+bin/nslookup
+bin/nsupdate
+include/bind9/check.h
+include/bind9/getaddresses.h
+include/bind9/version.h
+include/dns/acl.h
+include/dns/adb.h
+include/dns/badcache.h
+include/dns/bit.h
+include/dns/byaddr.h
+include/dns/cache.h
+include/dns/callbacks.h
+include/dns/catz.h
+include/dns/cert.h
+include/dns/client.h
+include/dns/clientinfo.h
+include/dns/compress.h
+include/dns/db.h
+include/dns/dbiterator.h
+include/dns/dbtable.h
+include/dns/diff.h
+include/dns/dispatch.h
+include/dns/dlz.h
+include/dns/dlz_dlopen.h
+include/dns/dns64.h
+include/dns/dnsrps.h
+include/dns/dnssec.h
+include/dns/dnstap.h
+include/dns/ds.h
+include/dns/dsdigest.h
+include/dns/dyndb.h
+include/dns/ecdb.h
+include/dns/ecs.h
+include/dns/edns.h
+include/dns/enumclass.h
+include/dns/enumtype.h
+include/dns/events.h
+include/dns/fixedname.h
+include/dns/forward.h
+include/dns/geoip.h
+include/dns/ipkeylist.h
+include/dns/iptable.h
+include/dns/journal.h
+include/dns/keydata.h
+include/dns/keyflags.h
+include/dns/keytable.h
+include/dns/keyvalues.h
+include/dns/lib.h
+include/dns/librpz.h
+include/dns/log.h
+include/dns/lookup.h
+include/dns/master.h
+include/dns/masterdump.h
+include/dns/message.h
+include/dns/name.h
+include/dns/ncache.h
+include/dns/nsec.h
+include/dns/nsec3.h
+include/dns/nta.h
+include/dns/opcode.h
+include/dns/order.h
+include/dns/peer.h
+include/dns/portlist.h
+include/dns/private.h
+include/dns/rbt.h
+include/dns/rcode.h
+include/dns/rdata.h
+include/dns/rdataclass.h
+include/dns/rdatalist.h
+include/dns/rdataset.h
+include/dns/rdatasetiter.h
+include/dns/rdataslab.h
+include/dns/rdatastruct.h
+include/dns/rdatatype.h
+include/dns/request.h
+include/dns/resolver.h
+include/dns/result.h
+include/dns/rootns.h
+include/dns/rpz.h
+include/dns/rriterator.h
+include/dns/rrl.h
+include/dns/sdb.h
+include/dns/sdlz.h
+include/dns/secalg.h
+include/dns/secproto.h
+include/dns/soa.h
+include/dns/ssu.h
+include/dns/stats.h
+include/dns/tcpmsg.h
+include/dns/time.h
+include/dns/timer.h
+include/dns/tkey.h
+include/dns/tsec.h
+include/dns/tsig.h
+include/dns/ttl.h
+include/dns/types.h
+include/dns/update.h
+include/dns/validator.h
+include/dns/version.h
+include/dns/view.h
+include/dns/xfrin.h
+include/dns/zone.h
+include/dns/zonekey.h
+include/dns/zt.h
+include/dst/dst.h
+include/dst/gssapi.h
+include/dst/lib.h
+include/dst/result.h
+include/irs/context.h
+include/irs/dnsconf.h
+include/irs/netdb.h
+include/irs/platform.h
+include/irs/resconf.h
+include/irs/types.h
+include/irs/version.h
+include/isc/aes.h
+include/isc/app.h
+include/isc/assertions.h
+include/isc/atomic.h
+include/isc/backtrace.h
+include/isc/base32.h
+include/isc/base64.h
+include/isc/bind9.h
+include/isc/boolean.h
+include/isc/buffer.h
+include/isc/bufferlist.h
+include/isc/commandline.h
+include/isc/condition.h
+include/isc/counter.h
+include/isc/crc64.h
+include/isc/deprecated.h
+include/isc/dir.h
+include/isc/entropy.h
+include/isc/errno.h
+include/isc/error.h
+include/isc/event.h
+include/isc/eventclass.h
+include/isc/file.h
+include/isc/formatcheck.h
+include/isc/fsaccess.h
+include/isc/fuzz.h
+include/isc/hash.h
+include/isc/heap.h
+include/isc/hex.h
+include/isc/hmacmd5.h
+include/isc/hmacsha.h
+include/isc/ht.h
+include/isc/httpd.h
+include/isc/int.h
+include/isc/interfaceiter.h
+${PLIST.inet6}include/isc/ipv6.h
+include/isc/iterated_hash.h
+include/isc/json.h



Home | Main Index | Thread Index | Old Index