Skip to content

Commit

Permalink
net/tcpdump: Update to 4.99.1
Browse files Browse the repository at this point in the history
While here, pet portclippy

Sponsored by:	Rubicon Communications, LLC ("Netgate")
  • Loading branch information
rbgarga committed Nov 3, 2021
1 parent 85236bb commit 6fcbb11
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions net/tcpdump/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Created by: Bruce M Simpson <bms@FreeBSD.org>

PORTNAME= tcpdump
PORTVERSION= 4.99.0
PORTVERSION= 4.99.1
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/

Expand All @@ -16,32 +16,33 @@ LIB_DEPENDS= libpcap.so.1:net/libpcap
USES= cpe gmake

GNU_CONFIGURE= yes

PLIST_FILES= sbin/tcpdump \
man/man1/tcpdump.1.gz

UNPRIV_USER?= tcpdump
CHROOTDIR?= /var/run/tcpdump

OPTIONS_DEFINE= CRYPTO SMB SMI USER CHROOT
OPTIONS_DEFAULT= CRYPTO SMB SMI

CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change)
CRYPTO_DESC= Support IPSEC and TCPMD5
# This one is intentionally worded this way because the default
# description implies that tcpdump would not capture SMB, which
# is not true. It will just not print it if this option is off.
SMB_DESC= Support printing SMB information
SMI_DESC= Allow MIBs to be loaded on the fly
USER_DESC= Drop privileges to dedicated user
CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change)

CHROOT_CONFIGURE_ON= --with-chroot=${CHROOTDIR}
CRYPTO_USES= ssl
CRYPTO_CONFIGURE_WITH= crypto
SMB_CONFIGURE_ENABLE= smb
SMI_CONFIGURE_WITH= smi
SMI_LIB_DEPENDS= libsmi.so:net-mgmt/libsmi
SMI_CONFIGURE_WITH= smi
USER_CONFIGURE_ON= --with-user=${UNPRIV_USER}
USER_VARS= USERS=${UNPRIV_USER} GROUPS=${UNPRIV_USER}
CHROOT_CONFIGURE_ON= --with-chroot=${CHROOTDIR}

PLIST_FILES= sbin/tcpdump \
man/man1/tcpdump.1.gz

post-patch:
@${REINPLACE_CMD} -e 's,sys/capability.h,sys/capsicum.h,' \
Expand Down
6 changes: 3 additions & 3 deletions net/tcpdump/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1609875998
SHA256 (tcpdump-4.99.0.tar.gz) = 8cf2f17a9528774a7b41060323be8b73f76024f7778f59c34efa65d49d80b842
SIZE (tcpdump-4.99.0.tar.gz) = 2008080
TIMESTAMP = 1635952154
SHA256 (tcpdump-4.99.1.tar.gz) = 79b36985fb2703146618d87c4acde3e068b91c553fb93f021a337f175fd10ebe
SIZE (tcpdump-4.99.1.tar.gz) = 2014324

0 comments on commit 6fcbb11

Please sign in to comment.