tcpdump is a ubiquitous network traffic capture tool available in a wide
variety of BSD, Linux and UN*X distributions.
Whilst FreeBSD has a vendor branch import of tcpdump in its source tree,
the purpose of the port is to provide a means of offering additional,
bleeding-edge features which might not make it into the tree.
===> The following configuration options are available for tcpdump-4.99.6:
CHROOT=off: Chroot to /var/run/tcpdump (set CHROOTDIR to change)
CRYPTO=on: Support IPSEC and TCPMD5
SMB=on: Support printing SMB information
SMI=on: Allow MIBs to be loaded on the fly
USER=off: Drop privileges to dedicated user
===> Use 'make config' to modify these settings
*/*: Restore GNU_CONFIGURE on my ports
I made a mistake and changed these ports to HAS_CONFIGURE when working
on MANPREFIX sanitization. Restore proper macro usage and set
GNU_CONFIGURE_MANPREFIX properly to keep manpages installed under
${PREFIX}/share.
Reported by: danfe
Sponsored by: Rubicon Communications, LLC ("Netgate")
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 )
net/tcpdump: use dedicated user for privsep
"nobody" should only be used by NFS and nothing should run as
it. Instead give tcpdump a dedicated user.
Also note that IPv6 is no longer optional, so just remove the option
Approved by: garga (maintainer, older version)
Reviewed by: matthew
Differential Revision: https://reviews.freebsd.org/D15841
- Update net/tcpdump to 4.8.0
- Fix ambiguous specification of libpcap by using libpcap from base [1]
PR: 211578 [1]
Sponsored by: Rubicon Communications (Netgate)
- Update to 4.2.1.
- Switch to using OPTIONS.
- Make libsmi optional.
- Add support for chroot and dropping privileges.
- Use pcap-config to find the right libpcap, no need to do the symlink farm.
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.
Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.
PR: 100555
Submitted by: gabor
Sponsored by: Google Summer of Code 2006
Fix tcpdump dependency on libpcap.
LIB_DEPENDS should only be used if shared libraries were built by the
libpcap port. Currently only static libraries are built.
Pointy hat to: bms
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
* Change BROKEN with IGNORE tag for pointyhat does not run the port build.
* Fix a condition for it (when TCPDUMP_OVERWRITE_BASE is defined
the port install is correct).
* Fix a message itself.
Approved by: portmgr (krion)
Mega-commit fixing several outstanding issues with the port.
Fix inconsistent configure-time behaviour. Previously, the tcpdump port
would look at the base system pcap, then attempt to link against the port.
This caused spurious link failures, and should fix build on IA64.
Add a new switch, WITH_LIBPCAP_PORT, to force the use of libpcap
from ports.
Rototile the build-time options for the port, and document them.
Fix detection of the OpenSSL libraries; 0.9.7d and later renamed the
des_cbc_encrypt function to DES_cbc_encrypt, so deal with this by
rebuilding configure after patching configure.in.
Incorporate fix for PR bin/76497 suggested by keramida@ (logic error
in the PPP IPV6CP parser).
Make some stylistic fixes while we're at it, and improve comments.
Mark as unbroken on -CURRENT.
Bump PORTREVISION.
PR: bin/76497 (possibly others)
Update tcpdump/libpcap ports for new releases 3.8.3/0.8.3. Reset PORTREVISION.
Update radiotap patches as radiotap is not yet in tcpdump release branch
due to endianness issues.
Update tcpdump port to latest beta with fixes for security vulnerabilities
in tandem with vendor branch in src tree.
Add an option to overwrite the base system tcpdump.
PR: ports/61103
Submitted by: edwin
Add a new option, WITH_RADIOTAP. Import David Young's patches for using the
new net80211 radiotap interface. This can be activated once the tcpdump port
is built and installed using the datalink type IEEE802_11_RADIO. Tested with
a wi(4), OEM PRISM2, 1.4.9 STA firmware.
Submitted by: David Young
Sponsored by: consume.net
Fix pcap dependency. Previously tcpdump 3.8.1 would be linked against the
system libpcap.a. Create a symlink farm in the ${WRKDIR} so that tcpdump's
configure script will use the installed libpcap-0.8.1 package.
Noticed by: Andrzej Tobola
Add a port of tcpdump 3.8.1. Some work is being done around tcpdump and
libpcap right now, in the areas of wireless and mesh networking. Import
this port so as not to disturb the vendor branch, and bring the bleeding
edge stuff to a wider audience.
I will merge in optional radiotap patches later.
Sponsored by: consume.net