[arch-commits] Commit in libpcap/repos (6 files)
Date: Friday, October 28, 2016 @ 19:33:02 Author: bpiotrowski Revision: 279419 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 279418, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/mgmt.h (from rev 279418, libpcap/trunk/mgmt.h) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 279418, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/mgmt.h (from rev 279418, libpcap/trunk/mgmt.h) -+ testing-i686/PKGBUILD | 47 ++ testing-i686/mgmt.h | 772 ++ testing-x86_64/PKGBUILD | 47 ++ testing-x86_64/mgmt.h | 772 ++ 4 files changed, 1638 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 279418, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-10-28 19:33:02 UTC (rev 279419) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Thomas Bächler+ +pkgname=libpcap +pkgver=1.8.1 +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' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +mgmt.h) +sha256sums=('673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e' +'SKIP' +'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2') +validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group + +prepare() { + mkdir -p ${srcdir}/include/bluetooth + cp ${srcdir}/mgmt.h ${srcdir}/include/bluetooth/ +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + CFLAGS="$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags)" \ + ./configure --prefix=/usr \ +--enable-ipv6 \ +--enable-bluetooth \ +--with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + # install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/mgmt.h (from rev 279418, libpcap/trunk/mgmt.h) === --- testing-i686/mgmt.h (rev 0) +++ testing-i686/mgmt.h 2016-10-28 19:33:02 UTC (rev 279419) @@ -0,0 +1,772 @@ +/* + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2010 Nokia Corporation + * Copyright (C) 2010 Marcel Holtmann + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#define MGMT_INDEX_NONE0x + +#define MGMT_STATUS_SUCCESS0x00 +#define MGMT_STATUS_UNKNOWN_COMMAND0x01 +#define MGMT_STATUS_NOT_CONNECTED 0x02 +#define MGMT_STATUS_FAILED 0x03 +#define MGMT_STATUS_CONNECT_FAILED 0x04 +#define MGMT_STATUS_AUTH_FAILED0x05 +#define MGMT_STATUS_NOT_PAIRED 0x06 +#define MGMT_STATUS_NO_RESOURCES 0x07 +#define MGMT_STATUS_TIMEOUT0x08 +#define MGMT_STATUS_ALREADY_CONNECTED 0x09 +#define MGMT_STATUS_BUSY 0x0a +#define MGMT_STATUS_REJECTED 0x0b +#define MGMT_STATUS_NOT_SUPPORTED 0x0c +#define MGMT_STATUS_INVALID_PARAMS 0x0d +#define MGMT_STATUS_DISCONNECTED 0x0e +#define MGMT_STATUS_NOT_POWERED0x0f +#define MGMT_STATUS_CANCELLED 0x10 +#define MGMT_STATUS_INVALID_INDEX 0x11 +#define MGMT_STATUS_RFKILLED 0x12 + +struct mgmt_hdr { + uint16_t opcode; + uint16_t index; + uint16_t len; +} __packed; +#define MGMT_HDR_SIZE 6 + +struct mgmt_addr_info { + bdaddr_t bdaddr; + uint8_t type;
[arch-commits] Commit in libpcap/repos (6 files)
Date: Thursday, August 13, 2015 @ 13:54:51 Author: thomas Revision: 243397 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 243396, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/mgmt.h (from rev 243396, libpcap/trunk/mgmt.h) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 243396, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/mgmt.h (from rev 243396, libpcap/trunk/mgmt.h) -+ testing-i686/PKGBUILD | 47 ++ testing-i686/mgmt.h | 772 ++ testing-x86_64/PKGBUILD | 47 ++ testing-x86_64/mgmt.h | 772 ++ 4 files changed, 1638 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 243396, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-08-13 11:54:51 UTC (rev 243397) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.7.4 +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' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +mgmt.h) +sha256sums=('7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0' +'SKIP' +'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2') +validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group + +prepare() { + mkdir -p ${srcdir}/include/bluetooth + cp ${srcdir}/mgmt.h ${srcdir}/include/bluetooth/ +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + CFLAGS=$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags) \ + ./configure --prefix=/usr \ +--enable-ipv6 \ +--enable-bluetooth \ +--with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + # install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/mgmt.h (from rev 243396, libpcap/trunk/mgmt.h) === --- testing-i686/mgmt.h (rev 0) +++ testing-i686/mgmt.h 2015-08-13 11:54:51 UTC (rev 243397) @@ -0,0 +1,772 @@ +/* + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2010 Nokia Corporation + * Copyright (C) 2010 Marcel Holtmann mar...@holtmann.org + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#define MGMT_INDEX_NONE0x + +#define MGMT_STATUS_SUCCESS0x00 +#define MGMT_STATUS_UNKNOWN_COMMAND0x01 +#define MGMT_STATUS_NOT_CONNECTED 0x02 +#define MGMT_STATUS_FAILED 0x03 +#define MGMT_STATUS_CONNECT_FAILED 0x04 +#define MGMT_STATUS_AUTH_FAILED0x05 +#define MGMT_STATUS_NOT_PAIRED 0x06 +#define MGMT_STATUS_NO_RESOURCES 0x07 +#define MGMT_STATUS_TIMEOUT0x08 +#define MGMT_STATUS_ALREADY_CONNECTED 0x09 +#define MGMT_STATUS_BUSY 0x0a +#define MGMT_STATUS_REJECTED 0x0b +#define MGMT_STATUS_NOT_SUPPORTED 0x0c +#define MGMT_STATUS_INVALID_PARAMS 0x0d +#define MGMT_STATUS_DISCONNECTED 0x0e +#define MGMT_STATUS_NOT_POWERED0x0f +#define MGMT_STATUS_CANCELLED 0x10 +#define MGMT_STATUS_INVALID_INDEX 0x11 +#define MGMT_STATUS_RFKILLED 0x12 + +struct mgmt_hdr { + uint16_t opcode; + uint16_t index; + uint16_t len; +} __packed; +#define MGMT_HDR_SIZE 6 + +struct mgmt_addr_info { + bdaddr_t bdaddr; + uint8_t type; +} __packed; +
[arch-commits] Commit in libpcap/repos (6 files)
Date: Wednesday, September 3, 2014 @ 22:04:00 Author: thomas Revision: 220931 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 220930, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/mgmt.h (from rev 220930, libpcap/trunk/mgmt.h) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 220930, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/mgmt.h (from rev 220930, libpcap/trunk/mgmt.h) -+ testing-i686/PKGBUILD | 46 ++ testing-i686/mgmt.h | 772 ++ testing-x86_64/PKGBUILD | 46 ++ testing-x86_64/mgmt.h | 772 ++ 4 files changed, 1636 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 220930, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-09-03 20:04:00 UTC (rev 220931) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.6.2 +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' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +mgmt.h) +sha256sums=('5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690' +'SKIP' +'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2') + +prepare() { + mkdir -p ${srcdir}/include/bluetooth + cp ${srcdir}/mgmt.h ${srcdir}/include/bluetooth/ +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + CFLAGS=$CFLAGS -I${srcdir}/include \ + ./configure --prefix=/usr \ +--enable-ipv6 \ +--enable-bluetooth \ +--with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + # install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/mgmt.h (from rev 220930, libpcap/trunk/mgmt.h) === --- testing-i686/mgmt.h (rev 0) +++ testing-i686/mgmt.h 2014-09-03 20:04:00 UTC (rev 220931) @@ -0,0 +1,772 @@ +/* + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2010 Nokia Corporation + * Copyright (C) 2010 Marcel Holtmann mar...@holtmann.org + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#define MGMT_INDEX_NONE0x + +#define MGMT_STATUS_SUCCESS0x00 +#define MGMT_STATUS_UNKNOWN_COMMAND0x01 +#define MGMT_STATUS_NOT_CONNECTED 0x02 +#define MGMT_STATUS_FAILED 0x03 +#define MGMT_STATUS_CONNECT_FAILED 0x04 +#define MGMT_STATUS_AUTH_FAILED0x05 +#define MGMT_STATUS_NOT_PAIRED 0x06 +#define MGMT_STATUS_NO_RESOURCES 0x07 +#define MGMT_STATUS_TIMEOUT0x08 +#define MGMT_STATUS_ALREADY_CONNECTED 0x09 +#define MGMT_STATUS_BUSY 0x0a +#define MGMT_STATUS_REJECTED 0x0b +#define MGMT_STATUS_NOT_SUPPORTED 0x0c +#define MGMT_STATUS_INVALID_PARAMS 0x0d +#define MGMT_STATUS_DISCONNECTED 0x0e +#define MGMT_STATUS_NOT_POWERED0x0f +#define MGMT_STATUS_CANCELLED 0x10 +#define MGMT_STATUS_INVALID_INDEX 0x11 +#define MGMT_STATUS_RFKILLED 0x12 + +struct mgmt_hdr { + uint16_t opcode; + uint16_t index; + uint16_t len; +} __packed; +#define MGMT_HDR_SIZE 6 + +struct mgmt_addr_info { + bdaddr_t bdaddr; + uint8_t type; +} __packed; + +#define MGMT_OP_READ_VERSION 0x0001 +struct mgmt_rp_read_version { + uint8_t version; +
[arch-commits] Commit in libpcap/repos (6 files)
Date: Wednesday, July 30, 2014 @ 20:01:35 Author: thomas Revision: 218395 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 218394, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/mgmt.h (from rev 218394, libpcap/trunk/mgmt.h) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 218394, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/mgmt.h (from rev 218394, libpcap/trunk/mgmt.h) -+ testing-i686/PKGBUILD | 46 ++ testing-i686/mgmt.h | 772 ++ testing-x86_64/PKGBUILD | 46 ++ testing-x86_64/mgmt.h | 772 ++ 4 files changed, 1636 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 218394, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-07-30 18:01:35 UTC (rev 218395) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.6.1 +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' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +mgmt.h) +sha256sums=('116cbb3ac9e96d5dd7b39638a2f894a67fa3dcf06d794e6dae2b9a942ad13476' +'SKIP' +'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2') + +prepare() { + mkdir -p ${srcdir}/include/bluetooth + cp ${srcdir}/mgmt.h ${srcdir}/include/bluetooth/ +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + CFLAGS=$CFLAGS -I${srcdir}/include \ + ./configure --prefix=/usr \ +--enable-ipv6 \ +--enable-bluetooth \ +--with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + # install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/mgmt.h (from rev 218394, libpcap/trunk/mgmt.h) === --- testing-i686/mgmt.h (rev 0) +++ testing-i686/mgmt.h 2014-07-30 18:01:35 UTC (rev 218395) @@ -0,0 +1,772 @@ +/* + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2010 Nokia Corporation + * Copyright (C) 2010 Marcel Holtmann mar...@holtmann.org + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#define MGMT_INDEX_NONE0x + +#define MGMT_STATUS_SUCCESS0x00 +#define MGMT_STATUS_UNKNOWN_COMMAND0x01 +#define MGMT_STATUS_NOT_CONNECTED 0x02 +#define MGMT_STATUS_FAILED 0x03 +#define MGMT_STATUS_CONNECT_FAILED 0x04 +#define MGMT_STATUS_AUTH_FAILED0x05 +#define MGMT_STATUS_NOT_PAIRED 0x06 +#define MGMT_STATUS_NO_RESOURCES 0x07 +#define MGMT_STATUS_TIMEOUT0x08 +#define MGMT_STATUS_ALREADY_CONNECTED 0x09 +#define MGMT_STATUS_BUSY 0x0a +#define MGMT_STATUS_REJECTED 0x0b +#define MGMT_STATUS_NOT_SUPPORTED 0x0c +#define MGMT_STATUS_INVALID_PARAMS 0x0d +#define MGMT_STATUS_DISCONNECTED 0x0e +#define MGMT_STATUS_NOT_POWERED0x0f +#define MGMT_STATUS_CANCELLED 0x10 +#define MGMT_STATUS_INVALID_INDEX 0x11 +#define MGMT_STATUS_RFKILLED 0x12 + +struct mgmt_hdr { + uint16_t opcode; + uint16_t index; + uint16_t len; +} __packed; +#define MGMT_HDR_SIZE 6 + +struct mgmt_addr_info { + bdaddr_t bdaddr; + uint8_t type; +} __packed; + +#define MGMT_OP_READ_VERSION 0x0001 +struct mgmt_rp_read_version { + uint8_t version; +
[arch-commits] Commit in libpcap/repos (6 files)
Date: Saturday, November 30, 2013 @ 18:42:00 Author: thomas Revision: 200644 db-move: moved libpcap from [testing] to [core] (i686, x86_64) Added: libpcap/repos/core-i686/PKGBUILD (from rev 200643, libpcap/repos/testing-i686/PKGBUILD) libpcap/repos/core-x86_64/PKGBUILD (from rev 200643, libpcap/repos/testing-x86_64/PKGBUILD) Deleted: libpcap/repos/core-i686/PKGBUILD libpcap/repos/core-x86_64/PKGBUILD libpcap/repos/testing-i686/ libpcap/repos/testing-x86_64/ --+ /PKGBUILD| 70 + core-i686/PKGBUILD | 37 - core-x86_64/PKGBUILD | 37 - 3 files changed, 70 insertions(+), 74 deletions(-) Deleted: core-i686/PKGBUILD === --- core-i686/PKGBUILD 2013-11-30 16:39:35 UTC (rev 200643) +++ core-i686/PKGBUILD 2013-11-30 17:42:00 UTC (rev 200644) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Thomas Bächler tho...@archlinux.org - -pkgname=libpcap -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}) -sha256sums=('7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406' -'SKIP') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --enable-ipv6 --with-libnl - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - install -d -m755 ${pkgdir}/usr/bin - make DESTDIR=${pkgdir} install - # remove static library - rm -rf ${pkgdir}/usr/lib/libpcap.a - - # backwards compatibility, programs often look for net/bpf.h - mkdir -p ${pkgdir}/usr/include/net - cd ${pkgdir}/usr/include/net - ln -s ../pcap-bpf.h bpf.h - - #install the license - install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE -} Copied: libpcap/repos/core-i686/PKGBUILD (from rev 200643, libpcap/repos/testing-i686/PKGBUILD) === --- core-i686/PKGBUILD (rev 0) +++ core-i686/PKGBUILD 2013-11-30 17:42:00 UTC (rev 200644) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.5.1 +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}) +sha256sums=('259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4' +'SKIP') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + # install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Deleted: core-x86_64/PKGBUILD === --- core-x86_64/PKGBUILD2013-11-30 16:39:35 UTC (rev 200643) +++ core-x86_64/PKGBUILD2013-11-30 17:42:00 UTC (rev 200644) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Thomas Bächler tho...@archlinux.org - -pkgname=libpcap -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}) -sha256sums=('7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406' -'SKIP') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --enable-ipv6 --with-libnl - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - install -d -m755 ${pkgdir}/usr/bin - make DESTDIR=${pkgdir} install - # remove static library - rm -rf ${pkgdir}/usr/lib/libpcap.a - - # backwards compatibility, programs often look for net/bpf.h - mkdir -p ${pkgdir}/usr/include/net - cd ${pkgdir}/usr/include/net - ln -s ../pcap-bpf.h bpf.h - - #install the license - install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE -} Copied: libpcap/repos/core-x86_64/PKGBUILD (from rev 200643, libpcap/repos/testing-x86_64/PKGBUILD) === --- core-x86_64/PKGBUILD(rev 0) +++ core-x86_64/PKGBUILD
[arch-commits] Commit in libpcap/repos (6 files)
Date: Thursday, March 7, 2013 @ 13:02:00 Author: foutrelis Revision: 179578 archrelease: copy trunk to staging-i686, staging-x86_64 Added: libpcap/repos/staging-i686/ libpcap/repos/staging-i686/PKGBUILD (from rev 179577, libpcap/trunk/PKGBUILD) libpcap/repos/staging-i686/libnl32.patch (from rev 179577, libpcap/trunk/libnl32.patch) libpcap/repos/staging-x86_64/ libpcap/repos/staging-x86_64/PKGBUILD (from rev 179577, libpcap/trunk/PKGBUILD) libpcap/repos/staging-x86_64/libnl32.patch (from rev 179577, libpcap/trunk/libnl32.patch) --+ staging-i686/PKGBUILD| 41 + staging-i686/libnl32.patch | 19 +++ staging-x86_64/PKGBUILD | 41 + staging-x86_64/libnl32.patch | 19 +++ 4 files changed, 120 insertions(+) Copied: libpcap/repos/staging-i686/PKGBUILD (from rev 179577, libpcap/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-03-07 12:02:00 UTC (rev 179578) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.0 +pkgrel=3 +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') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + # remove static library + rm -rf ${pkgdir}/usr/lib/libpcap.a + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + #install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/staging-i686/libnl32.patch (from rev 179577, libpcap/trunk/libnl32.patch) === --- staging-i686/libnl32.patch (rev 0) +++ staging-i686/libnl32.patch 2013-03-07 12:02:00 UTC (rev 179578) @@ -0,0 +1,19 @@ +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.0 +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]) + ], Copied: libpcap/repos/staging-x86_64/PKGBUILD (from rev 179577, libpcap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-03-07 12:02:00 UTC (rev 179578) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.0 +pkgrel=3 +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') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin +
[arch-commits] Commit in libpcap/repos (6 files)
Date: Saturday, February 9, 2013 @ 20:39:46 Author: thomas Revision: 177835 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 177834, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/libnl32.patch (from rev 177834, libpcap/trunk/libnl32.patch) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 177834, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/libnl32.patch (from rev 177834, libpcap/trunk/libnl32.patch) --+ testing-i686/PKGBUILD| 41 + testing-i686/libnl32.patch | 19 +++ testing-x86_64/PKGBUILD | 41 + testing-x86_64/libnl32.patch | 19 +++ 4 files changed, 120 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 177834, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-02-09 19:39:46 UTC (rev 177835) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.0 +pkgrel=2 +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') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + # remove static library + rm -rf ${pkgdir}/usr/lib/libpcap.a + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + #install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/libnl32.patch (from rev 177834, libpcap/trunk/libnl32.patch) === --- testing-i686/libnl32.patch (rev 0) +++ testing-i686/libnl32.patch 2013-02-09 19:39:46 UTC (rev 177835) @@ -0,0 +1,19 @@ +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.0 +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]) + ], Copied: libpcap/repos/testing-x86_64/PKGBUILD (from rev 177834, libpcap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-02-09 19:39:46 UTC (rev 177835) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.0 +pkgrel=2 +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') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin +
[arch-commits] Commit in libpcap/repos (6 files)
Date: Monday, June 25, 2012 @ 14:35:21 Author: thomas Revision: 162349 archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 162348, libpcap/trunk/PKGBUILD) libpcap/repos/testing-i686/libnl32.patch (from rev 162348, libpcap/trunk/libnl32.patch) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 162348, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/libnl32.patch (from rev 162348, libpcap/trunk/libnl32.patch) --+ testing-i686/PKGBUILD| 41 + testing-i686/libnl32.patch | 19 +++ testing-x86_64/PKGBUILD | 41 + testing-x86_64/libnl32.patch | 19 +++ 4 files changed, 120 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 162348, libpcap/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-06-25 18:35:21 UTC (rev 162349) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.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' +'8004a6655fb98acd89f3dea7ce95f182f4874298ce692f5b8f4a7dae65d7993f' +'7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + # remove static library + rm -rf ${pkgdir}/usr/lib/libpcap.a + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + #install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/testing-i686/libnl32.patch (from rev 162348, libpcap/trunk/libnl32.patch) === --- testing-i686/libnl32.patch (rev 0) +++ testing-i686/libnl32.patch 2012-06-25 18:35:21 UTC (rev 162349) @@ -0,0 +1,19 @@ +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.0 +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]) + ], Copied: libpcap/repos/testing-x86_64/PKGBUILD (from rev 162348, libpcap/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-06-25 18:35:21 UTC (rev 162349) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.3.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' +'8004a6655fb98acd89f3dea7ce95f182f4874298ce692f5b8f4a7dae65d7993f' +'7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make
[arch-commits] Commit in libpcap/repos (6 files)
Date: Thursday, February 9, 2012 @ 13:32:50 Author: heftig Revision: 149717 archrelease: copy trunk to staging-i686, staging-x86_64 Added: libpcap/repos/staging-i686/ libpcap/repos/staging-i686/PKGBUILD (from rev 149716, libpcap/trunk/PKGBUILD) libpcap/repos/staging-i686/libnl32.patch (from rev 149716, libpcap/trunk/libnl32.patch) libpcap/repos/staging-x86_64/ libpcap/repos/staging-x86_64/PKGBUILD (from rev 149716, libpcap/trunk/PKGBUILD) libpcap/repos/staging-x86_64/libnl32.patch (from rev 149716, libpcap/trunk/libnl32.patch) --+ staging-i686/PKGBUILD| 41 + staging-i686/libnl32.patch | 19 +++ staging-x86_64/PKGBUILD | 41 + staging-x86_64/libnl32.patch | 19 +++ 4 files changed, 120 insertions(+) Copied: libpcap/repos/staging-i686/PKGBUILD (from rev 149716, libpcap/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-02-09 18:32:50 UTC (rev 149717) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.2.1 +pkgrel=2 +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') +makedepends=('flex') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +libnl32.patch) +sha256sums=('a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd' +'dc82ca7e7f737885969af0f78ad0f0eef8206062087e0261ca2799ef26d569b4' +'7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + # remove static library + rm -rf ${pkgdir}/usr/lib/libpcap.a + + # backwards compatibility, programs often look for net/bpf.h + mkdir -p ${pkgdir}/usr/include/net + cd ${pkgdir}/usr/include/net + ln -s ../pcap-bpf.h bpf.h + + #install the license + install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} Copied: libpcap/repos/staging-i686/libnl32.patch (from rev 149716, libpcap/trunk/libnl32.patch) === --- staging-i686/libnl32.patch (rev 0) +++ staging-i686/libnl32.patch 2012-02-09 18:32:50 UTC (rev 149717) @@ -0,0 +1,19 @@ +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.0 +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]) + ], Copied: libpcap/repos/staging-x86_64/PKGBUILD (from rev 149716, libpcap/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-02-09 18:32:50 UTC (rev 149717) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Thomas Bächler tho...@archlinux.org + +pkgname=libpcap +pkgver=1.2.1 +pkgrel=2 +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') +makedepends=('flex') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig} +libnl32.patch) +sha256sums=('a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd' +'dc82ca7e7f737885969af0f78ad0f0eef8206062087e0261ca2799ef26d569b4' +'7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/libnl32.patch + autoreconf -f -i + ./configure --prefix=/usr --enable-ipv6 --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make