[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2020-10-16 Thread David Runge via arch-commits
Date: Friday, October 16, 2020 @ 23:25:16
  Author: dvzrv
Revision: 398469

upgpkg: libpcap 1.9.1-4: Rebuild to add shared library to provides.

Add libpcap.so to provides.

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-16 23:12:54 UTC (rev 398468)
+++ PKGBUILD2020-10-16 23:25:16 UTC (rev 398469)
@@ -4,7 +4,7 @@
 
 pkgname=libpcap
 pkgver=1.9.1
-pkgrel=3
+pkgrel=4
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
 url='https://www.tcpdump.org/'
@@ -11,6 +11,7 @@
 license=('BSD')
 depends=('glibc' 'libnl' 'sh')
 makedepends=('bluez-libs' 'dbus')
+provides=('libpcap.so')
 source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
 
sha512sums=('ae0d6b0ad8253e7e059336c0f4ed3850d20d7d2f4dc1d942c2951f99a5443a690f0cc42c6f8fdc4a0ccb19e9e985192ba6f399c4bde2c7076e420f547fddfb08'
 'SKIP')


[arch-commits] Commit in libpcap/trunk (PKGBUILD mgmt.h)

2020-10-16 Thread David Runge via arch-commits
Date: Friday, October 16, 2020 @ 22:47:28
  Author: dvzrv
Revision: 398465

upgpkg: libpcap 1.9.1-3: Rebuild to remove libusb dependency.

The libusb/libusbx dependency has either been deprecated or never been 
necessary to begin with.
Remove the custom bluez header mgmt.h, as it is not required (and an 
undocumented relic of the past).
Run autoreconf in prepare().
Explicitely enable USB support.
Remove custom CFLAGS as they are not required to pick up libnl.
Remove /usr/include/net/bpf.h symlink. All packages that rely on it should be 
patched instead.
Remove redundant install calls.
Install documentation.
Update maintainer info.

Modified:
  libpcap/trunk/PKGBUILD
Deleted:
  libpcap/trunk/mgmt.h

--+
 PKGBUILD |   48 +--
 mgmt.h   |  772 -
 2 files changed, 23 insertions(+), 797 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-16 20:27:51 UTC (rev 398464)
+++ PKGBUILD2020-10-16 22:47:28 UTC (rev 398465)
@@ -1,45 +1,43 @@
-# Maintainer:  Bartłomiej Piotrowski 
+# Maintainer: David Runge 
+# Contributor: Bartłomiej Piotrowski 
 # Contributor: Thomas Bächler 
 
 pkgname=libpcap
 pkgver=1.9.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
 url='https://www.tcpdump.org/'
 license=('BSD')
-depends=('glibc' 'libnl' 'sh' 'libusbx' 'dbus')
-makedepends=('flex' 'bluez-libs')
-source=(https://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
-mgmt.h)
+depends=('glibc' 'libnl' 'sh')
+makedepends=('bluez-libs' 'dbus')
+source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('ae0d6b0ad8253e7e059336c0f4ed3850d20d7d2f4dc1d942c2951f99a5443a690f0cc42c6f8fdc4a0ccb19e9e985192ba6f399c4bde2c7076e420f547fddfb08'
+'SKIP')
+b2sums=('c217f7080c9f570e1ce7c54359cbf50b6be54658187a78789a8235a61091de6b488c6ef3eb65eae6f3196ce9f5b059e30bb69cbb6ee87abe1c46906e35ff8ca4'
+'SKIP')
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
-sha256sums=('635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094'
-'SKIP'
-'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 
 prepare() {
-  mkdir -p include/bluetooth
-  cp mgmt.h include/bluetooth/
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
 }
 
 build() {
-  cd $pkgname-$pkgver
-  CFLAGS="$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags)" \
-  ./configure --prefix=/usr \
---enable-ipv6 \
---enable-bluetooth \
---with-libnl
+  cd "$pkgname-$pkgver"
+  ./configure --prefix='/usr' \
+  --enable-ipv6 \
+  --enable-bluetooth \
+  --enable-usb \
+  --with-libnl
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
-  install -d -m755 "$pkgdir"/usr/bin
+  depends+=('libdbus-1.so')
+  cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # 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 -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} \
+-t "${pkgdir}/usr/share/doc/${pkgname}/"
 }

Deleted: mgmt.h
===
--- mgmt.h  2020-10-16 20:27:51 UTC (rev 398464)
+++ mgmt.h  2020-10-16 22:47:28 UTC (rev 398465)
@@ -1,772 +0,0 @@
-/*
- *  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_S

[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2019-11-13 Thread Felix Yan via arch-commits
Date: Wednesday, November 13, 2019 @ 17:07:09
  Author: felixonmars
Revision: 368275

[core] mass rebuild

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 17:07:07 UTC (rev 368274)
+++ PKGBUILD2019-11-13 17:07:09 UTC (rev 368275)
@@ -3,7 +3,7 @@
 
 pkgname=libpcap
 pkgver=1.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
 url='https://www.tcpdump.org/'


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2019-10-02 Thread Gaëtan Bisson via arch-commits
Date: Wednesday, October 2, 2019 @ 21:52:28
  Author: bisson
Revision: 363671

upstream update

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-02 21:28:40 UTC (rev 363670)
+++ PKGBUILD2019-10-02 21:52:28 UTC (rev 363671)
@@ -2,7 +2,7 @@
 # Contributor: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.9.0
+pkgver=1.9.1
 pkgrel=1
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 source=(https://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 mgmt.h)
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
-sha256sums=('2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019'
+sha256sums=('635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094'
 'SKIP'
 '7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2019-05-06 Thread Antonio Rojas via arch-commits
Date: Monday, May 6, 2019 @ 20:22:57
  Author: arojas
Revision: 352613

https

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-06 20:22:28 UTC (rev 352612)
+++ PKGBUILD2019-05-06 20:22:57 UTC (rev 352613)
@@ -6,11 +6,11 @@
 pkgrel=1
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
-url='http://www.tcpdump.org/'
+url='https://www.tcpdump.org/'
 license=('BSD')
 depends=('glibc' 'libnl' 'sh' 'libusbx' 'dbus')
 makedepends=('flex' 'bluez-libs')
-source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
+source=(https://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 mgmt.h)
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
 sha256sums=('2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019'


[arch-commits] Commit in libpcap/trunk (PKGBUILD disable-remote.diff)

2018-08-01 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, August 1, 2018 @ 09:05:56
  Author: bpiotrowski
Revision: 329952

1.9.0-1

Modified:
  libpcap/trunk/PKGBUILD
Deleted:
  libpcap/trunk/disable-remote.diff

-+
 PKGBUILD|   15 +--
 disable-remote.diff |   29 -
 2 files changed, 5 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-01 09:05:45 UTC (rev 329951)
+++ PKGBUILD2018-08-01 09:05:56 UTC (rev 329952)
@@ -3,8 +3,8 @@
 # Contributor: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.8.1
-pkgrel=2
+pkgver=1.9.0
+pkgrel=1
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=('x86_64')
 url='http://www.tcpdump.org/'
@@ -12,20 +12,15 @@
 depends=('glibc' 'libnl' 'sh' 'libusbx' 'dbus')
 makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
-mgmt.h
-disable-remote.diff)
+mgmt.h)
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
-sha256sums=('673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e'
+sha256sums=('2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019'
 'SKIP'
-'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2'
-'dd67dbc3d1fbbbc42c500b9640418e9156c63609800f43cb1ad9c71aa2177ec9')
+'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 
 prepare() {
   mkdir -p include/bluetooth
   cp mgmt.h include/bluetooth/
-
-  cd $pkgname-$pkgver
-  patch -p1 -i "$srcdir"/disable-remote.diff
 }
 
 build() {

Deleted: disable-remote.diff
===
--- disable-remote.diff 2018-08-01 09:05:45 UTC (rev 329951)
+++ disable-remote.diff 2018-08-01 09:05:56 UTC (rev 329952)
@@ -1,29 +0,0 @@
-Disable bits of remote capture support inherited from the WinPCAP merge
-which cause applications to FTBFS if they define HAVE_REMOTE (#843384).
-
 a/pcap/pcap.h
-+++ b/pcap/pcap.h
-@@ -506,6 +506,11 @@
-   #define MODE_STAT 1
-   #define MODE_MON 2
- 
-+#ifdef HAVE_REMOTE
-+  /* Includes most of the public stuff that is needed for the remote capture 
*/
-+  #include 
-+#endif /* HAVE_REMOTE */
-+
- #elif defined(MSDOS)
- 
-   /*
-@@ -526,11 +531,6 @@
- 
- #endif /* _WIN32/MSDOS/UN*X */
- 
--#ifdef HAVE_REMOTE
--  /* Includes most of the public stuff that is needed for the remote capture 
*/
--  #include 
--#endif /* HAVE_REMOTE */
--
- #ifdef __cplusplus
- }
- #endif


[arch-commits] Commit in libpcap/trunk (PKGBUILD disable-remote.diff)

2016-11-09 Thread Bartłomiej Piotrowski
Date: Wednesday, November 9, 2016 @ 16:19:26
  Author: bpiotrowski
Revision: 280256

upgpkg: libpcap 1.8.1-2

apply Debian patch to fix missing header errors (FS#51734)

Added:
  libpcap/trunk/disable-remote.diff
Modified:
  libpcap/trunk/PKGBUILD

-+
 PKGBUILD|   44 
 disable-remote.diff |   29 +
 2 files changed, 53 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-09 08:59:35 UTC (rev 280255)
+++ PKGBUILD2016-11-09 16:19:26 UTC (rev 280256)
@@ -1,29 +1,35 @@
 # $Id$
-# Maintainer: Thomas Bächler 
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Thomas Bächler 
 
 pkgname=libpcap
 pkgver=1.8.1
-pkgrel=1
-pkgdesc="A system-independent interface for user-level packet capture"
+pkgrel=2
+pkgdesc='A system-independent interface for user-level packet capture'
 arch=('i686' 'x86_64')
-url="http://www.tcpdump.org/";
+url='http://www.tcpdump.org/'
 license=('BSD')
-depends=('glibc' 'libnl' 'sh' 'libusbx')
+depends=('glibc' 'libnl' 'sh' 'libusbx' 'dbus')
 makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
-mgmt.h)
+mgmt.h
+disable-remote.diff)
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
 sha256sums=('673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e'
 'SKIP'
-'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
-validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')  # The Tcpdump Group
+'7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2'
+'dd67dbc3d1fbbbc42c500b9640418e9156c63609800f43cb1ad9c71aa2177ec9')
 
 prepare() {
-  mkdir -p ${srcdir}/include/bluetooth
-  cp ${srcdir}/mgmt.h ${srcdir}/include/bluetooth/
+  mkdir -p include/bluetooth
+  cp mgmt.h include/bluetooth/
+
+  cd $pkgname-$pkgver
+  patch -p1 -i "$srcdir"/disable-remote.diff
 }
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   CFLAGS="$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags)" \
   ./configure --prefix=/usr \
 --enable-ipv6 \
