pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind918 Add net/bind918



details:   https://anonhg.NetBSD.org/pkgsrc/rev/add411013ecc
branches:  trunk
changeset: 389818:add411013ecc
user:      sekiya <sekiya%pkgsrc.org@localhost>
date:      Sun Dec 11 01:57:55 2022 +0000

description:
Add net/bind918

diffstat:

 net/bind918/DESCR                                      |    4 +
 net/bind918/MESSAGE.rcd                                |   19 +
 net/bind918/Makefile                                   |   89 ++++
 net/bind918/PLIST                                      |  312 +++++++++++++++++
 net/bind918/buildlink3.mk                              |   13 +
 net/bind918/builtin.mk                                 |   91 ++++
 net/bind918/distinfo                                   |   37 ++
 net/bind918/options.mk                                 |  149 ++++++++
 net/bind918/patches/patch-bin_named_main.c             |   28 +
 net/bind918/patches/patch-bin_named_os.c               |   20 +
 net/bind918/patches/patch-bin_named_server.c           |   39 ++
 net/bind918/patches/patch-config.h.in                  |   19 +
 net/bind918/patches/patch-configure.ac                 |   42 ++
 net/bind918/patches/patch-lib_dns_byaddr.c             |   15 +
 net/bind918/patches/patch-lib_dns_gssapi__link.c       |   16 +
 net/bind918/patches/patch-lib_dns_include_dns_zone.h   |   26 +
 net/bind918/patches/patch-lib_dns_lookup.c             |   15 +
 net/bind918/patches/patch-lib_dns_rbtdb.c              |   15 +
 net/bind918/patches/patch-lib_dns_request.c            |   24 +
 net/bind918/patches/patch-lib_dns_sdb.c                |   15 +
 net/bind918/patches/patch-lib_dns_sdlz.c               |   22 +
 net/bind918/patches/patch-lib_dns_validator.c          |   15 +
 net/bind918/patches/patch-lib_dns_view.c               |   15 +
 net/bind918/patches/patch-lib_dns_zone.c               |   47 ++
 net/bind918/patches/patch-lib_isc_app.c                |   24 +
 net/bind918/patches/patch-lib_isc_include_isc_netmgr.h |   16 +
 net/bind918/patches/patch-lib_isc_net.c                |   23 +
 net/bind918/patches/patch-lib_isc_netmgr_netmgr-int.h  |  102 +++++
 net/bind918/patches/patch-lib_isc_netmgr_netmgr.c      |   29 +
 net/bind918/patches/patch-lib_isc_rwlock.c             |   33 +
 net/bind918/patches/patch-lib_isc_siphash.c            |   23 +
 net/bind918/patches/patch-lib_isc_time.c               |   35 +
 net/bind918/patches/patch-lib_isc_timer.c              |   15 +
 net/bind918/patches/patch-lib_ns_Makefile.am           |   16 +
 net/bind918/patches/patch-lib_ns_client.c              |   17 +
 net/bind918/patches/patch-lib_ns_include_ns_pfilter.h  |    9 +
 net/bind918/patches/patch-lib_ns_pfilter.c             |   65 +++
 net/bind918/patches/patch-lib_ns_query.c               |   37 ++
 net/bind918/patches/patch-lib_ns_update.c              |   47 ++
 net/bind918/patches/patch-lib_ns_xfrout.c              |   33 +
 40 files changed, 1611 insertions(+), 0 deletions(-)

diffs (truncated from 1771 to 300 lines):

