1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

Update to 1.0.10

- Use TEST_DEPENDS for test dependency

Changes:	https://metacpan.org/changes/distribution/Net-ARP
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-04-29 15:48:15 +00:00
parent 1580b1d3f9
commit 11cdd95eeb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533351
4 changed files with 5 additions and 26 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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);