dnsjitEngine for capturing, parsing and replaying DNS
1.4.0_3dnsΣ=0 1.4.0_2Version of this port present on the latest quarterly branch.upstream: 1.6.0A newer version was found upstream by portscout, first on 2026-09-15.
dnsjit is a combination of parts taken from dsc, dnscap, drool, and
put together around Lua to create a script-based engine for easy
capturing, parsing and statistics gathering of DNS messages while
also providing facilities for replaying DNS traffic.
One of the core functionality that dnsjit brings is to tie together
C and Lua modules through a receiver/receive interface. This allows
creation of custom chains of functionality to meet various requirements.
Another core functionality is the ability to parse and process DNS
messages even if the messages are non-compliant with the DNS
standards.
===> The following configuration options are available for dnsjit-1.4.0_3:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
databases/lmdb: allow to install both 0.x and 1.x together
LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.
Approved by: mat (portmgr)
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D60741
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.
Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.
This commit introduces databases/lmdb0 as a holding port for the 0.9.35
(Only the first 15 lines of the commit message are shown above )
dns/dnsjit: fix build on powerpc64
Workaround for luajit-openresty bug.
When invoking luajit -bg -n NAME -t o input output,
the bcsave.lua script reads garbled vararg data instead of
the -t argument value.
lang/luajit: update to v2.1
Disconnect lang/luajit-devel from the build, will be removed soon.
Bump PORTREVISIONs for the consumers.
Discussed with: adamw
PR: 225342
dns/dnsjit: Update to 1.3.0
Remove dependency of net/libpcap dependency and rely on base version
Based on patch by Leo Vandewoestijne (maintainer)
PR: 272812
Approved by: portmgr (maintainer timeout, 2+ weeks)
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)
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.
(Only the first 15 lines of the commit message are shown above )
dns/dnsjit: New port: Engine for capturing, parsing and replaying DNS
dnsjit is a combination of parts taken from dsc, dnscap, drool, and
put together around Lua to create a script-based engine for easy
capturing, parsing and statistics gathering of DNS messages while
also providing facilities for replaying DNS traffic.
WWW: https://github.com/DNS-OARC/dnsjit
Originally submitted by pi, updated by Leo Vandewoestijne and I made
some minor fixes on top of Leo's patch
PR: 235461
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32268