dns/void-zones-tools: Fix build with WITH_PIE=YES Patch CFLAGS from being overridden and remove -fno-pic to facilitate building with WITH_PIE=yes PR: 275039 Reported by: Marek Zarychta11a7b638a6
Port details
dns/void-zones-tools 1.0.2.18_1
Prepare a list of void zones that can be readily fed into Unbound
Port info
- Maintainer
- vidar@karlsen.tech
- Packages
- latest: 1.0.2.18_1
- Upstream
- up to date
- Last update
- to 1.0.2.18_1 · 11a7b638a6
- Quarterly
- 2026Q4: 1.0.2.18_1
- WWW
- https://github.com/cyclaero/void-zones-tools
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install void-zones-toolsinstalls 1.0.2.18_1 fromlatest; fromquarterly(2026Q4) 1.0.2.18_1- Port
# cd /usr/ports/dns/void-zones-tools && make install clean# make -C /usr/ports/dns/void-zones-tools config # change options first
- Size
- 13 KiB download · 29 KiB installed
- Depends on
- security/ca_root_nss 3.132
- License
- BSD2CLAUSE
- Options
- 1 of 1 on in the package: DOCS
- pkg-message
Shown after installing
To download the host lists and convert them to void zones, run the following script: /usr/local/bin/void-zones-update.sh To add your own white list/black list entries, to add over override the bundled listings, edit /usr/local/etc/void-zones/my_void_hosts.txt. Use the IP address 1.1.1.1 for whitelisting, and 0.0.0.0 for blacklisting. Add the following line to your unbound.conf, prior to any forwarder directives: include: /var/unbound/local-void.zones Then restart Unbound. For future updates, run void-zones-update.sh and restart Unbound. For more information, see /usr/local/share/doc/void-zones-tools/README.md or https://github.com/cyclaero/void-zones-tools
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.0.2.18_1 | 1.0.2.18_1 | – |
| FreeBSD 15 | 1.0.2.18_1 | 1.0.2.18_1 | – |
| FreeBSD 14 | 1.0.2.18_1 | 1.0.2.18_1 | 1.0.2.18_1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.0.2.18_1 | 1.0.2.18_1 | – |
| FreeBSD 14 | 1.0.2.18_1 | 1.0.2.18_1 | 1.0.2.18_1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.0.2.18_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (19)
dns/void-zones-tools: fix unbound-killing bug void-zones-tools downloads a set of pre-defined lists of undesirable domains and creates "voided" dns zones for Unbound, blocking access to these domains via dns. One of the default lists is no longer maintained, and was removed from the upstream code. However, there hasn't been released a new version after the change was made, thus the port has not been updated. This has not been a problem up until now because the update script has been downloading an empty file, essentially a no-op in the zone creation/loading, but at some point today it started serving a domain parking page, and the HTML of that page is being dumped into the dns zone file resulting in parse errors and Unbound cannot start. While waiting for upstream to tag a new version, I changed the port to track the latest GitHub commit. This fixes the issue for now. PR: 274027 Upstream issue: https://github.com/cyclaero/void-zones-tools/issues/12 Reported by: Robert William Vesterman <bob@vesterman.com> MFH: 2023Q327c31c5386
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Convert to UCL & cleanup pkg-message (categories d)78d1aff1fc
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590a9f015d155
dns/void-zones-tools: Update links to hosts files Add ca_root_nss dependency while here PR: 232727 Submitted by: Vidar Karlsen <vidar@karlsen.tech> (maintainer)93da292603
Add DOCS options to ports that should have one. Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoinee1bfdfbe56
dns/void-zones-tools: Respect CFLAGS and avoid using -march=native It currently compiles with -march=native which breaks on some machines cc -march=native -mssse3 -ffast-math -std=c11 -g0 -Ofast -fstrict-aliasing -Wno-parentheses binutils.c -c -o binutils.o error: unknown target CPU 'k6-3' Given that the build is currently targeting the build host CPU, existing binary packages on pkg.FreeBSD.org (or elsewhere) might be broken on many machines too, so bump PORTREVISION to trigger a rebuild. PR: 230899 Submitted by: tobik Reported by: Marco Beishuizen <mbeis@xs4all.nl> Approved by: Vidar Karlsen <vidar@karlsen.tech> (maintainer) MFH: 2018Q312c136c590
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 22254209f9633cb6
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275e59c88cece
Add additional documentation and a pkg-message with further hints. PR: 221841 Submitted by: vidar@karlsen.tech (maintainer)cc2cfc2d01
dns/void-zones-tools: Update to 1.0.2
- Use Github release
- Remove `files/patch-Makefile`, not necessary anymore.
- Fixes for building on ARM and i386 architectures
- WindowsSpyBlocker is the new upstream for the Windows
telemetry hosts files
PR: 217054
Submitted by: Vidar Karlsen <vidar@karlsen.tech> (maintainer)4ee83e6842Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 21670704d6f52202
Fixup USE_GITHUB usage. It already sets DISTNAME to a very nice unique name, do not set it yourself. Sponsored by: Absolight2884d5aa32
Add void-zones-tools 0.1.a, prepare a list of void zones that can be readily fed into Unbound. PR: 214723 Submitted by: vidar@karlsen.tech0a4f46a161