[arch-commits] Commit in arp-scan/repos/community-x86_64 (4 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Oct 25 17:41:41 UTC 2019


    Date: Friday, October 25, 2019 @ 17:41:40
  Author: mtorromeo
Revision: 519564

archrelease: copy trunk to community-x86_64

Added:
  arp-scan/repos/community-x86_64/PKGBUILD
    (from rev 519563, arp-scan/trunk/PKGBUILD)
  arp-scan/repos/community-x86_64/socket-error.patch
    (from rev 519563, arp-scan/trunk/socket-error.patch)
Deleted:
  arp-scan/repos/community-x86_64/PKGBUILD
  arp-scan/repos/community-x86_64/socket-error.patch

--------------------+
 PKGBUILD           |   57 ++++++++++++++++++++++-----------------------------
 socket-error.patch |   30 +++++++++++++-------------
 2 files changed, 40 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-25 17:41:21 UTC (rev 519563)
+++ PKGBUILD	2019-10-25 17:41:40 UTC (rev 519564)
@@ -1,32 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: xav <xav at ethertricks dot net>
-
-pkgname=arp-scan
-pkgver=1.9.5
-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
-        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
-	./configure --prefix=/usr --mandir=/usr/share/man
-	make
-}
-
-package() {
-	cd "$srcdir"/$pkgname-$pkgver
-	make DESTDIR="${pkgdir}" install
-}

Copied: arp-scan/repos/community-x86_64/PKGBUILD (from rev 519563, arp-scan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-25 17:41:40 UTC (rev 519564)
@@ -0,0 +1,25 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: xav <xav at ethertricks dot net>
+
+pkgname=arp-scan
+pkgver=1.9.6
+pkgrel=1
+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)
+sha256sums=('971b45c3369816467994797fbcd0076eb8f0ffb9c42764ea6dba25ab3fd490da')
+
+build() {
+	cd "$srcdir"/$pkgname-$pkgver
+	autoreconf --install
+	./configure --prefix=/usr --mandir=/usr/share/man
+	make
+}
+
+package() {
+	cd "$srcdir"/$pkgname-$pkgver
+	make DESTDIR="${pkgdir}" install
+}

Deleted: socket-error.patch
===================================================================
--- socket-error.patch	2019-10-25 17:41:21 UTC (rev 519563)
+++ socket-error.patch	2019-10-25 17:41:40 UTC (rev 519564)
@@ -1,15 +0,0 @@
-diff --git a/link-packet-socket.c b/link-packet-socket.c
-index d25463b..de1eefc 100644
---- a/link-packet-socket.c
-+++ b/link-packet-socket.c
-@@ -68,8 +68,8 @@ link_open(const char *device) {
-    handle = Malloc(sizeof(*handle));
-    memset(handle, '\0', sizeof(*handle));
-    if ((handle->fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) {
--      free(handle);
--      return NULL;
-+      warn_msg("ERROR: Cannot open raw packet socket");
-+      err_sys("socket");
-    }
-    strlcpy(handle->ifr.ifr_name, device, sizeof(handle->ifr.ifr_name));
-    if ((ioctl(handle->fd, SIOCGIFINDEX, &(handle->ifr))) != 0)

Copied: arp-scan/repos/community-x86_64/socket-error.patch (from rev 519563, arp-scan/trunk/socket-error.patch)
===================================================================
--- socket-error.patch	                        (rev 0)
+++ socket-error.patch	2019-10-25 17:41:40 UTC (rev 519564)
@@ -0,0 +1,15 @@
+diff --git a/link-packet-socket.c b/link-packet-socket.c
+index d25463b..de1eefc 100644
+--- a/link-packet-socket.c
++++ b/link-packet-socket.c
+@@ -68,8 +68,8 @@ link_open(const char *device) {
+    handle = Malloc(sizeof(*handle));
+    memset(handle, '\0', sizeof(*handle));
+    if ((handle->fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) {
+-      free(handle);
+-      return NULL;
++      warn_msg("ERROR: Cannot open raw packet socket");
++      err_sys("socket");
+    }
+    strlcpy(handle->ifr.ifr_name, device, sizeof(handle->ifr.ifr_name));
+    if ((ioctl(handle->fd, SIOCGIFINDEX, &(handle->ifr))) != 0)



More information about the arch-commits mailing list