diff options
Diffstat (limited to 'extra/wireshark')
-rw-r--r-- | extra/wireshark/PKGBUILD | 19 | ||||
-rw-r--r-- | extra/wireshark/enable_version.patch | 12 |
2 files changed, 24 insertions, 7 deletions
diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD index 22fb7d047..65750aabc 100644 --- a/extra/wireshark/PKGBUILD +++ b/extra/wireshark/PKGBUILD @@ -1,34 +1,39 @@ -# $Id: PKGBUILD 167701 2012-10-03 08:00:56Z guillaume $ +# $Id: PKGBUILD 168916 2012-10-16 14:27:05Z guillaume $ # Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Florian Pritz <bluewind at jabber dot ccc dot de> 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) diff --git a/extra/wireshark/enable_version.patch b/extra/wireshark/enable_version.patch new file mode 100644 index 000000000..18ad14b1f --- /dev/null +++ b/extra/wireshark/enable_version.patch @@ -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]) + |