@@ -33,15 +39,13 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  install -d -m755 ${pkgdir}/usr/bin
-  make DESTDIR=${pkgdir} install
-  
+  cd $pkgname-$pkgver
+  install -d -m755 "$pkgdir"/usr/bin
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
   # backwards compatibility, programs often look for net/bpf.h
-  mkdir -p ${pkgdir}/usr/include/net
-  cd ${pkgdir}/usr/include/net
+  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
 }

Added: disable-remote.diff
===
--- disable-remote.diff (rev 0)
+++ disable-remote.diff 2016-11-09 16:19:26 UTC (rev 280256)
@@ -0,0 +1,29 @@
+Disable bits of remote capture support inherited from the WinPCAP merge
+which cause applications to FTBFS if they define HAVE_REMOTE (#843384).
+
+--- a/pcap/pcap.h
 b/pcap/pcap.h
+@@ -506,6 +506,11 @@
+   #define MODE_STAT 1
+   #define MODE_MON 2
+ 
++#ifdef HAVE_REMOTE
++  /* Includes most of the public stuff that is needed for the remote capture 
*/
++  #include 
++#endif /* HAVE_REMOTE */
++
+ #elif defined(MSDOS)
+ 
+   /*
+@@ -526,11 +531,6 @@
+ 
+ #endif /* _WIN32/MSDOS/UN*X */
+ 
+-#ifdef HAVE_REMOTE
+-  /* Includes most of the public stuff that is needed for the remote capture 
*/
+-  #include 
+-#endif /* HAVE_REMOTE */
+-
+ #ifdef __cplusplus
+ }
+ #endif


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2016-10-28 Thread Bartłomiej Piotrowski
Date: Friday, October 28, 2016 @ 19:32:56
  Author: bpiotrowski
