Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
he 35f53666a8 Update net/unbound to version 1.12.0.
Pkgsrc changes:
 * Add option for doh (DNS-over-HTTPS), default enabled.

Upstream changes:

This release contains the DNS Flag Day 2020 changes.  This sets the
default EDNS buffer size to 1232, that should reduce fragmentation.
https://dnsflagday.net/2020/

There is inclusive language in the configuration.  There is caps-exempt,
ipsecmod-allow and primary server options for auth-zones.  The older
terms are accepted to keep configuration working.

DNS-over-HTTPS is supported in this release.  The DoH is enabled when
Unbound is compiled with the nghttp2 library, with configure
--with-libnghttp2.  Then have an interface on the https port, that can
be configured with the https-port option.  Also have a cert and key
available with the tls-service-key and tls-service-pem options.  Further
settings can be configured for the http-endpoint, http-max-streams,
http-query-buffer-size, http-response-buffer-size and http-nodelay
options.  The max streams sets the maximum concurrent streams, the
buffer size options the number of bytes in buffers, and the nodelay
option can turn on TCP_NODELAY for DNS-over-HTTPS service.  In the
statistics the memory used is reported in mem.http.query_buffer and
mem.http.response_buffer.  The number of queries is reported in
num.query.https, they are also included in the tcp and tls counts
because https uses TLS and TCP.

The DLV options and code to handle DLV lookups have been removed from
the code base.  The DLV repository is empty nowadays, it has been
decommissioned.

There is a new feature where it is possible to use interface names to
bind to the IP addresses on that interface.  It pulls in the addresses
at the start of the server, if the addresses change, use the existing
freebind and other socket options to register for addresses before they
appear, or the interface-automatic option that copies them from queries
to answers with ancillary data.

There is a new option for the edns-tag draft specification.  It can be
enabled if you need the tentative implementation to add those tags to
outgoing messages.

Features
- DNS Flag Day 2020: change edns-buffer-size default to 1232.
- Merge PR #255: DNS-over-HTTPS support.
- Use inclusive language in configuration
- Merge PR #284 and Fix #246: Remove DLV entirely from Unbound.
  The DLV has been decommisioned and in unbound 1.5.4, in 2015, there
  was advise to stop using it.  The current code base does not contain
  DLV code any more.  The use of dlv options displays a warning.
- Similar to NSD PR#113, implement that interface names can be used,
  eg. something like interface: eth0 is resolved at server start and
  uses the IP addresses for that named interface.
- Merge PR #272: Add EDNS client tag functionality.
- Add edns-client-tag-opcode option

Bug Fixes
- Merge PR #270 from cgzones: munin plugin: always exit 0 in autoconf
- Merge PR #269, Fix python module len() implementations, by Torbjörn
  Lönnemark
- Merge PR #268, draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on
  March 2020, by and0x000.
- Fix doxygen comment for no ssl for tls session ticket key callback
  routine.
- Fix mini_event.h on OpenBSD cannot find fd_set.
- Improve error log message when inserting rpz RR.
- Merge PR #280, Make tvOS & watchOS checks verify truthiness as well as
  definedness, by Felipe Gasper.
- contrib/aaaa-filter-iterator.patch file renewed diff content to
  apply cleanly to the current coderepo for the current code version.
- Fix #287: doc typo: "Additionaly".
- Merge (modified) PR #277, use EVP_MAC_CTX_set_params if available,
  by Vít#zslav #í#ek.
