1) Only the section 8 manpages are installed by the libcap2-bin package ...
$ cat libcap2-bin.manpages
debian/tmp/usr/share/man/man8/*
2) Both getcap.8 and setcap.8 both refer to section 3 manpages ....
$ grep -E "^[\.][BI]R " doc/*8 | grep -E "\([0-9]\)"
doc/getcap.8:.BR cap_get_file (3),
doc/getcap.8:.BR cap_to_text (3),
doc/getcap.8:.BR setcap (8)
doc/setcap.8:.IR cap_from_text (3).
doc/setcap.8:.BR cap_from_text (3),
doc/setcap.8:.BR cap_set_file (3),
doc/setcap.8:.BR getcap (8)
3) And, while Mr. Li notes above, the sections 3 manpage are installed
on SOME systems, this is due to there being installed only by the
libcap2-dev package.
$ cat libcap-dev.manpages
debian/tmp/usr/share/man/man3/*
4) So, it seems the fix is to modify debian/libcap2-bin.manpages ...
diff --git a/libcap2-bin.manpages b/libcap2-bin.manpages
--- a/libcap2-bin.manpages
+++ b/libcap2-bin.manpages
@@ -1,2 +1,6 @@
debian/tmp/usr/share/man/man8/*
+debian/tmp/usr/share/man/man3/cap_get_file.3
+debian/tmp/usr/share/man/man3/cap_set_file.3
+debian/tmp/usr/share/man/man3/cap_to_text.3
+debian/tmp/usr/share/man/man3/cap_from_text.3
debian/capsh.8
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org