Revision: 279418

upgpkg: libpcap 1.8.1-1

new upstream release

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-28 19:24:04 UTC (rev 279417)
+++ PKGBUILD2016-10-28 19:32:56 UTC (rev 279418)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.7.4
+pkgver=1.8.1
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 mgmt.h)
-sha256sums=('7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0'
+sha256sums=('673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e'
 'SKIP'
 '7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')  # The Tcpdump Group


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2015-08-13 Thread Thomas Bächler
Date: Thursday, August 13, 2015 @ 13:54:42
  Author: thomas
Revision: 243396

upgpkg: libpcap 1.7.4-1

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-13 11:43:08 UTC (rev 243395)
+++ PKGBUILD2015-08-13 11:54:42 UTC (rev 243396)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.6.2
+pkgver=1.7.4
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 mgmt.h)
-sha256sums=('5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690'
+sha256sums=('7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0'
 'SKIP'
 '7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')  # The Tcpdump Group
@@ -24,7 +24,7 @@
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  CFLAGS="$CFLAGS -I${srcdir}/include" \
+  CFLAGS="$CFLAGS -I${srcdir}/include $(pkg-config libnl-genl-3.0 --cflags)" \
   ./configure --prefix=/usr \
 --enable-ipv6 \
 --enable-bluetooth \


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2015-08-12 Thread Allan McRae
Date: Wednesday, August 12, 2015 @ 12:05:45
  Author: allan
Revision: 243301

add validpgpkeys

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-12 10:05:18 UTC (rev 243300)
+++ PKGBUILD2015-08-12 10:05:45 UTC (rev 243301)
@@ -15,6 +15,7 @@
 sha256sums=('5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690'
 'SKIP'
 '7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')  # The Tcpdump Group
 
 prepare() {
   mkdir -p ${srcdir}/include/bluetooth


[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2014-09-03 Thread Thomas Bächler
Date: Wednesday, September 3, 2014 @ 22:03:54
  Author: thomas
Revision: 220930

upgpkg: libpcap 1.6.2-1

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-03 18:09:19 UTC (rev 220929)
+++ PKGBUILD2014-09-03 20:03:54 UTC (rev 220930)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.6.1
+pkgver=1.6.2
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 mgmt.h)
-sha256sums=('116cbb3ac9e96d5dd7b39638a2f894a67fa3dcf06d794e6dae2b9a942ad13476'
+sha256sums=('5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690'
 'SKIP'
 '7c85da5330ce7ecb6934795c02c652b9e344461302cf74804a4692c3e2e1e7e2')
 



[arch-commits] Commit in libpcap/trunk (PKGBUILD mgmt.h)

2014-07-30 Thread Thomas Bächler
Date: Wednesday, July 30, 2014 @ 20:01:22
  Author: thomas
Revision: 218394

upgpkg: libpcap 1.6.1-1

Added:
  libpcap/trunk/mgmt.h
Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   16 -
 mgmt.h   |  772 +
 2 files changed, 784 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-30 17:47:57 UTC (rev 218393)
+++ PKGBUILD2014-07-30 18:01:22 UTC (rev 218394)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.5.3
+pkgver=1.6.1
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -10,12 +10,20 @@
 license=('BSD')
 depends=('glibc' 'libnl' 'sh' 'libusbx')
 makedepends=('flex' 'bluez-libs')
-source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig})
-sha256sums=('9ae92159c1060f15e6a90f2c4ad227268b6aaa382c316fa49a31c496b9979e93'
-'SKIP')
+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 \

Added: mgmt.h
===
--- mgmt.h  (rev 0)
+++ mgmt.h  2014-07-30 18:01:22 UTC (rev 218394)
@@ -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;
+} __packed;
+
+#define MGMT_OP_READ_VERSION   0x0001
+struct mgmt_rp_read_version {
+   uint8_t version;
+   uint16_t revision;
+} __packed;
+
+#define MGMT_OP_READ_COMMANDS  0x0002
+struct mgmt_rp_read_commands {
+   uint16_t num_commands;
+   uint16_t num_events;
+   uint16_t opcodes[0];
+} __packed;
+
+#define MGMT_OP_READ_INDEX_LIST0x0003
+struct mgmt_rp_read_index_list {
+   uint16_t num_controllers;
+   uint16_t index[0];
+} __packed;
+
+/* Reserve one extra byte for names in management messages so that they
+ * are always guaranteed to be nul-terminated */
+#define MGMT_MAX_NAME_LENGTH   (248 + 1)
+#define MGMT_MAX_SHORT_NAME_LENGTH (10 + 1)
+
+#define MGMT_SETTING_POWERED   0x0001
+#define MGMT_SETTING_CONNECTABLE   0x0002
+#define MGMT_SETTING_FAST_CONNECTABLE  0x0004
+#define MGMT_SETTING_DISCOVERABLE  0x0008
+#define MGMT_SETTING_BONDABLE  0x0010
+#define MGMT_SETTING_LINK_SECURITY 0x0020
+#define MGMT_SETTING_SSP   0x0040
+#define MGMT_SETTING_BREDR 0

