kumquat-buildroot/package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch
Gustavo Zacarias 43ba7c1af8 proftpd: security bump to version 1.3.3g
Security bump version to 1.3.3g, fix for CVE-2011-4130

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-10 20:38:07 +01:00

13 lines
516 B
Diff

--- a/lib/libcap/libcap.h 2008-08-22 19:49:48.000000000 -0700
+++ b/lib/libcap/libcap.h 2010-10-06 15:31:11.000000000 -0700
@@ -65,7 +65,8 @@ struct _cap_struct {
*/
#if !defined(_LINUX_CAPABILITY_VERSION_1) || \
- (_LINUX_CAPABILITY_VERSION_1 != 0x19980330)
+ ((_LINUX_CAPABILITY_VERSION_1 != 0x19980330) && \
+ (_LINUX_CAPABILITY_VERSION_1 != 0x20071026))
# error "Kernel <linux/capability.h> does not match library"
# error "file "libcap.h" --> fix and recompile libcap"