Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152941050
D44551.id136346.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D44551.id136346.diff
View Options
diff --git a/net/Makefile b/net/Makefile
--- a/net/Makefile
+++ b/net/Makefile
@@ -516,6 +516,7 @@
SUBDIR += net6
SUBDIR += netatalk3
SUBDIR += netcat
+ SUBDIR += netdiscover
SUBDIR += netembryo
SUBDIR += nethogs
SUBDIR += netmap
diff --git a/net/netdiscover/Makefile b/net/netdiscover/Makefile
new file mode 100644
--- /dev/null
+++ b/net/netdiscover/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= netdiscover
+DISTVERSION= 0.10
+CATEGORIES= net
+
+MAINTAINER= tiago.gasiba@gmail.com
+COMMENT= Network address discovering tool
+WWW= https://github.com/netdiscover-scanner/netdiscover
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= autoreconf
+
+USE_GITHUB= yes
+GH_ACCOUNT= netdiscover-scanner
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
+PLIST_FILES= sbin/netdiscover \
+ share/man/man8/netdiscover.8.gz
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/netdiscover
+
+.include <bsd.port.mk>
diff --git a/net/netdiscover/distinfo b/net/netdiscover/distinfo
new file mode 100644
--- /dev/null
+++ b/net/netdiscover/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1711306722
+SHA256 (netdiscover-scanner-netdiscover-0.10_GH0.tar.gz) = dc331da2052ef1b0e8de50b8550c63f1e10720101df8f075efe6adeb2dad4afd
+SIZE (netdiscover-scanner-netdiscover-0.10_GH0.tar.gz) = 403310
diff --git a/net/netdiscover/files/patch-src_data__al.h b/net/netdiscover/files/patch-src_data__al.h
new file mode 100644
--- /dev/null
+++ b/net/netdiscover/files/patch-src_data__al.h
@@ -0,0 +1,10 @@
+--- src/data_al.h.orig 2024-03-24 19:35:17 UTC
++++ src/data_al.h
+@@ -30,6 +30,7 @@
+
+ #include <pthread.h>
+ #include "screen.h"
++#include <pcap/pcap.h>
+
+ #ifdef __cplusplus
+ extern "C"
diff --git a/net/netdiscover/files/patch-src_misc.c b/net/netdiscover/files/patch-src_misc.c
new file mode 100644
--- /dev/null
+++ b/net/netdiscover/files/patch-src_misc.c
@@ -0,0 +1,10 @@
+--- src/misc.c.orig 2024-03-24 19:35:50 UTC
++++ src/misc.c
+@@ -27,6 +27,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <pcap/pcap.h>
+ #include <netinet/if_ether.h>
+
+ #include "ifaces.h"
diff --git a/net/netdiscover/pkg-descr b/net/netdiscover/pkg-descr
new file mode 100644
--- /dev/null
+++ b/net/netdiscover/pkg-descr
@@ -0,0 +1,3 @@
+Netdiscover is a network address discovering tool, developed mainly for those
+wireless networks without dhcp server, it also works on hub/switched networks.
+Its based on arp packets, it will send arp requests and sniff for replies.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 5:27 AM (15 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31748190
Default Alt Text
D44551.id136346.diff (2 KB)
Attached To
Mode
D44551: net/netdiscover: Add new port
Attached
Detach File
Event Timeline
Log In to Comment