[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2014-01-27 Thread Andreas Radke
Date: Monday, January 27, 2014 @ 15:46:36
  Author: andyrtr
Revision: 204798

upgpkg: libpcap 1.5.3-1

upstream update 1.5.3 - should fix FS#38052; enable bluetooth support FS#37762

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-27 13:46:43 UTC (rev 204797)
+++ PKGBUILD2014-01-27 14:46:36 UTC (rev 204798)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.5.1
+pkgver=1.5.3
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -9,14 +9,17 @@
 url="http://www.tcpdump.org/";
 license=('BSD')
 depends=('glibc' 'libnl' 'sh' 'libusbx')
-makedepends=('flex')
+makedepends=('flex' 'bluez-libs')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig})
-sha256sums=('259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4'
+sha256sums=('9ae92159c1060f15e6a90f2c4ad227268b6aaa382c316fa49a31c496b9979e93'
 'SKIP')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-ipv6 --with-libnl
+  ./configure --prefix=/usr \
+--enable-ipv6 \
+--enable-bluetooth \
+--with-libnl
   make
 }
 



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2013-11-26 Thread Thomas Bächler
Date: Tuesday, November 26, 2013 @ 23:30:48
  Author: thomas
Revision: 200348

upgpkg: libpcap 1.5.1-1

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-26 22:12:15 UTC (rev 200347)
+++ PKGBUILD2013-11-26 22:30:48 UTC (rev 200348)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.4.0
+pkgver=1.5.1
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=('glibc' 'libnl' 'sh' 'libusbx')
 makedepends=('flex')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig})
