A network analyzer that lets you capture and interactively browse the
contents of packets from a variety of network interface types. Packet data can
be read from a file, or live from a local network interface.
===> The following configuration options are available for wireshark-4.6.9:
ANDROIDDUMP=on: Build androiddump extcap tool
DEVELOPMENT=on: Install development headers and support files
DOCS=on: Build and/or install documentation
GNUTLS=on: Enable crypto support for SSL and IPSec via GnuTLS
GUI=on: Enable Qt 6 based Wireshark GUI
LIBSSH=off: Enable libssh support (req by cisco/ssh/wifidump)
LTO=on: Use Link-Time Optimization
LUA=off: Lua scripting language support
MANPAGES=on: Build and/or install manual pages
MAXMIND=on: Enable MaxMindDB-based GeoIP geolocation support
RTP=on: Enable codec support for RTP streams (implies GUI)
SNMP=on: SNMP network protocol support
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos)
GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
GSSAPI_MIT=off: GSSAPI support via security/krb5
GSSAPI_NONE=off: Disable GSSAPI support
===> Use 'make config' to modify these settings
In order for wireshark be able to capture packets when used by unprivileged
user, /dev/bpf should be in network group and have read-write permissions.
For example:
# chgrp network /dev/bpf*
# chmod g+r /dev/bpf*
# chmod g+w /dev/bpf*
In order for this to persist across reboots, add the following to
/etc/devfs.conf:
own bpf* root:network
perm bpf* 0660
net/wireshark: Fix packaging
Grrr, my OPTIONS had changed and I was no longer installing dev bits.
Correct the plist with the header changes and sort/update the base
LIB_DEPENDS.
PR: 291114
net/wireshark: Update to 4.4.5.
See https://www.wireshark.org/docs/relnotes/wireshark-4.4.5.html for
changes in this release.
This release also bumps the required Lua versions to 5.3-5.4. Thanks to
stormshield-acazuc on GitHub for the patch. [1]
Sponsored by: Stormshield [1]
net/wireshark: Refine dependencies
Remove unneeded dependencies, turn off some cmake options, and add a
dependency on libnghttp3.
PR: 283968
Submitted by: vvd (based on)
net/wireshark: Update to 4.2.0
See https://www.wireshark.org/docs/relnotes/wireshark-4.2.0.html for a
list of changes in this release.
Of note to FreeBSD users, wireshark now uses Qt6 (rather than 5), and
development files (e.g., headers), while installed by default can be
disabled by unchecking the DEVELOPMENT option.
net/wireshark: Update to 4.2.0
See https://www.wireshark.org/docs/relnotes/wireshark-4.2.0.html for a
list of changes in this release.
Of note to FreeBSD users, wireshark now uses Qt6 (rather than 5), and
development files (e.g., headers), while installed by default can be
disabled by unchecking the DEVELOPMENT option.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
net/wireshark: Rework ANDROIDDUMP
Use the cmake Bool helper and remove redundant code now that we're not
using individual _MAN and _LIB subs.
PR: 270160
net/wireshark: Restore ANDROIDDUMP OPTION
If you have TCP blackhole enabled, having androiddump built adds ~ 70
seconds to wireshark's start time (if you don't have the Android
Debugger running).
Leave this OPTION default enabled as it doesn't introduce any other
dependencies.
Reported by: Boris Korzun <drtr0jan@yandex.ru>
net/wireshark: Update to 4.0.4 and refactor the port logic
See https://www.wireshark.org/docs/relnotes/wireshark-4.0.4.html for a
list of changes in wireshark.
This port features the following modifications:
- Use of helpers and consistent usage
- Refresh dependency list
- Use (lib)speexdsp from tree
- Add brotli as dependency, used for compressing data over HTTP2
- Flavourize port and create two variants, one including UI and one without
(-nox11)
- Disable detection of git for Wireshark's build
- Rework and consolidate options, try to be as consistent as possible with the
rest of the tree
- Rename DECRYPT option to GNUTLS
- Move various *dump tools to one option as they share the same dependency
(libssh)
- Make LTO default option on aarch64 and amd64
- RTP audio codecs are only used with GUI so make all use the same toggle
Thanks to diizzy for his refactoring work. One thing to note for uses
of the -lite ports is that they are going away. Flavors should be used
to build wireshark with the GUI (default) or without the GUI (nox11).
PR: 269103
Submitted by: diizzy [port refactoring]
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
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 )
net: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Straup Cope <ascope@cpan.org>
* Aaron Zauner <az_mail@gmx.at>
* Adam Jette <jettea46@yahoo.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Bakhtin <Alex.Bakhtin@gmail.com>
* Alex Deiter <Alex.Deiter@Gmail.COM>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above )
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
net/wireshark: Update MASTER_SITES, fix RTP option, adjust Makefile
- Update MASTER_SITES with official mirrors and add main site as last resort
Reference: https://www.wireshark.org/mirror.html
- Remove unnecessary definitions and switch to DISTVERSION while at it
- Fix RTP option
PR: 262076
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket)
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
PR: 245038
Submitted by: andrew tao11 riddles org uk
Reviewed by: mat, kevans, russ haley gmail com
Approved by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D16494
Attempt to fix the build when zstd is present.
Apparently, zstd is silently consumed by QT when installed. This breaks
reprdoducible
builds of wireshark, but I see no other solution if QT can and will use zstd
compression.
PR: 241548