diff options
Diffstat (limited to 'net-analyzer/wireshark/wireshark-9999.ebuild')
-rw-r--r-- | net-analyzer/wireshark/wireshark-9999.ebuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild b/net-analyzer/wireshark/wireshark-9999.ebuild index 68dc99e8c15c..0bdf2a0c919a 100644 --- a/net-analyzer/wireshark/wireshark-9999.ebuild +++ b/net-analyzer/wireshark/wireshark-9999.ebuild @@ -18,7 +18,9 @@ else SRC_URI="https://www.wireshark.org/download/src/all-versions/${P/_/}.tar.xz" S="${WORKDIR}/${P/_/}" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~x86" + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~x86" + fi fi LICENSE="GPL-2" @@ -34,17 +36,19 @@ REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) RESTRICT="!test? ( test )" +# TODO: wifidump/libssh automagic? # bug #753062 for speexdsp RDEPEND="acct-group/pcap - >=dev-libs/glib-2.38:2 - >=net-dns/c-ares-1.5:= - dev-libs/libgcrypt:= + >=dev-libs/glib-2.50.0:2 + dev-libs/libpcre2 + >=net-dns/c-ares-1.14.0:= + >=dev-libs/libgcrypt-1.8.0:= media-libs/speexdsp bcg729? ( media-libs/bcg729 ) brotli? ( app-arch/brotli:= ) ciscodump? ( >=net-libs/libssh-0.6 ) filecaps? ( sys-libs/libcap ) - http2? ( net-libs/nghttp2:= ) + http2? ( >=net-libs/nghttp2-1.11.0:= ) ilbc? ( media-libs/libilbc ) kerberos? ( virtual/krb5 ) libxml2? ( dev-libs/libxml2 ) @@ -69,10 +73,12 @@ RDEPEND="acct-group/pcap snappy? ( app-arch/snappy ) spandsp? ( media-libs/spandsp ) sshdump? ( >=net-libs/libssh-0.6 ) - ssl? ( net-libs/gnutls:= ) + ssl? ( >=net-libs/gnutls-3.5.8:= ) zlib? ( sys-libs/zlib ) zstd? ( app-arch/zstd:= )" DEPEND="${RDEPEND}" +# TODO: 4.0.0_rc1 release notes say: +# "Perl is no longer required to build Wireshark, but may be required to build some source code files and run code analysis checks." BDEPEND="${PYTHON_DEPS} dev-lang/perl sys-devel/flex @@ -130,7 +136,7 @@ src_configure() { fi if use qt5 ; then - export QT_MIN_VERSION=5.3.0 + #export QT_MIN_VERSION=5.3.0 append-cxxflags -fPIC -DPIC fi @@ -164,7 +170,7 @@ src_configure() { -DBUILD_tshark=$(usex tshark) -DBUILD_udpdump=$(usex udpdump) -DBUILD_wireshark=$(usex qt5) - -DDISABLE_WERROR=ON + -DENABLE_WERROR=OFF -DENABLE_BCG729=$(usex bcg729) -DENABLE_BROTLI=$(usex brotli) -DENABLE_CAP=$(usex filecaps caps) |