Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2006 04:46:17 +0200 (CEST)
From:      Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dyeske@yahoo.com
Subject:   ports/103538: [PATCH] net-mgmt/arpscan: update to 0.3
Message-ID:  <20060924024617.58819112@imhotep.yuckfou.org>
Resent-Message-ID: <200609240250.k8O2oDHu094278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103538
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/arpscan: update to 0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 24 02:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nils Vogels
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
IS-Root
>Environment:
System: FreeBSD imhotep.yuckfou.org 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Fri Aug  5 19:36:46 CEST
>Description:
- Update to 0.3

Port maintainer (dyeske@yahoo.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- arpscan-0.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/arpscan/Makefile /disk/3/home/nivo/ports/arpscan/Makefile
--- /usr/ports/net-mgmt/arpscan/Makefile	Fri Sep 22 17:06:23 2006
+++ /disk/3/home/nivo/ports/arpscan/Makefile	Sun Sep 24 04:45:11 2006
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	arpscan
-PORTVERSION=	0.2
-PORTREVISION=	1
+PORTVERSION=	0.3
 CATEGORIES=	net-mgmt
-MASTER_SITES=	http://ish.cx/~jason/arpscan/
+MASTER_SITES=	http://ish.cx/~jason/arpscan/ \
+		http://unx.ca/~jason/arpscan/
 
 MAINTAINER=	dyeske@yahoo.com
 COMMENT=	Simple arp scanner
@@ -17,14 +17,15 @@
 LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet
 
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
+		 --with-libdnet=${PREFIX}
 
 PLIST_FILES=	bin/arpscan
 
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} <= 500000
-IGNORE=		"unknown BIOCSETIF error"
+IGNORE=		unknown BIOCSETIF error
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/arpscan/distinfo /disk/3/home/nivo/ports/arpscan/distinfo
--- /usr/ports/net-mgmt/arpscan/distinfo	Wed Feb  1 02:08:01 2006
+++ /disk/3/home/nivo/ports/arpscan/distinfo	Sun Sep 24 04:28:45 2006
@@ -1,3 +1,3 @@
-MD5 (arpscan-0.2.tar.gz) = a832c8946dc9e2d66c8fa02a7a8b8059
-SHA256 (arpscan-0.2.tar.gz) = 7f6480a8558e0d0bc6f97f3f55a3cf25c3ff5e39a29e2954957f453da42dfab2
-SIZE (arpscan-0.2.tar.gz) = 35462
+MD5 (arpscan-0.3.tar.gz) = ebf3aab6c1abf67961592788230b9382
+SHA256 (arpscan-0.3.tar.gz) = 27a2bf1e3b4bf28b976b7e7da26d01ce99d9dc227fd174989dbfa6f164a573f4
+SIZE (arpscan-0.3.tar.gz) = 58052
diff -ruN --exclude=CVS /usr/ports/net-mgmt/arpscan/files/patch-arpscan.c /disk/3/home/nivo/ports/arpscan/files/patch-arpscan.c
--- /usr/ports/net-mgmt/arpscan/files/patch-arpscan.c	Fri Sep 22 17:06:23 2006
+++ /disk/3/home/nivo/ports/arpscan/files/patch-arpscan.c	Sun Sep 24 04:31:50 2006
@@ -1,6 +1,6 @@
---- arpscan.c.orig	Mon Aug 18 22:54:25 2003
-+++ arpscan.c	Fri Sep 22 16:55:48 2006
-@@ -8,7 +8,9 @@
+--- arpscan.c.orig	Wed Aug  2 08:31:32 2006
++++ arpscan.c	Sun Sep 24 04:31:06 2006
+@@ -9,7 +9,9 @@
  #include <sys/socket.h>
  #include <netinet/in.h>
  #include <arpa/inet.h>
@@ -9,10 +9,10 @@
 +#include <stdlib.h>
  #include <string.h>
  #include <unistd.h>
- 
-@@ -17,6 +19,13 @@
- 
- #define PCAP_TIMEO 20
+ #include <fcntl.h>
+@@ -22,6 +24,13 @@
+ #include <dnet.h>
+ #endif /* DUMBNET */
  
 +#ifdef __FreeBSD__
 +# include <sys/param.h>
@@ -21,10 +21,10 @@
 +# endif
 +#endif
 +
- struct	ether_arp {
- 	struct	 arp_hdr ea_hdr;
- 	u_int8_t arp_sha[ETH_ADDR_LEN];
-@@ -36,7 +45,7 @@
+ /* A concatenation of dnet's arp_hdr and arp_ethip. */
+ struct ether_arp {
+ 	struct arp_hdr arp_hdr;
+@@ -45,7 +54,7 @@
  	fprintf(stderr, "\teg)\n");
  	fprintf(stderr, "\t    %s 172.16.1.11\n", __progname);
  	fprintf(stderr, "\t    %s 192.168.1.100-192.168.1.200\n", __progname);
--- arpscan-0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060924024617.58819112>