From 43ba7c1af8f89be7092516cada8e95e147f79e72 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 9 Dec 2011 09:39:19 -0300 Subject: 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 Signed-off-by: Peter Korsgaard --- ...proftpd-1.3.3g-fix-kernel-header-capability-version.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch (limited to 'package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch') diff --git a/package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch b/package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch new file mode 100644 index 000000000..4401c9aea --- /dev/null +++ b/package/proftpd/proftpd-1.3.3g-fix-kernel-header-capability-version.patch @@ -0,0 +1,12 @@ +--- 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 does not match library" + # error "file "libcap.h" --> fix and recompile libcap" -- cgit v1.2.3