Index: head/net-mgmt/arpscan/Makefile =================================================================== --- head/net-mgmt/arpscan/Makefile (revision 174712) +++ head/net-mgmt/arpscan/Makefile (revision 174713) @@ -1,30 +1,31 @@ # New ports collection makefile for: arpscan # Date created: 22 Mar 2004 # Whom: David Yeske # # $FreeBSD$ # 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 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=${LOCALBASE} PLIST_FILES= bin/arpscan .include .if ${OSVERSION} <= 500000 -IGNORE= "unknown BIOCSETIF error" +IGNORE= unknown BIOCSETIF error .endif .include Property changes on: head/net-mgmt/arpscan/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/net-mgmt/arpscan/distinfo =================================================================== --- head/net-mgmt/arpscan/distinfo (revision 174712) +++ head/net-mgmt/arpscan/distinfo (revision 174713) @@ -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 Property changes on: head/net-mgmt/arpscan/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/net-mgmt/arpscan/files/patch-arpscan.c =================================================================== --- head/net-mgmt/arpscan/files/patch-arpscan.c (revision 174712) +++ head/net-mgmt/arpscan/files/patch-arpscan.c (revision 174713) @@ -1,35 +1,35 @@ ---- 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 #include #include +#include #include +#include #include #include + #include +@@ -22,6 +24,13 @@ + #include + #endif /* DUMBNET */ -@@ -17,6 +19,13 @@ - - #define PCAP_TIMEO 20 - +#ifdef __FreeBSD__ +# include +# if __FreeBSD_version > 500000 +# define NTOHL(x) (x) = ntohl((u_int32_t)(x)) +# 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); - fprintf(stderr, "\t %s 172.16.1.41/29\n"); + fprintf(stderr, "\t %s 172.16.1.41/29\n", __progname); fprintf(stderr, "\n"); exit(1); } Property changes on: head/net-mgmt/arpscan/files/patch-arpscan.c ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property