-sha256sums=('7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406'
+sha256sums=('259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4'
 'SKIP')
 
 build() {
@@ -24,8 +24,6 @@
   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
@@ -32,6 +30,6 @@
   cd ${pkgdir}/usr/include/net
   ln -s ../pcap-bpf.h bpf.h
 
-  #install the license
+  # install the license
   install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE 
${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2013-05-04 Thread Thomas Bächler
Date: Saturday, May 4, 2013 @ 16:38:08
  Author: thomas
Revision: 184229

upgpkg: libpcap 1.4.0-1

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-04 14:17:41 UTC (rev 184228)
+++ PKGBUILD2013-05-04 14:38:08 UTC (rev 184229)
@@ -2,24 +2,20 @@
 # Maintainer: Thomas Bächler 
 
 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
 }



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2013-03-07 Thread Evangelos Foutras
Date: Thursday, March 7, 2013 @ 13:01:52
  Author: foutrelis
Revision: 179577

upgpkg: libpcap 1.3.0-3

libnl 3.2.21 rebuild.

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-07 12:00:13 UTC (rev 179576)
+++ PKGBUILD2013-03-07 12:01:52 UTC (rev 179577)
@@ -3,7 +3,7 @@
 
 pkgname=libpcap
 pkgver=1.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
 url="http://www.tcpdump.org/";



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2013-02-09 Thread Thomas Bächler
Date: Saturday, February 9, 2013 @ 20:39:37
  Author: thomas
Revision: 177834

upgpkg: libpcap 1.3.0-2 - rebuild for libnl 200->201 soname bump

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-02-09 19:39:29 UTC (rev 177833)
+++ PKGBUILD2013-02-09 19:39:37 UTC (rev 177834)
@@ -3,7 +3,7 @@
 
 pkgname=libpcap
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
 url="http://www.tcpdump.org/";



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2012-09-20 Thread Allan McRae
Date: Thursday, September 20, 2012 @ 04:00:35
  Author: allan
Revision: 166867

fix md5sum - signature file was updated upstrea

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-20 07:57:34 UTC (rev 166866)
+++ PKGBUILD2012-09-20 08:00:35 UTC (rev 166867)
@@ -13,7 +13,7 @@
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 libnl32.patch)
 sha256sums=('41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9'
-'8004a6655fb98acd89f3dea7ce95f182f4874298ce692f5b8f4a7dae65d7993f'
+'a078cf1c0f36151cc84a0da7c25ad81fef87afa6bece58c990c62886a7beef99'
 '7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6')
 
 build() {



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2012-06-25 Thread Thomas Bächler
Date: Monday, June 25, 2012 @ 14:35:06
  Author: thomas
Revision: 162348

upgpkg: libpcap 1.3.0-1: upstream update

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-25 18:25:08 UTC (rev 162347)
+++ PKGBUILD2012-06-25 18:35:06 UTC (rev 162348)
@@ -2,18 +2,18 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.2.1
-pkgrel=2
+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')
+depends=('glibc' 'libnl' 'sh' 'libusbx')
 makedepends=('flex')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
 libnl32.patch)
-sha256sums=('a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd'
-'dc82ca7e7f737885969af0f78ad0f0eef8206062087e0261ca2799ef26d569b4'
+sha256sums=('41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9'
+'8004a6655fb98acd89f3dea7ce95f182f4874298ce692f5b8f4a7dae65d7993f'
 '7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6')
 
 build() {



[arch-commits] Commit in libpcap/trunk (PKGBUILD libnl32.patch)

2012-02-09 Thread Jan Steffens
Date: Thursday, February 9, 2012 @ 13:31:43
  Author: heftig
Revision: 149716

libnl3

Added:
  libpcap/trunk/libnl32.patch
Modified:
  libpcap/trunk/PKGBUILD

---+
 PKGBUILD  |   13 -
 libnl32.patch |   19 +++
 2 files changed, 27 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-09 18:09:11 UTC (rev 149715)
+++ PKGBUILD2012-02-09 18:31:43 UTC (rev 149716)
@@ -3,21 +3,24 @@
 
 pkgname=libpcap
 pkgver=1.2.1
-pkgrel=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
-http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz.sig)
+source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}
+libnl32.patch)
 sha256sums=('a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd'
-'dc82ca7e7f737885969af0f78ad0f0eef8206062087e0261ca2799ef26d569b4')
+'dc82ca7e7f737885969af0f78ad0f0eef8206062087e0261ca2799ef26d569b4'
+'7d0cbd49e55405cb2b55852223cd4965526e518cfb4f547ab9cc9b95b8f9c9e6')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --enable-ipv6
+  patch -Np1 -i "${srcdir}/libnl32.patch"
+  autoreconf -f -i
+  ./configure --prefix=/usr --enable-ipv6 --with-libnl
   make
 }
 

