Skip to contentSkip to conversation

Can someone please update libnetfilter_queue online documentation

PATCH Applied Duncan Roe 3 participants 6 messages Sep 6, 2020 – Sep 8, 2020 netfilter

lore
Share & tools
lore
author
#2 lore raw
Quoted 8 lines · Pablo Neira Ayuso
Quoted 5 lines · Duncan Roe

Hi everyone,

The online doc for libnetfilter_queue at
https://netfilter.org/projects/libnetfilter_queue/doxygen/html/ is still at release 1.0.3.

Refreshed.

Thanks, Pablo.

It looks like you don't have the 'graphviz' package installed, so there are lines like

Quoted 1 line

Collaboration diagram for User-space network packet buffer:

with no diagram.

(e.g. in
https://netfilter.org/projects/libnetfilter_queue/doxygen/html/group__pktbuff.html).

'graphviz' supplies the 'dot' program which you may have seen doxygen complaining about. I didn't see the problem originally because I have graphviz but it didn't come with Slackware so the lack of it may be common.

The fix would be to have config.ac create HAVE_DOT and use that in doxygen.cfg.in to put YES or NO on the HAVE_DOT and maybe some other lines.

I may tackle that sometime as I gain more confidence with aoutotools.

Cheers ... Duncan.

#3 lore raw

PATCH 1/1 build: check whether dot is available when configuring doxygen.

---
 configure.ac   | 4 ++++
 doxygen.cfg.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
configure.ac +4 -0
index d8d1d387c773..32e499071b26 100644
@@ -41,6 +41,10 @@ AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen],
 	    [], [with_doxygen=no])
 AS_IF([test "x$with_doxygen" = xyes], [
 	AC_CHECK_PROGS([DOXYGEN], [doxygen])
+	AC_CHECK_PROGS([DOT], [dot], [""])
+	AS_IF([test "x$DOT" != "x"],
+	      [AC_SUBST(HAVE_DOT, YES)],
+	      [AC_SUBST(HAVE_DOT, NO)])
 ])
 
 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
doxygen.cfg.in +1 -1
index 3f13f97ad8ba..c54f534ada3f 100644
@@ -161,7 +161,7 @@ PERL_PATH              = /usr/bin/perl
 CLASS_DIAGRAMS         = YES
 MSCGEN_PATH            =
 HIDE_UNDOC_RELATIONS   = YES
-HAVE_DOT               = YES
+HAVE_DOT               = @HAVE_DOT@
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
 GROUP_GRAPHS           = YES
Signature · 1 line
2.28.0
author Tested-by on v1 1/1
#4 lore raw

Re: [PATCH libnetfilter_queue] build: check whether dot is available when configuring doxygen.

Quoted 35 lines · Jeremy Sowden
---
 configure.ac   | 4 ++++
 doxygen.cfg.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
configure.ac +4 -0
index d8d1d387c773..32e499071b26 100644
@@ -41,6 +41,10 @@ AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen],
 	    [], [with_doxygen=no])
 AS_IF([test "x$with_doxygen" = xyes], [
 	AC_CHECK_PROGS([DOXYGEN], [doxygen])
+	AC_CHECK_PROGS([DOT], [dot], [""])
+	AS_IF([test "x$DOT" != "x"],
+	      [AC_SUBST(HAVE_DOT, YES)],
+	      [AC_SUBST(HAVE_DOT, NO)])
 ])
 
 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
doxygen.cfg.in +1 -2
index 3f13f97ad8ba..c54f534ada3f 100644
@@ -161,7 +161,7 @@ PERL_PATH              = /usr/bin/perl
 CLASS_DIAGRAMS         = YES
 MSCGEN_PATH            =
 HIDE_UNDOC_RELATIONS   = YES
-HAVE_DOT               = YES
+HAVE_DOT               = @HAVE_DOT@
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
 GROUP_GRAPHS           = YES
--
Quoted 2 lines

2.28.0