diff --git a/srcpkgs/wireshark/template b/srcpkgs/wireshark/template index 2cdfbb5d254..5199666e319 100644 --- a/srcpkgs/wireshark/template +++ b/srcpkgs/wireshark/template @@ -1,6 +1,6 @@ # Template file for 'wireshark' pkgname=wireshark -version=2.6.4 +version=2.6.5 revision=1 build_style=gnu-configure configure_args="--with-ssl --with-pcap --with-libcap --with-zlib --with-lua @@ -12,10 +12,10 @@ makedepends="libpcap-devel zlib-devel lua52-devel mit-krb5-devel gnutls-devel depends="libcap-progs" short_desc="A network protocol analyzer" maintainer="Enno Boland " -homepage="https://www.wireshark.org" license="GPL-2.0-or-later" +homepage="https://www.wireshark.org" distfiles="https://www.wireshark.org/download/src/${pkgname}-${version}.tar.xz" -checksum=a06b007e6343f148b8b93443b2fcfc9bb3204311cd268565d54d1b71660bc861 +checksum=93155b798544b2f07693920f4ac1b531c952965ee4eb1d98419961240177438a system_groups="wireshark" CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2" @@ -25,6 +25,7 @@ pre_configure() { autoreconf -fi find -type f -name Makefile.in -exec sed -i "s/^LIBS = .*/\0 -ldl/" {} \; } + post_install() { local _includeDir=usr/include/wireshark @@ -47,6 +48,7 @@ libwireshark_package() { vmove usr/lib/wireshark } } + libwireshark-devel_package() { short_desc+=" - development files" depends="libwireshark>=${version}_${revision}" @@ -56,6 +58,7 @@ libwireshark-devel_package() { vmove usr/lib/*.so } } + wireshark-gtk_package() { depends="${sourcepkg}>=${version}_${revision} hicolor-icon-theme desktop-file-utils" short_desc+=" - GTK+ frontend" @@ -65,6 +68,7 @@ wireshark-gtk_package() { vmove usr/share/applications/wireshark-gtk.desktop } } + wireshark-qt_package() { depends="${sourcepkg}>=${version}_${revision} desktop-file-utils" short_desc+=" - Qt frontend"