Date: Tuesday, October 16, 2012 @ 10:17:08 Author: guillaume Revision: 168911
Added portaudio and gnutls support Added: wireshark/trunk/enable_version.patch Modified: wireshark/trunk/PKGBUILD ----------------------+ PKGBUILD | 17 +++++++++++------ enable_version.patch | 12 ++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-10-16 14:16:26 UTC (rev 168910) +++ PKGBUILD 2012-10-16 14:17:08 UTC (rev 168911) @@ -4,31 +4,36 @@ pkgname=('wireshark-cli' 'wireshark-gtk') pkgbase=wireshark pkgver=1.8.3 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') license=('GPL2') makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls' - 'libgcrypt' 'lua' 'python') + 'libgcrypt' 'lua' 'python' 'portaudio') url="http://www.wireshark.org/" options=(!libtool) -source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2) -sha1sums=('3e1322eea5794c71de752b7923af9379bcc95299') +source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2 + enable_version.patch) +sha1sums=('3e1322eea5794c71de752b7923af9379bcc95299' + '9a56a9153b6903e508b0375cde4f6e57ffc544e6') build() { cd "${srcdir}/${pkgbase}-${pkgver}" + patch -p0 < ${srcdir}/enable_version.patch + ./autogen.sh ./configure \ --prefix=/usr \ --with-ssl \ --with-zlib=yes \ - --with-lua + --with-lua \ + --with-portaudio make all } package_wireshark-cli() { pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - CLI version" - depends=('krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 'libgcrypt' 'glib2' 'lua') + depends=('krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 'libgcrypt' 'glib2' 'lua' 'portaudio') install=wireshark.install conflicts=(wireshark) Added: enable_version.patch =================================================================== --- enable_version.patch (rev 0) +++ enable_version.patch 2012-10-16 14:17:08 UTC (rev 168911) @@ -0,0 +1,12 @@ +--- configure.in.init 2012-05-24 20:08:15.040038922 +0000 ++++ configure.in 2012-05-24 20:08:27.869944008 +0000 +@@ -185,7 +185,7 @@ + [use gnutls library @<:@default=yes@:>@]), + with_gnutls="$withval", with_gnutls="yes") + if test "x$with_gnutls" = "xyes"; then +- PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0 gnutls < 3], ++ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0], + [ + echo "gnuTLS found, enabling ssl decryption" + AC_DEFINE(HAVE_LIBGNUTLS, 1, [Define to use gnutls library]) +