diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 01:16:44 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 01:16:44 -0300 |
commit | 92155342158c2dbcc0c840325d63d1742d3583ec (patch) | |
tree | f0900a2867d221c79742e7a06ca4244a21abf8f3 /community/ngrep/PKGBUILD | |
parent | 78fa3fcb824603de4b7bc558a423edca6bc18836 (diff) | |
parent | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/astyle/PKGBUILD
community/gavl/PKGBUILD
community/lmms/PKGBUILD
community/portaudio/PKGBUILD
community/redshift/PKGBUILD
extra/gnutls/PKGBUILD
extra/libglade/PKGBUILD
extra/libgnome/PKGBUILD
extra/orbit2/PKGBUILD
extra/pypgsql/PKGBUILD
extra/vlc/PKGBUILD
extra/xorg-appres/PKGBUILD
extra/xorg-xdriinfo/PKGBUILD
extra/xorg-xfs/PKGBUILD
extra/xorg-xgamma/PKGBUILD
extra/xorg-xhost/PKGBUILD
extra/xorg-xkbevd/PKGBUILD
extra/xorg-xkbutils/PKGBUILD
extra/xorg-xload/PKGBUILD
extra/xorg-xlogo/PKGBUILD
extra/xorg-xlsatoms/PKGBUILD
extra/xorg-xlsclients/PKGBUILD
extra/xorg-xmag/PKGBUILD
extra/xorg-xmodmap/PKGBUILD
extra/xorg-xrdb/PKGBUILD
extra/xorg-xrefresh/PKGBUILD
extra/xorg-xsetroot/PKGBUILD
extra/xorg-xvidtune/PKGBUILD
extra/xorg-xwd/PKGBUILD
extra/xorg-xwud/PKGBUILD
extra/zile/PKGBUILD
multilib/wine/PKGBUILD
testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community/ngrep/PKGBUILD')
-rw-r--r-- | community/ngrep/PKGBUILD | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/community/ngrep/PKGBUILD b/community/ngrep/PKGBUILD index 72e0d4131..0ea7df42a 100644 --- a/community/ngrep/PKGBUILD +++ b/community/ngrep/PKGBUILD @@ -1,27 +1,38 @@ -# $Id: PKGBUILD 64341 2012-02-11 23:22:31Z allan $ +# $Id: PKGBUILD 66459 2012-02-25 02:54:09Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> pkgname=ngrep pkgver=1.45 -pkgrel=8 +pkgrel=9 pkgdesc='A grep-like utility that allows you to search for network packets on an interface.' arch=('i686' 'x86_64' 'mips64el') url='http://ngrep.sourceforge.net/' license=('custom') -depends=('libpcap>=1.0.0') +depends=('libpcap>=1.0.0' 'pcre') # Fix build failure when using "-j" (FS#27091). options=(!makeflags) -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "ngrep-fix-ipv6-support.patch") -md5sums=('bc8150331601f3b869549c94866b4f1c' '90e6dfb335bccf12615d3c468ceeb60f') -# Added patch for broken ipv6 support (FS#27225) +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'ngrep-1.45-fix-ipv6.patch' + 'ngrep-1.45-use-system-pcre.patch') +md5sums=('bc8150331601f3b869549c94866b4f1c' + '524ee2e0d9ff3c6a262eca836ddf63ed' + 'c546da1e47d3e8bddc7678c81a22a6b7') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i $srcdir/ngrep-fix-ipv6-support.patch - ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --enable-ipv6 + # add patch for broken ipv6 support (FS#27225) + patch -Np1 -i "$srcdir/ngrep-1.45-fix-ipv6.patch" + + # use system PCRE (FS#27225) + patch -Np1 -i "$srcdir/ngrep-1.45-use-system-pcre.patch" + autoreconf + + export EXTRA_INCLUDES=$(pcre-config --cflags) + export EXTRA_LIBS=$(pcre-config --libs) + ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --enable-ipv6 --enable-pcre make } |