Package: libcap2 / 1:2.24-8

Metadata

Package Version Patches format
libcap2 1:2.24-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 ldlibs.patch | (download)

pam_cap/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 compile pam_cap with -lpam

A similar fix was in Debian but appears to have been accidentally
dropped. Drop this one if or when debian gets it back so we can
directly sync (Closes: #591410).

0002 setcap error message.patch | (download)

progs/setcap.c | 22 21 + 1 - 0 !
1 file changed, 21 insertions(+), 1 deletion(-)

 refine setcap output on errors (closes: #633075)

The error message of setcap is a little confused. From the error message it is
hard to detect what is wrong. I removed the last 'usage' function call,
because at that code point the 'usage' can not provide any useful information.
Instead, I added a function 'mystrerror' which shall provide more information.

0003 include sys xattr.patch | (download)

libcap/include/sys/capability.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 include sys/xattr.h in sys/capability.h

We include sys/xattr.h before linux/xattr.h to guard against redefinition
of some defines when userspace applications include sys/capability.h and
sys/xattr.h and get linux/xattr.h implicitly included out of order.

0004 Don t hardcode build flags.patch | (download)

Make.Rules | 6 3 + 3 - 0 !
libcap/Makefile | 8 4 + 4 - 0 !
pam_cap/Makefile | 4 2 + 2 - 0 !
progs/Makefile | 4 2 + 2 - 0 !
4 files changed, 11 insertions(+), 11 deletions(-)

 don't hardcode build flags

Remove upstream's hardcoded build flags in Makefiles so that the build flags
passed on by dpkg-buildflags are honored. This enables hardening during build.

0005 Syntax fixes for man pages.patch | (download)

doc/cap_clear.3 | 2 1 + 1 - 0 !
doc/cap_copy_ext.3 | 6 3 + 3 - 0 !
doc/cap_from_text.3 | 18 9 + 9 - 0 !
doc/cap_get_file.3 | 2 1 + 1 - 0 !
doc/cap_get_proc.3 | 14 7 + 7 - 0 !
doc/cap_init.3 | 2 1 + 1 - 0 !
doc/capsh.1 | 42 21 + 21 - 0 !
doc/getcap.8 | 8 4 + 4 - 0 !
doc/libcap.3 | 2 1 + 1 - 0 !
doc/setcap.8 | 12 6 + 6 - 0 !
10 files changed, 54 insertions(+), 54 deletions(-)

 syntax fixes for man pages

Hyphens used as minus signs must be escaped.