diff options
author | root <root@rshg054.dnsready.net> | 2012-02-09 23:14:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-09 23:14:54 +0000 |
commit | 4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (patch) | |
tree | 3ea5705a573fd320639395f484fc12335e0a1b88 /community-testing/ngrep/PKGBUILD | |
parent | 54b7119c36756b86ea463649ee972cd6c1ce5863 (diff) |
Thu Feb 9 23:14:54 UTC 2012
Diffstat (limited to 'community-testing/ngrep/PKGBUILD')
-rw-r--r-- | community-testing/ngrep/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community-testing/ngrep/PKGBUILD b/community-testing/ngrep/PKGBUILD new file mode 100644 index 000000000..ecf5da55b --- /dev/null +++ b/community-testing/ngrep/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 64087 2012-02-08 23:54:06Z allan $ +# 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 +pkgdesc='A grep-like utility that allows you to search for network packets on an interface.' +arch=('i686' 'x86_64') +url='http://ngrep.sourceforge.net/' +license=('custom') +depends=('libpcap>=1.0.0') +# 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) + +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 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" +} |