summaryrefslogtreecommitdiff
path: root/community-testing/ngrep/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-10 10:21:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-10 10:21:53 -0300
commit9268c5eeb9d68cd786f5a7beaed3b5672adb5287 (patch)
treea9c2e47a6d2ce00fda6c302e09aba390accc1407 /community-testing/ngrep/PKGBUILD
parent96790e4d7e2c3a76ee2ee0c5d703b8144049532c (diff)
parent4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/blender/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/root/PKGBUILD community-testing/ted/PKGBUILD extra/cpufrequtils/PKGBUILD extra/libraw1394/PKGBUILD extra/musicbrainz/PKGBUILD extra/pm-utils/PKGBUILD extra/re2c/PKGBUILD extra/zip/PKGBUILD multilib/lib32-expat/PKGBUILD multilib/lib32-flac/PKGBUILD multilib/lib32-fontconfig/PKGBUILD multilib/lib32-giflib/PKGBUILD multilib/lib32-glew/PKGBUILD multilib/lib32-glib/PKGBUILD multilib/lib32-json-c/PKGBUILD multilib/lib32-lcms/PKGBUILD multilib/lib32-libao/PKGBUILD multilib/lib32-libasyncns/PKGBUILD multilib/lib32-libcups/PKGBUILD multilib/lib32-libice/PKGBUILD multilib/lib32-libmikmod/PKGBUILD multilib/lib32-libsm/PKGBUILD multilib/lib32-libsndfile/PKGBUILD multilib/lib32-libstdc++5/PKGBUILD multilib/lib32-libvorbis/PKGBUILD multilib/lib32-libxau/PKGBUILD multilib/lib32-libxcomposite/PKGBUILD multilib/lib32-libxdamage/PKGBUILD multilib/lib32-libxdmcp/PKGBUILD multilib/lib32-libxft/PKGBUILD multilib/lib32-libxinerama/PKGBUILD multilib/lib32-libxml2/PKGBUILD multilib/lib32-libxmu/PKGBUILD multilib/lib32-libxrender/PKGBUILD multilib/lib32-libxss/PKGBUILD multilib/lib32-libxt/PKGBUILD multilib/lib32-libxtst/PKGBUILD multilib/lib32-libxv/PKGBUILD multilib/lib32-libxvmc/PKGBUILD multilib/lib32-libxxf86vm/PKGBUILD multilib/lib32-mesa/PKGBUILD multilib/lib32-openal/PKGBUILD multilib/lib32-speex/PKGBUILD testing/kdelibs3/PKGBUILD testing/kmod/PKGBUILD testing/php/PKGBUILD testing/systemd/PKGBUILD
Diffstat (limited to 'community-testing/ngrep/PKGBUILD')
-rw-r--r--community-testing/ngrep/PKGBUILD33
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"
+}