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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Oct 14 11:33:37 UTC 2019


    Date: Monday, October 14, 2019 @ 11:33:36
  Author: mtorromeo
Revision: 515576

fixed incompatibility with libpcap 1.9.1

Modified:
  arp-scan/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-14 11:19:22 UTC (rev 515575)
+++ PKGBUILD	2019-10-14 11:33:36 UTC (rev 515576)
@@ -3,14 +3,22 @@
 
 pkgname=arp-scan
 pkgver=1.9.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool that uses ARP to discover and fingerprint IP hosts on the local network"
 arch=('x86_64')
 url="https://github.com/royhills/arp-scan"
 license=('GPL')
 depends=('libpcap' 'perl-libwww')
-source=(https://github.com/royhills/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+source=(https://github.com/royhills/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz
+        libpcap-timeout.patch::https://github.com/royhills/arp-scan/commit/8513a181c10be83afdc46f49e9abe97212189d4a.patch)
+sha256sums=('aa9498af84158a315b7e0ea6c2cddfa746660ca3987cbe7e32c0c90f5382d9d2'
+            '0ad040df57810bca6f8c016e7b83fdfe05f5aae683574ad7d73929746701c911')
 
+prepare() {
+	cd "$srcdir"/$pkgname-$pkgver
+	patch -p1 -i "$srcdir"/libpcap-timeout.patch
+}
+
 build() {
 	cd "$srcdir"/$pkgname-$pkgver
 	autoreconf --install
@@ -22,5 +30,3 @@
 	cd "$srcdir"/$pkgname-$pkgver
 	make DESTDIR="${pkgdir}" install
 }
-
-sha256sums=('aa9498af84158a315b7e0ea6c2cddfa746660ca3987cbe7e32c0c90f5382d9d2')



More information about the arch-commits mailing list