diff -r b6626c0a89fd -r add411013ecc net/bind918/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind918/DESCR Sun Dec 11 01:57:55 2022 +0000
@@ -0,0 +1,4 @@
+BIND, the Berkeley Internet Name Daemon.  This package contains the BIND
+9.18 release.
+
+Release notes are at https://bind9.readthedocs.io/en/v9_18_0/notes.html
diff -r b6626c0a89fd -r add411013ecc net/bind918/MESSAGE.rcd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind918/MESSAGE.rcd   Sun Dec 11 01:57:55 2022 +0000
@@ -0,0 +1,19 @@
+===========================================================================
+$NetBSD: MESSAGE.rcd,v 1.1 2022/12/11 01:57:55 sekiya 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 directories under "/etc/namedb" which
+specified by "directory" in "options" statement:
+
+       cache
+       keys
+       nta
+
+Make sure to these directories exists with writable by "${BIND_USER}" user.
+
+===========================================================================
diff -r b6626c0a89fd -r add411013ecc net/bind918/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind918/Makefile      Sun Dec 11 01:57:55 2022 +0000
@@ -0,0 +1,89 @@
+# $NetBSD: Makefile,v 1.1 2022/12/11 01:57:55 sekiya Exp $
+
+DISTNAME=      bind-${BIND_VERSION}
+#PKGNAME=      bind-9.18
+PKGNAME=       ${DISTNAME:S/-P/pl/}
+#PKGREVISION=  1
+CATEGORIES=    net
+MASTER_SITES=  ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    sekiya%NetBSD.org@localhost
+HOMEPAGE=      https://www.isc.org/software/bind/
+COMMENT=       Berkeley Internet Name Daemon implementation of DNS, version 9.18
+LICENSE=       mpl-2.0
+
+CONFLICTS+=    host-[0-9]*
+
+MAKE_JOBS_SAFE=        no
+
+BIND_VERSION=  9.18.9
+
+BUILD_DEFS+=   BIND_DIR VARBASE
+
+.include "options.mk"
+
+USE_TOOLS+=            aclocal autoconf automake pax perl pkg-config
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+CHECK_FILES_SKIP=      bin/tests/system/system-test-driver.sh
+MAKE_ENV+=             WRKDIR=${WRKDIR} PREFIX=${PREFIX}
+
+.if ${OPSYS} == "Linux" && !exists(/usr/include/sys/capability.h)
+CONFIGURE_ARGS+=               --disable-linux-caps
+.endif
+
+CONFIGURE_ARGS+=               --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=               --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=               --with-openssl=${SSLBASE:Q}
+CONFIGURE_ARGS.DragonFly+=     --disable-kqueue
+CONFIGURE_ARGS.SunOS+=         --disable-epoll
+
+BUILDLINK_TRANSFORM.SunOS+=    rm:-zrelax=transtls
+
+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 OPTIONS.md README.md
+
+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}
+
+pre-configure:
+       cd ${WRKSRC} && \
+       rm -rf autom4te*.cache && \
+       aclocal && \
+       automake --include-deps --add-missing --copy && \
+       autoconf -f
+
+post-install:
+.for f in ${DOCS}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
+
+.include "../../mk/atomic64.mk"
+.include "../../lang/python310/buildlink3.mk"
+.include "../../www/nghttp2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b6626c0a89fd -r add411013ecc net/bind918/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind918/PLIST Sun Dec 11 01:57:55 2022 +0000
@@ -0,0 +1,312 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/11 01:57:55 sekiya Exp $
+bin/arpaname
+bin/delv
+bin/dig
+bin/dnssec-cds
+bin/dnssec-dsfromkey
+bin/dnssec-importkey
+bin/dnssec-keyfromlabel
+bin/dnssec-keygen
+bin/dnssec-revoke
+bin/dnssec-settime
+bin/dnssec-signzone
+bin/dnssec-verify
+${PLIST.dnstap}bin/dnstap-read
+bin/host
+bin/mdig
+bin/named-checkconf
+bin/named-checkzone
+bin/named-compilezone
+bin/named-journalprint
+${PLIST.lmdb}bin/named-nzd2nzf
+bin/named-rrchecker
+bin/nsec3hash
+bin/nslookup
+bin/nsupdate
+include/bind9/check.h
+include/bind9/getaddresses.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/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/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/kasp.h
+include/dns/keydata.h
+include/dns/keyflags.h
+include/dns/keymgr.h
+include/dns/keytable.h
+include/dns/keyvalues.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/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/time.h
+include/dns/tkey.h
+include/dns/transport.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/view.h
+include/dns/xfrin.h
+include/dns/zone.h
+include/dns/zonekey.h
+include/dns/zoneverify.h
+include/dns/zt.h
+include/dst/dst.h
+include/dst/gssapi.h
+include/irs/resconf.h
+include/isc/aes.h
+include/isc/align.h
+include/isc/app.h
+include/isc/assertions.h
+include/isc/astack.h
+include/isc/atomic.h
+include/isc/attributes.h
+include/isc/backtrace.h
+include/isc/barrier.h
+include/isc/base32.h
+include/isc/base64.h
+include/isc/bind9.h
+include/isc/buffer.h
+include/isc/cmocka.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/endian.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/glob.h
+include/isc/hash.h
+include/isc/heap.h
+include/isc/hex.h
+include/isc/hmac.h
+include/isc/ht.h
+include/isc/httpd.h
+include/isc/interfaceiter.h
+include/isc/iterated_hash.h
+include/isc/lang.h
+include/isc/lex.h
+include/isc/list.h
+include/isc/log.h
+include/isc/magic.h
+include/isc/managers.h
+include/isc/md.h
+include/isc/mem.h



Home | Main Index | Thread Index | Old Index