Added: libnl32.patch
===
--- libnl32.patch   (rev 0)
+++ libnl32.patch   2012-02-09 18:31:43 UTC (rev 149716)
@@ -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])
+   ],



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2011-11-03 Thread Thomas Bächler
Date: Thursday, November 3, 2011 @ 14:57:28
  Author: thomas
Revision: 141969

upgpkg: libpcap 1.1.1-4: rebuild and sign

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-03 18:52:56 UTC (rev 141968)
+++ PKGBUILD2011-11-03 18:57:28 UTC (rev 141969)
@@ -3,23 +3,23 @@
 
 pkgname=libpcap
 pkgver=1.1.1
-pkgrel=3
+pkgrel=4
 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
-Add-support-for-libnl-2.x-adapted-from-a-newer-versi.patch
-Libnl-2.x-returns-its-own-error-codes-not-errnos-han.patch)
-sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85'
-'194aa268a3397be3ba406b7102dbdbc14fc16c6e4b535d0a0fab6b04d414563a'
-'f1f31c3e2b064f4c9d0e643e8ed1874a65ec17f770362f8ffa3b3f9ee9dc71bb')
+source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz)
+#Add-support-for-libnl-2.x-adapted-from-a-newer-versi.patch
+#Libnl-2.x-returns-its-own-error-codes-not-errnos-han.patch)
+sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85')
+#'194aa268a3397be3ba406b7102dbdbc14fc16c6e4b535d0a0fab6b04d414563a'
+
#'f1f31c3e2b064f4c9d0e643e8ed1874a65ec17f770362f8ffa3b3f9ee9dc71bb')
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 -i 
"${srcdir}"/Add-support-for-libnl-2.x-adapted-from-a-newer-versi.patch
-  patch -p1 -i 
"${srcdir}"/Libnl-2.x-returns-its-own-error-codes-not-errnos-han.patch
+  #patch -p1 -i 
"${srcdir}"/Add-support-for-libnl-2.x-adapted-from-a-newer-versi.patch
+  #patch -p1 -i 
"${srcdir}"/Libnl-2.x-returns-its-own-error-codes-not-errnos-han.patch
   ./configure --prefix=/usr --enable-ipv6
   make
 }



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2010-12-19 Thread andyrtr
Date: Sunday, December 19, 2010 @ 10:40:24
  Author: andyrtr
