FreeBSD Bugzilla – Attachment 249455 Details for
Bug 277932
[NEW PORT] net/netdiscover add netdiscover to ports tree
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
0001-Add-netdiscover-to-net-ports.patch (text/plain), 3.42 KB, created by
gatekeeper
on 2024-03-24 20:39:46 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
gatekeeper
Created:
2024-03-24 20:39:46 UTC
Size:
3.42 KB
patch
obsolete
>From 3a4a370f15ca03523164fa82f2f21c7d0a616956 Mon Sep 17 00:00:00 2001 >From: Tiago Gasiba <tiago.gasiba@gmail.com> >Date: Sun, 24 Mar 2024 21:23:01 +0100 >Subject: [PATCH] Add netdiscover to net ports > >--- > net/netdiscover/Makefile | 23 ++++++++++++++++++++++ > net/netdiscover/distinfo | 3 +++ > net/netdiscover/files/patch-src_data__al.h | 10 ++++++++++ > net/netdiscover/files/patch-src_misc.c | 10 ++++++++++ > net/netdiscover/pkg-descr | 3 +++ > net/netdiscover/pkg-plist | 2 ++ > 6 files changed, 51 insertions(+) > create mode 100644 net/netdiscover/Makefile > create mode 100644 net/netdiscover/distinfo > create mode 100644 net/netdiscover/files/patch-src_data__al.h > create mode 100644 net/netdiscover/files/patch-src_misc.c > create mode 100644 net/netdiscover/pkg-descr > create mode 100644 net/netdiscover/pkg-plist > >diff --git a/net/netdiscover/Makefile b/net/netdiscover/Makefile >new file mode 100644 >index 000000000000..0d42ef57bea5 >--- /dev/null >+++ b/net/netdiscover/Makefile >@@ -0,0 +1,23 @@ >+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 >+ >+post-patch: >+ cd ${WRKSRC} && ${SH} autogen.sh && ${SH} configure >+ >+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 >index 000000000000..c2c5739f4a64 >--- /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 >index 000000000000..86748990513b >--- /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 >index 000000000000..f37f6d51c2a4 >--- /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 >index 000000000000..432be1d10313 >--- /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. >diff --git a/net/netdiscover/pkg-plist b/net/netdiscover/pkg-plist >new file mode 100644 >index 000000000000..292997b8b2b2 >--- /dev/null >+++ b/net/netdiscover/pkg-plist >@@ -0,0 +1,2 @@ >+sbin/netdiscover >+share/man/man8/netdiscover.8.gz >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277932
: 249455