- Create and init edns tags data for libunbound.
- Fix stats double count issue (#289).
- Fix that dnstap reconnects do not spam the log with the repeated
  attempts.  Attempts on the timer are only logged on high verbosity,
  if they produce a connection failure error.
- Fix to apply chroot to dnstap-socket-path, if chroot is enabled.
- Change configure to use EVP_sha256 instead of HMAC_Update for
  openssl-3.0.0.
- Update documentation in python example code.
- Review fix interface, doxygen and assign null in case of error free.
- Merge PR #293: Add missing prototype.  Also refactor to use the new
  shorthand function to clean up the code.
- Refactor to use sock_strerr shorthand function.
- Fix #296: systemd nss-lookup.target is reached before unbound can
  successfully answer queries. Changed contrib/unbound.service.in.
- Fix num.expired statistics output.
- Remove x file mode on ipset/ipset.c and h files.
- Spelling fix.
- Introduce test for statistics.
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
  unbound-control, with libunbound and the unbound-checkconf option
  output function.
- Merge PR #311 by luismerino: Dynlibmod leak.
- Error message is logged for dynlibmod malloc failures.
- iana portlist updated.
- Fix #304: dnstap logging not recovering after dnstap process restarts
- Fix edns-client-tags get_option typo
- Fix #305: dnstap logging significantly affects unbound performance
  (regression in 1.11).
- Fix #305: only wake up thread when threshold reached.
- Fix to ifdef fptr wlist item for dnstap.
- Fix memory leak of edns tags at libunbound context delete.
- Fix double loopexit for unbound-dnstap-socket after sigterm.
2020-10-08 07:30:39 +00:00
archivers *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
audio reduce diffs to upstream and fix the plugin path. 2020-10-07 05:12:23 +00:00
benchmarks sort 2020-10-08 02:53:31 +00:00
biology gnome-chemistry-utils: fix builds 2020-09-25 03:56:49 +00:00
bootstrap bootstrap: Fix numerical calculation on Big Sur. 2020-10-07 10:44:14 +00:00
cad (cad/dinotrace) Add missing BUILD_DEPENDS 2020-10-07 12:59:09 +00:00
chat add and enable maubot 2020-10-08 02:54:54 +00:00
comms (comms/openobex) Updated 1.7.1 to 1.7.2. ChangeLog unknown. Adapt to Doxygen 1.8.20 2020-10-06 03:46:02 +00:00
converters *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
cross (cross/avr-libc) Adapt to doxygen 1.8.20, PKGREVISION++ 2020-10-06 02:06:05 +00:00
databases postgis: Update to 3.0.2 2020-10-04 00:08:38 +00:00
devel valgrind: update to 3.16.1 2020-10-08 03:30:58 +00:00
distfiles
doc doc: Updated devel/valgrind to 3.16.1 2020-10-08 03:31:41 +00:00
editors emacs: amend comments in modules.mk 2020-10-08 00:15:35 +00:00
emulators gxemul: Fix install failure, remove .orig file 2020-10-07 13:25:20 +00:00
filesystems Update glusterfs to 8.2 2020-09-27 01:13:11 +00:00
finance py-stripe: updated to 2.54.0 2020-09-30 06:52:40 +00:00
fonts harfbuzz: Set INCDIRS 2020-10-05 15:38:45 +00:00
games *: recursive bump for vala 0.50 2020-10-06 19:51:15 +00:00
geography geography/gama: Update to 2.10 2020-09-29 10:33:52 +00:00
graphics *: recursive bump for vala 0.50 2020-10-06 19:51:15 +00:00
ham (ham/gnuradio-doxygen) PKGREVISION++ 2020-10-05 21:23:06 +00:00
inputmethod *: recursive bump for vala 0.50 2020-10-06 19:51:15 +00:00
lang vala: update to 0.50.1. 2020-10-06 19:50:37 +00:00
licenses math/udunits: update to udunits2 v2.2.26. 2020-08-08 21:55:54 +00:00
mail Update to 0.16.0. From the changelog: 2020-10-07 19:46:53 +00:00
math *: recursive bump for vala 0.50 2020-10-06 19:51:15 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs boost: use more portable invocation of find(1) 2020-10-02 08:08:25 +00:00
misc py-tqdm: updated to 4.50.1 2020-10-07 12:52:31 +00:00
mk Describe new(ish) options: 2020-10-08 07:29:59 +00:00
multimedia libde265: update to 1.0.7. 2020-10-05 11:30:32 +00:00
net Update net/unbound to version 1.12.0. 2020-10-08 07:30:39 +00:00
news Use http with ftp.funet.fi 2020-09-02 22:16:48 +00:00
packages
parallel threadingbuildingblocks: Update to 2020.3 2020-09-05 11:34:07 +00:00
pkgtools pkgtools/pkglint: update to 20.3.1 2020-10-06 18:40:50 +00:00
print ghostscript-agpl: Update to 9.53.2 2020-09-29 14:29:42 +00:00
regress *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
security mit-krb5: Add patch comment and note that it has been filed upstream 2020-10-08 00:23:14 +00:00
shells shells/pbosh: Specify minimum required version of smake tool dependency 2020-09-28 10:40:25 +00:00
sysutils *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
templates
textproc oniguruma: updated to 6.9.6rc1 2020-10-07 21:27:17 +00:00
time *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
wm icewm14: Update homepage 2020-10-06 10:16:37 +00:00
www py-google-api-python-client: updated to 1.12.3 2020-10-07 12:57:33 +00:00
x11 *: recursive bump for vala 0.50 2020-10-06 19:51:15 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git