Revision: 103439

upgpkg: libpcap 1.1.1-2
fix #21643; PKGBUILD cleanup; add sh dependency; drop the static library

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-12-19 15:22:46 UTC (rev 103438)
+++ PKGBUILD2010-12-19 15:40:24 UTC (rev 103439)
@@ -3,12 +3,12 @@
 
 pkgname=libpcap
 pkgver=1.1.1
-pkgrel=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')
+depends=('glibc' 'libnl' 'sh')
 makedepends=('flex')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz)
 sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85')
@@ -16,13 +16,16 @@
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --enable-ipv6
-  make || return 1
-  make shared || return 1
+  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
   
-  install -d -m755 ${pkgdir}/usr/bin
-  make DESTDIR=${pkgdir} install install-shared || return 1
-  ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so.1
-  ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so
   # backwards compatibility, programs often look for net/bpf.h
   mkdir -p ${pkgdir}/usr/include/net
   cd ${pkgdir}/usr/include/net



[arch-commits] Commit in libpcap/trunk (PKGBUILD)

2010-04-11 Thread Thomas Bächler
Date: Sunday, April 11, 2010 @ 07:02:48
  Author: thomas
Revision: 77149

Upstream update to 1.1.1, add libnl to dependencies

Modified:
  libpcap/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-11 08:53:05 UTC (rev 77148)
+++ PKGBUILD2010-04-11 11:02:48 UTC (rev 77149)
@@ -2,16 +2,16 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=libpcap
-pkgver=1.0.0
+pkgver=1.1.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')
+depends=('glibc' 'libnl')
 makedepends=('flex')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz)
-md5sums=('9ad1358c5dec48456405eac197a46d3d')
+sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}