Package Details: netdiscover 0.21-0

Git Clone URL: https://aur.archlinux.org/netdiscover.git (read-only, click to copy)
Package Base: netdiscover
Description: A network address discovering tool
Upstream URL: https://github.com/netdiscover-scanner/netdiscover/
Keywords: network
Licenses: GPL-3.0-only
Provides: netdiscover
Submitter: danitool
Maintainer: wsduvall
Last Packager: wsduvall
Votes: 24
Popularity: 0.003858
First Submitted: 2015-09-15 10:29 (UTC)
Last Updated: 2026-02-28 01:18 (UTC)

Latest Comments

1 2 3 Next › Last »

arslaanpathan commented on 2026-02-28 01:23 (UTC)

@wsduvall yup, works great! thanks for replying so quickly!

wsduvall commented on 2026-02-28 01:19 (UTC)

@arslaanpathan Done! Let me know if it works for you.

arslaanpathan commented on 2026-02-28 01:15 (UTC)

Hey! Just tested this on ARM64/AArch64 (Asahi Arch Linux ARM, Apple M2) and it works perfectly with no issues, you just need to add 'aarch64' to the archs list in the PKGBUILD. I'd recommend you add this change so that other users don't have to tweak the PKGBUILD manually.

Suggested changes:
arch=('i686' 'x86_64')
-> arch=('i686' 'x86_64' 'aarch64')

dreieck commented on 2025-08-10 16:08 (UTC)

Yes, it builds well now.

Regards and thanks for maintanance!

wsduvall commented on 2025-08-10 13:01 (UTC)

@dreieck, give it a shot now, I also fixed some useless cat's.

dreieck commented on 2025-08-10 12:02 (UTC) (edited on 2025-08-10 12:02 (UTC) by dreieck)

Ahoj,

thanks!

Now another issue turned out:

==> Starting prepare()...
cat: ../../oui-0.20.txt: No such file or directory
==> ERROR: A failure occurred in prepare().

You should reference it as "${srcdir}/oui-${pkgver}.txt".
diff to the PKGBUILD:

--- PKGBUILD.orig   2025-08-10 14:00:50.653297874 +0200
+++ PKGBUILD    2025-08-10 14:01:50.483296149 +0200
@@ -5,3 +5,3 @@
 pkgver=0.20
-pkgrel=0
+pkgrel=1
 pkgdesc="A network address discovering tool"
@@ -30,3 +30,3 @@

-  cat "../../oui-${pkgver}.txt" | grep "base 16" | tr '\t' ' ' | tr -s " " | sed 's/(base 16) //' |
+  cat "${srcdir}/oui-${pkgver}.txt" | grep "base 16" | tr '\t' ' ' | tr -s " " | sed 's/(base 16) //' |
     grep '[0-9A-F]' | sort | sed 's/ /", "/' | sed 's/^/    { "/' |

Actually, build now succeeds for me (with that fix).

Regards!

wsduvall commented on 2025-08-09 20:51 (UTC) (edited on 2025-08-09 21:41 (UTC) by wsduvall)

@dreieck, when I updated it I pushed it to my old private repo instead of the AUR repo, sorry about that. That said, I think the oui.txt presents a fairly large reproducibility problem. I'm open to suggestions, maybe I'll look at what the NixOS flake does. If the license allows I could just include the generated oui.h file in the AUR repository.

dreieck commented on 2025-08-09 20:04 (UTC)

Build now fails for me with

In file included from misc.c:35:
oui.h:14:17: error: missing terminating " character
   14 |     { "000000", "XEROX CORPORATION
      |                 ^~~~~~~~~~~~~~~~~~
oui.h:15:1: error: missing terminating " character
   15 | " },
      | ^~~~
oui.h:16:17: error: missing terminating " character
   16 |     { "000001", "XEROX CORPORATION
      |                 ^~~~~~~~~~~~~~~~~~
[...]
[ -- maaaaaaaaaany similar errors -- ]
[...]
oui.h:75722:17: error: missing terminating " character
75722 |     { "FCFEC2", "Invensys Controls UK Limited
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
oui.h:75723:1: error: missing terminating " character
75723 | " },
      | ^~~~
oui.h:75724:17: error: missing terminating " character
75724 |     { "FCFFAA", "IEEE Registration Authority
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
oui.h:75725:1: error: missing terminating " character
75725 | " },
      | ^~~~
oui.h:75727:2: error: expected ‘}’ before ‘;’ token
75727 | };
      |  ^
oui.h:75722:5: note: to match this ‘{’
75722 |     { "FCFEC2", "Invensys Controls UK Limited
      |     ^
make[2]: *** [Makefile:465: netdiscover-misc.o] Error 1
make[2]: Leaving directory '/var/cache/makepkg/build/netdiscover/src/netdiscover-0.20/src'
make[1]: *** [Makefile:447: all-recursive] Error 1
make[1]: Leaving directory '/var/cache/makepkg/build/netdiscover/src/netdiscover-0.20'
make: *** [Makefile:345: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Regards!

dreieck commented on 2025-08-09 20:02 (UTC)

But still downloads oui.txt in build() and not before ...

wsduvall commented on 2025-07-19 22:32 (UTC)

dreieck, thanks, I pushed a fix. I didn't bump the pkgrel version since the created package is identical.