summaryrefslogtreecommitdiff
path: root/package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-18 16:01:37 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-18 16:01:37 +0200
commit135f1140a1160be3ebcd21e6c6a37ffd8abcf6ba (patch)
tree5057b01de72a89cfce7a50012c6b2443042a935c /package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch
parentb7876e797d44ce33007bb93e523f0ce019324b6a (diff)
proftpd: bump version
Fixes several security-related issues. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch')
-rw-r--r--package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch b/package/proftpd/proftpd-1.3.3e-fix-kernel-header-capability-version.patch
new file mode 100644
index 000000000..4401c9aea
--- /dev/null
+++ b/package/proftpd/proftpd-1.3.3e-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 <linux/capability.h> does not match library"
+ # error "file "libcap.h" --> fix and recompile libcap"