diff options
author | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
commit | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (patch) | |
tree | ee73bbc414ba8aec6b9a578578ceaabd38fff01e /core/libpcap | |
parent | 5b9e0d821dd428792bd51ed03af2b800924ce69d (diff) |
Mon May 13 01:16:27 PDT 2013
Diffstat (limited to 'core/libpcap')
-rw-r--r-- | core/libpcap/PKGBUILD | 16 | ||||
-rw-r--r-- | core/libpcap/libnl32.patch | 19 |
2 files changed, 6 insertions, 29 deletions
diff --git a/core/libpcap/PKGBUILD b/core/libpcap/PKGBUILD index c648eda47..2e200ea46 100644 --- a/core/libpcap/PKGBUILD +++ b/core/libpcap/PKGBUILD @@ -1,25 +1,21 @@ -# $Id: PKGBUILD 179638 2013-03-08 23:40:41Z foutrelis $ +# $Id: PKGBUILD 185218 2013-05-12 09:08:12Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=libpcap -pkgver=1.3.0 -pkgrel=3 +pkgver=1.4.0 +pkgrel=1 pkgdesc="A system-independent interface for user-level packet capture" arch=('i686' 'x86_64') url="http://www.tcpdump.org/" license=('BSD') depends=('glibc' 'libnl' 'sh' 'libusbx') makedepends=('flex') -source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} - libnl32.patch) -sha256sums=('41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9' - 'a078cf1c0f36151cc84a0da7c25ad81fef87afa6bece58c990c62886a7beef99' - '7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}) +sha256sums=('7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406' + 'SKIP') build() { cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i "${srcdir}/libnl32.patch" - autoreconf -f -i ./configure --prefix=/usr --enable-ipv6 --with-libnl make } diff --git a/core/libpcap/libnl32.patch b/core/libpcap/libnl32.patch deleted file mode 100644 index 633fd003e..000000000 --- a/core/libpcap/libnl32.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -u -r libpcap-1.2.1/configure.in libpcap-1.2.1-libnl32/configure.in ---- libpcap-1.2.1/configure.in 2012-01-02 01:47:37.000000000 +0100 -+++ libpcap-1.2.1-libnl32/configure.in 2012-02-09 19:29:29.405603749 +0100 -@@ -433,12 +433,13 @@ - # - # Try libnl 2.x first. - # -- AC_CHECK_LIB(nl, nl_socket_alloc, -+ AC_CHECK_LIB(nl-3, nl_socket_alloc, - [ - # - # Yes, we have libnl 2.x. - # -- LIBS="-lnl-genl -lnl $LIBS" -+ LIBS="$(pkg-config --libs libnl-genl-3.0 libnl-3.0) $LIBS" -+ V_INCLS="$V_INCLS $(pkg-config --cflags libnl-genl-3.0 libnl-3.0)" - AC_DEFINE(HAVE_LIBNL,1,[if libnl exists]) - AC_DEFINE(HAVE_LIBNL_2_x,1,[if libnl exists and is version 2.x]) - ], |