diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/configure-bashism.patch | 31 | ||||
-rw-r--r-- | debian/patches/series | 1 |
5 files changed, 35 insertions, 2 deletions
@@ -11918,7 +11918,7 @@ $as_echo "#define SANDBOX_DARWIN 1" >>confdefs.h | |||
11918 | 11918 | ||
11919 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | 11919 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ |
11920 | ( test -z "$sandbox_arg" && \ | 11920 | ( test -z "$sandbox_arg" && \ |
11921 | test "x$have_seccomp_filter" == "x1" && \ | 11921 | test "x$have_seccomp_filter" = "x1" && \ |
11922 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | 11922 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ |
11923 | test "x$have_seccomp_audit_arch" = "x1" && \ | 11923 | test "x$have_seccomp_audit_arch" = "x1" && \ |
11924 | test "x$have_linux_no_new_privs" = "x1" && \ | 11924 | test "x$have_linux_no_new_privs" = "x1" && \ |
diff --git a/configure.ac b/configure.ac index 0b2dfde96..14d1d196b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2615,7 +2615,7 @@ elif test "x$sandbox_arg" = "xdarwin" || \ | |||
2615 | AC_DEFINE([SANDBOX_DARWIN], [1], [Sandbox using Darwin sandbox_init(3)]) | 2615 | AC_DEFINE([SANDBOX_DARWIN], [1], [Sandbox using Darwin sandbox_init(3)]) |
2616 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | 2616 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ |
2617 | ( test -z "$sandbox_arg" && \ | 2617 | ( test -z "$sandbox_arg" && \ |
2618 | test "x$have_seccomp_filter" == "x1" && \ | 2618 | test "x$have_seccomp_filter" = "x1" && \ |
2619 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | 2619 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ |
2620 | test "x$have_seccomp_audit_arch" = "x1" && \ | 2620 | test "x$have_seccomp_audit_arch" = "x1" && \ |
2621 | test "x$have_linux_no_new_privs" = "x1" && \ | 2621 | test "x$have_linux_no_new_privs" = "x1" && \ |
diff --git a/debian/changelog b/debian/changelog index 5d72cfc34..c5022e85a 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -13,6 +13,7 @@ openssh (1:6.0p1-1) UNRELEASED; urgency=low | |||
13 | - Add a new privilege separation sandbox implementation for Linux's new | 13 | - Add a new privilege separation sandbox implementation for Linux's new |
14 | seccomp sandbox, automatically enabled on platforms that support it. | 14 | seccomp sandbox, automatically enabled on platforms that support it. |
15 | (Note: privilege separation sandboxing is still experimental.) | 15 | (Note: privilege separation sandboxing is still experimental.) |
16 | * Fix a bashism in configure's seccomp_filter check. | ||
16 | 17 | ||
17 | -- Colin Watson <cjwatson@debian.org> Sat, 21 Apr 2012 10:57:23 +0100 | 18 | -- Colin Watson <cjwatson@debian.org> Sat, 21 Apr 2012 10:57:23 +0100 |
18 | 19 | ||
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 @@ | |||
1 | Description: Fix a bashism in configure | ||
2 | Author: Colin Watson <cjwatson@debian.org> | ||
3 | Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=2010 | ||
4 | Last-Update: 2012-05-18 | ||
5 | |||
6 | Index: b/configure | ||
7 | =================================================================== | ||
8 | --- a/configure | ||
9 | +++ b/configure | ||
10 | @@ -11918,7 +11918,7 @@ | ||
11 | |||
12 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | ||
13 | ( test -z "$sandbox_arg" && \ | ||
14 | - test "x$have_seccomp_filter" == "x1" && \ | ||
15 | + test "x$have_seccomp_filter" = "x1" && \ | ||
16 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | ||
17 | test "x$have_seccomp_audit_arch" = "x1" && \ | ||
18 | test "x$have_linux_no_new_privs" = "x1" && \ | ||
19 | Index: b/configure.ac | ||
20 | =================================================================== | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -2615,7 +2615,7 @@ | ||
24 | AC_DEFINE([SANDBOX_DARWIN], [1], [Sandbox using Darwin sandbox_init(3)]) | ||
25 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | ||
26 | ( test -z "$sandbox_arg" && \ | ||
27 | - test "x$have_seccomp_filter" == "x1" && \ | ||
28 | + test "x$have_seccomp_filter" = "x1" && \ | ||
29 | test "x$ac_cv_header_linux_audit_h" = "xyes" && \ | ||
30 | test "x$have_seccomp_audit_arch" = "x1" && \ | ||
31 | test "x$have_linux_no_new_privs" = "x1" && \ | ||
diff --git a/debian/patches/series b/debian/patches/series index 2c3fdb668..772dadb61 100644 --- a/debian/patches/series +++ b/debian/patches/series | |||
@@ -38,6 +38,7 @@ doc-hash-tab-completion.patch | |||
38 | # Miscellaneous bug fixes | 38 | # Miscellaneous bug fixes |
39 | auth-log-verbosity.patch | 39 | auth-log-verbosity.patch |
40 | cross-pkg-config.patch | 40 | cross-pkg-config.patch |
41 | configure-bashism.patch | ||
41 | 42 | ||
42 | # Debian-specific configuration | 43 | # Debian-specific configuration |
43 | gnome-ssh-askpass2-icon.patch | 44 | gnome-ssh-askpass2-icon.patch |