pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wireshark wireshark: pkgsrc improvements



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f847a37b0b7e
branches:  trunk
changeset: 316041:f847a37b0b7e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Dec 03 15:35:15 2018 +0000

description:
wireshark: pkgsrc improvements

- remove unused configure options
- allow newer Python
- depend on: lz4, libssh, libcares, snappy
- add http2 as an option

diffstat:

 net/wireshark/Makefile   |  35 ++++++++++++++++-------------------
 net/wireshark/PLIST      |   6 +++++-
 net/wireshark/options.mk |  12 +++++++++---
 3 files changed, 30 insertions(+), 23 deletions(-)

diffs (142 lines):

diff -r 3ef98595ab93 -r f847a37b0b7e net/wireshark/Makefile
--- a/net/wireshark/Makefile    Mon Dec 03 15:21:07 2018 +0000
+++ b/net/wireshark/Makefile    Mon Dec 03 15:35:15 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.200 2018/12/03 14:19:24 wiz Exp $
+# $NetBSD: Makefile,v 1.201 2018/12/03 15:35:15 adam Exp $
 
 DISTNAME=      wireshark-2.6.5
 CATEGORIES=    net
@@ -13,26 +13,22 @@
 CONFLICTS+=            ethereal-[0-9]*
 
 USE_LANGUAGES=         c c++
+USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake perl pkg-config yacc lex
-
-USE_LIBTOOL=           yes
-SHLIBTOOL_OVERRIDE=    # empty
-CHECK_PORTABILITY_SKIP+=packaging/macosx/*/*
-
-PKGCONFIG_OVERRIDE+=   wireshark.pc.in
-
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-static=no
-CONFIGURE_ARGS+=       --with-ssl=${SSLBASE:Q}
 CONFIGURE_ARGS+=       --with-pcap=${BUILDLINK_PREFIX.libpcap}
 CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
 CONFIGURE_ENV+=                ac_cv_path_YACCDUMMY=${TOOLS_PATH.yacc}
 CONFIGURE_ENV+=                ac_cv_path_LEXDUMMY=${TOOLS_PATH.lex}
+PKGCONFIG_OVERRIDE+=   wireshark.pc.in
+SHLIBTOOL_OVERRIDE=    # empty
+
+CHECK_PORTABILITY_SKIP+=       packaging/macosx/*/*
 
 PTHREAD_OPTS+=         require
 
 PYTHON_FOR_BUILD_ONLY=         yes
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37 # not yet ported as of 1.10.5
 REPLACE_PYTHON+=               help/faq.py
 REPLACE_PYTHON+=               tools/asn2deb
 REPLACE_PYTHON+=               tools/asn2wrs.py
@@ -54,8 +50,6 @@
 USE_BUILTIN.libpcap=   no
 .endif
 
-CONFIGURE_ARGS.Darwin+=        --disable-osx-deploy-target
-
 # Extra post install targets are in options.mk
 post-install: ${POST_INSTALL_TARGETS}
 
@@ -69,16 +63,19 @@
 # [-Wint-conversion]
 BUILDLINK_TRANSFORM+=  rm:-DGDK_PIXBUF_DISABLE_DEPRECATED
 
+.include "../../archivers/lz4/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../net/libpcap/buildlink3.mk"
 .include "../../devel/libsmi/buildlink3.mk"
-.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/snappy/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../net/libcares/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-
-.include "../../lang/python/application.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/libssh/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/krb5.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3ef98595ab93 -r f847a37b0b7e net/wireshark/PLIST
--- a/net/wireshark/PLIST       Mon Dec 03 15:21:07 2018 +0000
+++ b/net/wireshark/PLIST       Mon Dec 03 15:35:15 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.38 2018/09/10 08:34:06 leot Exp $
+@comment $NetBSD: PLIST,v 1.39 2018/12/03 15:35:15 adam Exp $
 bin/capinfos
 bin/captype
 bin/dumpcap
@@ -639,7 +639,9 @@
 lib/libwsutil.la
 lib/pkgconfig/wireshark.pc
 lib/wireshark/extcap/androiddump
+lib/wireshark/extcap/ciscodump
 lib/wireshark/extcap/randpktdump
+lib/wireshark/extcap/sshdump
 lib/wireshark/extcap/udpdump
 lib/wireshark/plugins/2.6/codecs/l16mono.la
 lib/wireshark/plugins/2.6/epan/ethercat.la
@@ -658,6 +660,7 @@
 man/man1/androiddump.1
 man/man1/capinfos.1
 man/man1/captype.1
+man/man1/ciscodump.1
 man/man1/dftest.1
 man/man1/dumpcap.1
 man/man1/editcap.1
@@ -666,6 +669,7 @@
 man/man1/randpktdump.1
 man/man1/rawshark.1
 man/man1/reordercap.1
+man/man1/sshdump.1
 man/man1/text2pcap.1
 man/man1/tshark.1
 man/man1/udpdump.1
diff -r 3ef98595ab93 -r f847a37b0b7e net/wireshark/options.mk
--- a/net/wireshark/options.mk  Mon Dec 03 15:21:07 2018 +0000
+++ b/net/wireshark/options.mk  Mon Dec 03 15:35:15 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.21 2018/09/11 11:43:33 adam Exp $
+# $NetBSD: options.mk,v 1.22 2018/12/03 15:35:15 adam Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.wireshark
-PKG_SUPPORTED_OPTIONS=         gtk3 lua
+PKG_SUPPORTED_OPTIONS=         gtk3 http2 lua
 PKG_OPTIONS_OPTIONAL_GROUPS=   qt
 PKG_OPTIONS_GROUP.qt=          qt4 qt5
 PKG_SUGGESTED_OPTIONS=         qt5 lua
@@ -85,9 +85,15 @@
 .if !empty(PKG_OPTIONS:Mlua)
 LUA_VERSIONS_INCOMPATIBLE=     53
 .include "../../lang/lua/buildlink3.mk"
-
 CONFIGURE_ARGS+=       --with-lua=yes
 PLIST.lua=             yes
 .else
 CONFIGURE_ARGS+=       --with-lua=no
 .endif
+
+.if !empty(PKG_OPTIONS:Mhttp2)
+.include "../../www/nghttp2/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-nghttp2
+.else
+CONFIGURE_ARGS+=       --without-nghttp2
+.endif



Home | Main Index | Thread Index | Old Index