View | Details | Raw Unified | Return to bug 277932
Collapse All | Expand All

(-)b/net/netdiscover/Makefile (+23 lines)
Added Link Here
1
PORTNAME=    netdiscover
2
DISTVERSION= 0.10
3
CATEGORIES=  net
4
5
MAINTAINER=tiago.gasiba@gmail.com
6
COMMENT=Network address discovering tool
7
WWW=https://github.com/netdiscover-scanner/netdiscover
8
9
LICENSE=GPLv3
10
LICENSE_FILE=${WRKSRC}/COPYING
11
12
USES= autoreconf
13
14
USE_GITHUB=  yes
15
GH_ACCOUNT=  netdiscover-scanner
16
17
post-patch:
18
	cd ${WRKSRC} && ${SH} autogen.sh && ${SH} configure
19
20
post-install:
21
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/netdiscover
22
23
.include <bsd.port.mk>
(-)b/net/netdiscover/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1711306722
2
SHA256 (netdiscover-scanner-netdiscover-0.10_GH0.tar.gz) = dc331da2052ef1b0e8de50b8550c63f1e10720101df8f075efe6adeb2dad4afd
3
SIZE (netdiscover-scanner-netdiscover-0.10_GH0.tar.gz) = 403310
(-)b/net/netdiscover/files/patch-src_data__al.h (+10 lines)
Added Link Here
1
--- src/data_al.h.orig	2024-03-24 19:35:17 UTC
2
+++ src/data_al.h
3
@@ -30,6 +30,7 @@
4
 
5
 #include <pthread.h>
6
 #include "screen.h"
7
+#include <pcap/pcap.h>
8
 
9
 #ifdef __cplusplus
10
 extern "C"
(-)b/net/netdiscover/files/patch-src_misc.c (+10 lines)
Added Link Here
1
--- src/misc.c.orig	2024-03-24 19:35:50 UTC
2
+++ src/misc.c
3
@@ -27,6 +27,7 @@
4
 #include <stdlib.h>
5
 #include <string.h>
6
 #include <ctype.h>
7
+#include <pcap/pcap.h>
8
 #include <netinet/if_ether.h>
9
 
10
 #include "ifaces.h"
(-)b/net/netdiscover/pkg-descr (+3 lines)
Added Link Here
1
Netdiscover is a network address discovering tool, developed mainly for those
2
wireless networks without dhcp server, it also works on hub/switched networks.
3
Its based on arp packets, it will send arp requests and sniff for replies.
(-)b/net/netdiscover/pkg-plist (-1 / +2 lines)
Added Link Here
0
- 
1
sbin/netdiscover
2
share/man/man8/netdiscover.8.gz

Return to bug 277932