summaryrefslogtreecommitdiff
path: root/net/p5-Net-ARP
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-29 15:48:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-29 15:48:15 +0000
commit11cdd95eeb310b44d53ac3aa868a75461bc52982 (patch)
tree96842052c28c7e5715e6de0882fee358b1a52c0a /net/p5-Net-ARP
parentUpdate to 0.017 (diff)
Update to 1.0.10
- Use TEST_DEPENDS for test dependency Changes: https://metacpan.org/changes/distribution/Net-ARP
Diffstat (limited to 'net/p5-Net-ARP')
-rw-r--r--net/p5-Net-ARP/Makefile5
-rw-r--r--net/p5-Net-ARP/distinfo5
-rw-r--r--net/p5-Net-ARP/files/patch-ARP.xs10
-rw-r--r--net/p5-Net-ARP/files/patch-arp.h11
4 files changed, 5 insertions, 26 deletions
diff --git a/net/p5-Net-ARP/Makefile b/net/p5-Net-ARP/Makefile
index c51601499f02..a33ed585eb15 100644
--- a/net/p5-Net-ARP/Makefile
+++ b/net/p5-Net-ARP/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Net-ARP
-PORTVERSION= 1.0.9
+PORTVERSION= 1.0.10
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -12,11 +12,10 @@ COMMENT= Perl extension for creating ARP packets
LICENSE= GPLv2
-BUILD_DEPENDS= p5-Net-Pcap>=0:net/p5-Net-Pcap
+TEST_DEPENDS= p5-Net-Pcap>=0:net/p5-Net-Pcap
USES= perl5 tar:tgz
USE_PERL5= configure
-WRKSRC= ${WRKDIR}/${PORTNAME}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/ARP/ARP.so
diff --git a/net/p5-Net-ARP/distinfo b/net/p5-Net-ARP/distinfo
index 2fe1b115ba18..f9c46e3d9b27 100644
--- a/net/p5-Net-ARP/distinfo
+++ b/net/p5-Net-ARP/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Net-ARP-1.0.9.tgz) = 53fc3883755d75bed1671f9844f131ad364bdfb18313ed1ea78dc67b6901b18e
-SIZE (Net-ARP-1.0.9.tgz) = 71377
+TIMESTAMP = 1588163961
+SHA256 (Net-ARP-1.0.10.tgz) = e9e89cf52e49e08ef44703bda901d399c11ad2f3818c371d915f403ada78fa48
+SIZE (Net-ARP-1.0.10.tgz) = 17749
diff --git a/net/p5-Net-ARP/files/patch-ARP.xs b/net/p5-Net-ARP/files/patch-ARP.xs
deleted file mode 100644
index adb788a1234a..000000000000
--- a/net/p5-Net-ARP/files/patch-ARP.xs
+++ /dev/null
@@ -1,10 +0,0 @@
---- ARP.xs.orig 2013-06-24 05:15:16 UTC
-+++ ARP.xs
-@@ -27,7 +27,6 @@ See the GNU General Public License for m
- #include <string.h>
- #include <errno.h>
- #include <net/ethernet.h>
--#include <netinet/ether.h>
- #include <net/if.h>
- #include <arpa/inet.h>
- #include "arp.h"
diff --git a/net/p5-Net-ARP/files/patch-arp.h b/net/p5-Net-ARP/files/patch-arp.h
deleted file mode 100644
index 817b9f83d960..000000000000
--- a/net/p5-Net-ARP/files/patch-arp.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- arp.h.orig 2013-06-24 05:14:10 UTC
-+++ arp.h
-@@ -58,8 +58,6 @@ struct my_arphdr {
- u_char dest_add[ETH_ALEN]; // dest mac
- u_char dest_ip[IP_ALEN]; // dest ip
- };
--
--extern struct ether_addr *ether_aton (__const char *__asc) __THROW;
- extern int get_mac_linux(const char *dev, char *mac);
- extern int get_mac_bsd(const char *dev, char *mac);
- extern int arp_lookup_linux(const char *dev, const char *ip, char *mac);