Date: Thu, 31 Aug 2017 19:29:19 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r449051 - branches/2017Q3/net-mgmt/tcpreplay Message-ID: <201708311929.v7VJTJfo082616@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Thu Aug 31 19:29:19 2017 New Revision: 449051 URL: https://svnweb.freebsd.org/changeset/ports/449051 Log: MFH: r448998 r449000 r449020 Add base/port options for libpcap PR: 221923 Approved by: ehaupt (maintainer) Correctly define the _DESC values Reported by: ehaupt,mat Fix OPTIONS_SINGLE logic. The two options (LIBPCAP_BASE and LIBPCAP_PORTS) need to be mutually exclusive. If LIBPCAP_BASE is selected, make sure the binary is linked against the libpcap from base, even if net/libpcap is present. Bump PORTREVISION to make sure the OPTIONS change is tracked. Reported by: jbeich Approved by: ports-secteam (with hat) Modified: branches/2017Q3/net-mgmt/tcpreplay/Makefile Directory Properties: branches/2017Q3/ (props changed) Modified: branches/2017Q3/net-mgmt/tcpreplay/Makefile ============================================================================== --- branches/2017Q3/net-mgmt/tcpreplay/Makefile Thu Aug 31 18:26:32 2017 (r449050) +++ branches/2017Q3/net-mgmt/tcpreplay/Makefile Thu Aug 31 19:29:19 2017 (r449051) @@ -4,6 +4,7 @@ PORTNAME= tcpreplay PORTVERSION= 4.2.6 DISTVERSIONPREFIX= v +PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= ehaupt@FreeBSD.org @@ -26,6 +27,17 @@ CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\ # required when using autogen CONFIGURE_ARGS+= --disable-local-libopts --disable-libopts-install + +LIBPCAP_BASE_DESC= Build with libpcap from the base OS +LIBPCAP_PORTS_DESC= Build with net/libpcap + +OPTIONS_SINGLE= LIBPCAP +OPTIONS_SINGLE_LIBPCAP= LIBPCAP_BASE LIBPCAP_PORTS + +OPTIONS_DEFAULT= LIBPCAP_BASE + +LIBPCAP_BASE_CONFIGURE_ON= --with-libpcap=/usr/lib +LIBPCAP_PORTS_LIB_DEPENDS= libpcap.so:net/libpcap post-patch: @${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}.ac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708311929.v7VJTJfo082616>