From owner-svn-ports-head@freebsd.org Sat Dec 8 16:10:32 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FCB613212FF; Sat, 8 Dec 2018 16:10:32 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2B5C845C2; Sat, 8 Dec 2018 16:10:31 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C389A245C9; Sat, 8 Dec 2018 16:10:31 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB8GAVQt008316; Sat, 8 Dec 2018 16:10:31 GMT (envelope-from marcus@FreeBSD.org) Received: (from marcus@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB8GAVlB008315; Sat, 8 Dec 2018 16:10:31 GMT (envelope-from marcus@FreeBSD.org) Message-Id: <201812081610.wB8GAVlB008315@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marcus set sender to marcus@FreeBSD.org using -f From: Joe Marcus Clarke Date: Sat, 8 Dec 2018 16:10:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486960 - head/net/wireshark X-SVN-Group: ports-head X-SVN-Commit-Author: marcus X-SVN-Commit-Paths: head/net/wireshark X-SVN-Commit-Revision: 486960 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E2B5C845C2 X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2018 16:10:32 -0000 Author: marcus Date: Sat Dec 8 16:10:31 2018 New Revision: 486960 URL: https://svnweb.freebsd.org/changeset/ports/486960 Log: Fix packaging. Conditionalize sshdump and ciscodump as they need libssh. PR: 233858 Modified: head/net/wireshark/Makefile Modified: head/net/wireshark/Makefile ============================================================================== --- head/net/wireshark/Makefile Sat Dec 8 16:08:06 2018 (r486959) +++ head/net/wireshark/Makefile Sat Dec 8 16:10:31 2018 (r486960) @@ -3,7 +3,7 @@ PORTNAME?= wireshark PORTVERSION= 2.6.5 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.wireshark.org/download/src/ \ http://ftp.uni-kl.de/pub/wireshark/src/ \ @@ -50,14 +50,14 @@ CFLAGS+= -funit-at-a-time PLIST_SUB+= PORTVERSION=${PORTVERSION} .for x in capinfos editcap mergecap rawshark text2pcap dftest randpkt \ - reordercap captype randpktdump udpdump sharkd dumpcap ciscodump sshdump + reordercap captype randpktdump udpdump sharkd dumpcap .if defined(LITE) PKGNAMESUFFIX= -lite PLIST_SUB+= ${x:tu}="@comment $x not installed" \ ${x:tu}_LIB="@comment $x not installed " \ ${x:tu}_MAN="@comment $x not installed " CONFIGURE_ARGS+= --enable-$x=no -OPTIONS_EXCLUDE+= RTP SNMP GEOIP LUA CARES ANDROIDDUMP +OPTIONS_EXCLUDE+= RTP SNMP GEOIP LUA CARES ANDROIDDUMP SSHDUMP .else PLIST_SUB+= ${x:tu}=bin/$x \ ${x:tu}_MAN="" \ @@ -65,7 +65,7 @@ PLIST_SUB+= ${x:tu}=bin/$x \ .endif .endfor -OPTIONS_DEFINE= RTP SNMP GEOIP LUA DECRYPT ANDROIDDUMP CARES +OPTIONS_DEFINE= RTP SNMP GEOIP LUA DECRYPT ANDROIDDUMP CARES SSHDUMP CISCODUMP OPTIONS_RADIO= GUI OPTIONS_SINGLE= KERBEROS @@ -84,6 +84,8 @@ KRB_BASE_DESC= Kerberos support via base system KRB_HEIMDAL_DESC= Kerberos support via security/heimdal KRB_MIT_DESC= Kerberos support via security/krb5 KRB_NONE_DESC= Disable Kerberos support +SSHDUMP_DESC= Build sshdump extcap tool +CISCODUMP_DESC= Build ciscodump extcap tool GTK2_USE= GNOME=gtk20,cairo GTK3_USE= GNOME=gtk30,cairo @@ -103,6 +105,8 @@ CARES_LIB_DEPENDS= libcares.so:dns/c-ares GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP DECRYPT_LIB_DEPENDS= libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt +SSHDUMP_LIB_DEPENDS= libssh.so:security/libssh +CISCODUMP_LIB_DEPENDS= libssh.so:security/libssh KRB_NONE_CONFIGURE_ON= --without-krb5 KRB_NONE_CONFIGURE_OFF= --with-krb5 --with-krb5-crypto-openssl @@ -119,6 +123,10 @@ GEOIP_CONFIGURE_WITH= geoip DECRYPT_CONFIGURE_WITH= gnutls ANDROIDDUMP_CONFIGURE_ON=--enable-androiddump=yes ANDROIDDUMP_CONFIGURE_OFF=--enable-androiddump=no +SSHDUMP_CONFIGURE_ON=--enable-sshdump=yes +SSHDUMP_CONFIGURE_OFF=--enable-sshdump=no +CISCODUMP_CONFIGURE_ON=--enable-sshdump=yes +CISCODUMP_CONFIGURE_OFF=--enable-sshdump=no LUA_CPPFLAGS= -I${LUA_INCDIR} @@ -134,9 +142,15 @@ GTK3_PLIST_SUB= GUI_GTK="" OPTIONS_SUB= yes .if defined(LITE) -CONFIGURE_ARGS+=--enable-androiddump=no +CONFIGURE_ARGS+=--enable-androiddump=no \ + --enable-sshdump=no \ + --enable-ciscodump=no PLIST_SUB+= ANDROIDDUMP_LIB="@comment " \ - ANDROIDDUMP_MAN="@comment " + ANDROIDDUMP_MAN="@comment " \ + SSHDUMP_LIB="@comment " \ + SSHDUMP_MAN="@comment " \ + CISCODUMP_LIB="@comment " \ + CISCODUMP_MAN="@comment " .endif .include @@ -158,6 +172,20 @@ PLIST_SUB+= ANDROIDDUMP_LIB="" \ .else PLIST_SUB+= ANDROIDDUMP_LIB="@comment " \ ANDROIDDUMP_MAN="@comment " +.endif +.if ${PORT_OPTIONS:MSSHDUMP} +PLIST_SUB+= SSHDUMP_LIB="" \ + SSHDUMP_MAN="" +.else +PLIST_SUB+= SSHDUMP_LIB="@comment " \ + SSHDUMP_MAN="@comment " +.endif +.if ${PORT_OPTIONS:MCISCODUMP} +PLIST_SUB+= CISCODUMP_LIB="" \ + CISCODUMP_MAN="" +.else +PLIST_SUB+= CISCODUMP_LIB="@comment " \ + CISCODUMP_MAN="@comment " .endif .endif