summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-02-04 09:47:29 +0000
committerColin Watson <cjwatson@debian.org>2008-02-04 09:47:29 +0000
commita2418b21add72037f3f16163c13c8cfe246a1292 (patch)
tree67fc350946307bf161e0a7c94bf07a45f1f62ccb
parente0d15aa5dbdb9dc8f57f3550f4e9cde446fefc8c (diff)
* Fix configure detection of getseuserbyname and
get_default_context_with_level (LP: #188136).
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac9
-rw-r--r--debian/changelog8
3 files changed, 16 insertions, 3 deletions
diff --git a/configure b/configure
index 98a7bb261..3e578307d 100755
--- a/configure
+++ b/configure
@@ -25708,6 +25708,8 @@ fi
25708echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } 25708echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; }
25709if test $ac_cv_lib_selinux_setexeccon = yes; then 25709if test $ac_cv_lib_selinux_setexeccon = yes; then
25710 LIBSELINUX="-lselinux" 25710 LIBSELINUX="-lselinux"
25711 LIBS="$LIBS -lselinux"
25712
25711else 25713else
25712 { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 25714 { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5
25713echo "$as_me: error: SELinux support requires libselinux library" >&2;} 25715echo "$as_me: error: SELinux support requires libselinux library" >&2;}
diff --git a/configure.ac b/configure.ac
index 64ef3c67b..487a9d6ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3239,9 +3239,12 @@ AC_ARG_WITH(selinux,
3239 AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.]) 3239 AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.])
3240 SELINUX_MSG="yes" 3240 SELINUX_MSG="yes"
3241 AC_CHECK_HEADER([selinux/selinux.h], , 3241 AC_CHECK_HEADER([selinux/selinux.h], ,
3242 AC_MSG_ERROR(SELinux support requires selinux.h header)) 3242 AC_MSG_ERROR(SELinux support requires selinux.h header))
3243 AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ], 3243 AC_CHECK_LIB(selinux, setexeccon,
3244 AC_MSG_ERROR(SELinux support requires libselinux library)) 3244 [ LIBSELINUX="-lselinux"
3245 LIBS="$LIBS -lselinux"
3246 ],
3247 AC_MSG_ERROR(SELinux support requires libselinux library))
3245 SSHDLIBS="$SSHDLIBS $LIBSELINUX" 3248 SSHDLIBS="$SSHDLIBS $LIBSELINUX"
3246 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) 3249 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level)
3247 LIBS="$save_LIBS" 3250 LIBS="$save_LIBS"
diff --git a/debian/changelog b/debian/changelog
index 5ad60f16d..765aa9584 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1openssh (1:4.7p1-4) UNRELEASED; urgency=low
2
3 [ Caleb Case ]
4 * Fix configure detection of getseuserbyname and
5 get_default_context_with_level (LP: #188136).
6
7 -- Colin Watson <cjwatson@debian.org> Mon, 04 Feb 2008 09:47:31 +0000
8
1openssh (1:4.7p1-3) unstable; urgency=low 9openssh (1:4.7p1-3) unstable; urgency=low
2 10
3 * Improve grammar of ssh-askpass-gnome description. 11 * Improve grammar of ssh-askpass-gnome description.