From 6eb3e051f982c69fc373c75042eafde3ce599bca Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 18 May 2012 12:25:24 +0100 Subject: Fix a bashism in configure's seccomp_filter check. --- debian/patches/configure-bashism.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 debian/patches/configure-bashism.patch (limited to 'debian/patches/configure-bashism.patch') diff --git a/debian/patches/configure-bashism.patch b/debian/patches/configure-bashism.patch new file mode 100644 index 000000000..09f878376 --- /dev/null +++ b/debian/patches/configure-bashism.patch @@ -0,0 +1,31 @@ +Description: Fix a bashism in configure +Author: Colin Watson +Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2010 +Last-Update: 2012-05-18 + +Index: b/configure +=================================================================== +--- a/configure ++++ b/configure +@@ -11918,7 +11918,7 @@ + + elif test "x$sandbox_arg" = "xseccomp_filter" || \ + ( test -z "$sandbox_arg" && \ +- test "x$have_seccomp_filter" == "x1" && \ ++ test "x$have_seccomp_filter" = "x1" && \ + test "x$ac_cv_header_linux_audit_h" = "xyes" && \ + test "x$have_seccomp_audit_arch" = "x1" && \ + test "x$have_linux_no_new_privs" = "x1" && \ +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -2615,7 +2615,7 @@ + AC_DEFINE([SANDBOX_DARWIN], [1], [Sandbox using Darwin sandbox_init(3)]) + elif test "x$sandbox_arg" = "xseccomp_filter" || \ + ( test -z "$sandbox_arg" && \ +- test "x$have_seccomp_filter" == "x1" && \ ++ test "x$have_seccomp_filter" = "x1" && \ + test "x$ac_cv_header_linux_audit_h" = "xyes" && \ + test "x$have_seccomp_audit_arch" = "x1" && \ + test "x$have_linux_no_new_privs" = "x1" && \ -- cgit v1.2.3