net/libpcap: Add new option REMOTE

Add new option REMOTE, off by default, that enables the build of rpcapd,
used to capture packets remotely

PR:		262688
Reported by:	Howard Holm <hdholm@alumni.iastate.edu>
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Renato Botelho 2022-08-29 10:58:42 -03:00
parent b61da64262
commit e8f25164e9
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= libpcap
PORTVERSION= 1.10.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
@ -24,8 +24,13 @@ CFLAGS_amd64= -fPIC
CFLAGS_sparc64= -fPIC
PLIST_SUB+= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= IPV6
OPTIONS_DEFINE= IPV6 REMOTE
OPTIONS_SUB= yes
REMOTE_DESC= Remote packet capture
IPV6_CONFIGURE_ENABLE= ipv6
REMOTE_CONFIGURE_ENABLE=remote
.include <bsd.port.mk>

View file

@ -19,8 +19,8 @@ include/pcap/usb.h
include/pcap/vlan.h
lib/libpcap.a
lib/libpcap.so
lib/libpcap.so.1
lib/libpcap.so.%%PORTVERSION%%
lib/libpcap.so.1
libdata/pkgconfig/libpcap.pc
man/man1/pcap-config.1.gz
man/man3/pcap.3.gz
@ -82,6 +82,9 @@ man/man3/pcap_strerror.3.gz
man/man3/pcap_tstamp_type_name_to_val.3.gz
man/man3/pcap_tstamp_type_val_to_name.3.gz
man/man5/pcap-savefile.5.gz
%%REMOTE%%man/man5/rpcapd-config.5.gz
man/man7/pcap-filter.7.gz
man/man7/pcap-linktype.7.gz
man/man7/pcap-tstamp.7.gz
%%REMOTE%%man/man8/rpcapd.8.gz
%%REMOTE%%sbin/rpcapd